- 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): ma cinui de 30 min sa fac sa mearga sa setez la evente skin pe o distanta el se seteaza dar da la toti in rest vreau sa il setez sa pot da pe 2 metri nu la toti
Ero(area / rile) / warning-(ul / urile):nu sunt
Liniile de cod / sursa / script-ul(obligatoriu):
CMD:askin1(playerid, params[])
{
new Float:skinid,range;
if(sscanf(params, "d", 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(skinid, 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
2 answers to this question
Recommended Posts