Quote:
Originally Posted by 7Ahmad7
Guys,ther eis some errors on that code,My fixed code :
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; }
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)
|
Download sscanf include and add this line in top of your gamemode.
sscanf link:
https://dl.dropboxusercontent.com/u/...canf-2.8.2.zip
Don't also forget to put it in plugins.