- 0
Problema /askin
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
InceMan
Problema intalnita (descriere): nu merge sa setez skinul la raza de 2 metri se seteaza la tot serverul am incercat sa-l fac dar nu reusesc
Ero(area / rile) / warning-(ul / urile):nu sunt
Liniile de cod / sursa / script-ul(obligatoriu):
CMD:askin(playerid, params[])
{
new Float:skinid,range;
new skin;
if(sscanf(params, "df", skin, range))
if(sscanf(params, "f", skinid )) return SendClientMessage(playerid, -1, "Syntax: /askin <skinid> <Distanta 5.0 > ");
if(playerVariables[playerid][pAdminLevel] >= 2)
{
if(skinid < 0 || skinid > 311)
return SendClientMessage(playerid, 0xFF000000, "{ff0000}=ERROR=: {ffffff}Choose a skin between 0 to 311!");
new Float: Pos[3];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
format(szMessage, sizeof(szMessage), "{00CC00}Admin %s A schimbat skinul tuturor din raza de %d.", playerVariables[playerid][pNormalName]);
foreach(Player, i)
{
if(ProxDetectorS(range, playerid, i))
{
SetPlayerSkin(i, skinid);
GetPlayerSkin(i);
SendClientMessage(i, -1, szMessage);
}
}
}
return 1;
}
Imagini / Video (optional): nu am am-i facut
Ati incercat sa rezolvati singur?: da
FiveGame Lands
Pawno Developer, Mapping , Scripter
Since 2016
5 answers to this question
Recommended Posts