25.05.2015, 12:08
Guys,ther eis some errors on that code,My fixed code :
And i fixed 4 errors,still got 2:
D:\Programmes\Engabic Blood Server\gamemodes\EABS.pwn(393) : error 017: undefined symbol "sscanf"
D:\Programmes\Engabic Blood Server\gamemodes\EABS.pwn(393) : error 035: argument type mismatch (argument 2)
pawn Код:
CMD:skin(playerid,params[])
{
new skinid;
if(sscanf(params,"i",skinid)) SendClientMessage(playerid,"Usage:/setskin [skinid]");
else if(skinid < 0 || skinid > 311) return SendClientMessage(playerid, -1, "Invalid skin!");
else SetPlayerSkin(playerid, skinid);
return 1;
}
D:\Programmes\Engabic Blood Server\gamemodes\EABS.pwn(393) : error 017: undefined symbol "sscanf"
D:\Programmes\Engabic Blood Server\gamemodes\EABS.pwn(393) : error 035: argument type mismatch (argument 2)