13.02.2011, 22:20
Hey , today i've made a new command ussing zcmd and sscanf
The command work but when i go in game and type ex : /skin 29 it doesn't change my skin to that id , it change to id 0 whatever id i put and i can't figure out what's the problem ....
Код:
COMMAND:skin(playerid , params[ ] )
{
new skin[128];
if(sscanf(params,"d", skin)) return SendClientMessage(playerid,COLOR_WHITE,"Folosire: /skin <id>");
SetPlayerSkin(playerid,strval(skin));
return 1;
}

