15.07.2014, 22:43
I got this error:
this is the cmd
Quote:
C:\Users\selma\Desktop\Samp\gamemodes\Lerenscripte n.pwn(526) : error 001: expected token: ")", but found "{" C:\Users\selma\Desktop\Samp\gamemodes\Lerenscripte n.pwn(536) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |
Quote:
CMD: skin(playerid, params[]) { new string[128], skinid; if (IsPlayerAdmin(playerid)) { if(sscanf(params, "d", skinid) { SendClientMessage(playerid, -1, "SYNTAX: /skin [ID]"); } else { SetPlayerSkin(playerid, skinid); format(string, sizeof(string), "You have set your skin to %d", skinid); SendClientMessage(playerid, -1, string); } } return 1; } |