02.06.2011, 00:21
I'm missing something here, could anyone see what I'm missing?
Maybe it's because I'm tired but I don't see any error in here.
Код:
command(tazer, playerid, params[]) { new string[128]; if(IsPlayerConnected(playerid)) { if(Groups[Player[playerid][Group]][CommandTypes] == 1) { GivePlayerWeaponEx(playerid, 23); format(string, sizeof(string), "* %s unholsters the tazer from their duty-belt.", RemoveUnderScore(playerid)); NearByMessage(playerid, PURPLE, string); Player[playerid][Tazer] = 1; return 1; } else if(Player[playerid][Tazer] == 1) { SetPlayerArmedWeapon(playerid, 0) format(string, sizeof(string), "* %s places the tazer back on their duty-belt.", RemoveUnderScore(playerid)); <-- Line 18741 NearByMessage(playerid, PURPLE, string); } } return 1; }Код:C:\Users\mma\Desktop\SAMP\gamemodes\lspr.pwn(18741) : error 001: expected token: ";", but found "-identifier-" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.