13.02.2011, 22:29
The problem is that your code doesn't make a lot of sense! The "skin" variable should be an integer in the first place, then you're telling sscanf to look for an integer and store it in a string!
So this is an example with the problems I outlined fixed:
So this is an example with the problems I outlined fixed:
pawn Код:
COMMAND:skin(playerid , params[ ] )
{
new skin;
if(sscanf(params,"d", skin)) return SendClientMessage(playerid,COLOR_WHITE,"Folosire: /skin <id>");
SetPlayerSkin(playerid,skin);
return 1;
}

