Quote:
Originally Posted by Sime30
I think it will always spawn you with a skin that was in AddPlayerClass (choosing with arrows). You can let's say send a message to a player after they type a number of a skin ID : "You choose skin ID %d, would you like to use it? Use /useskin to take it!
pawn Код:
//put this for the message after typing the number new string[128]; format(string,sizeof(string),"You choose skin ID %d, would you like to use it? Use /useskin to take it!",skinID); SendClientMessge(playerid, -1,string); //
cmd:useskin(playerid, params[]) { if(PlayerUnderRequestClass[playerid] == 1) { SetPlayerSkin(playerid, skinID); PlayerUnderRequestClass[playerid] = 0; SpawnPlayer(playerid); } return 1; }
|
I have seen that in other server. Is there any idea instead of this? also, Anyone else?