18.12.2010, 07:54
hi im trying to learn Zcmd and sscanf this is the command i made.
and this is my error
please help.
Код:
} CMD:freeze(playerid, params[]) { new targetid, toggle; if(PlayerInfo[playerid][pAdminLevel] >= 2) { if( sscanf(params, "ud",targetid, toggle)) return SendClientMessage(playerid,WHITE, "[SERVER]:{E8E107}Usage: /freeze {1AE807} [playerid] [1-2] "); TogglePlayerControllable(targetid, toggle); return 1; }
Код:
C:\Users\Ryan\Desktop\World Wide Roleplay 0.3c\gamemodes\WWRP.pwn(449) : error 030: compound statement not closed at the end of file (started at line 441) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.