- 0
Problema skinrange
-
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): cum pot sa fac sa dau un skin la toti jucatori si cand ii dau kill sa dispara skinul
Ero(area / rile) / warning-(ul / urile): nu are erori
Liniile de cod / sursa / script-ul(obligatoriu):
CMD:skinrange(playerid,params[])
{
if(playerVariables[playerid][pAdminLevel] >= 1)
{
new skinnumber, skinid, string[128];
if(sscanf(params, "d", skinid)) SendClientMessage(playerid, -1, "{ffff00}=USAGE=: {ffffff}/skin <skinid> <Distanta>");
else if(skinid < 0 || skinid > 299) SendClientMessage(playerid, 0xFF000000, "{ff0000}=ERROR=: {ffffff}Choose a skin between 0 to 299!");
else
{
SetPlayerSkin(playerid, skinid);
skinnumber = GetPlayerSkin(playerid);
format(string, sizeof(string), "Event: {ddedf4}Admin %s a schimbat skinul tuturor din raza de %dm !", skinnumber);
SendClientMessage(playerid, -1, string);
}
}
return 1;
}
Imagini / Video (optional):nu am
Ati incercat sa rezolvati singur?:da si nu am reusit
FiveGame Lands
Pawno Developer, Mapping , Scripter
Since 2016
6 answers to this question
Recommended Posts