29.03.2009, 19:15
Код:
if(strcmp(cmd, "/lsv", true) == 0) { if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pMember] == 2 || [playerid][pLeader] == 2) { GivePlayerWeapon(playerid, 41, 999); GivePlayerWeapon(playerid, 29, 999); GivePlayerWeapon(playerid, 25, 999); GivePlayerWeapon(playerid, 24, 999); GivePlayerWeapon(playerid, 4, 1); return 1; } else { SendClientMessage(playerid, COLOR_GRAD1, " Sa pole gдngis: Los Santos Vagos !"); } } return 1; }
Код:
C:\Documents and Settings\Owner\Desktop\sa-mp server\gamemodes\gf.pwn(8266) : error 029: invalid expression, assumed zero C:\Documents and Settings\Owner\Desktop\sa-mp server\gamemodes\gf.pwn(8266) : warning 215: expression has no effect C:\Documents and Settings\Owner\Desktop\sa-mp server\gamemodes\gf.pwn(8266) : error 001: expected token: ";", but found "]" C:\Documents and Settings\Owner\Desktop\sa-mp server\gamemodes\gf.pwn(8266) : error 029: invalid expression, assumed zero C:\Documents and Settings\Owner\Desktop\sa-mp server\gamemodes\gf.pwn(8266) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
if (PlayerInfo[playerid][pMember] == 2 || [playerid][pLeader] == 2)