23.04.2015, 12:15
The error code
That line
The red colored code represents the line of the error. This code is placed on 'OnPlayerKeyStateChange' +1 Rep!
PHP код:
C:\Users\Windows7\Desktop\Microsoft Corporation (c)\replace\Irish Verse\gamemodes\IVRP.pwn(59742) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Код:
if(IsKeyJustDown(KEY_YES, newkeys, oldkeys)) { if(GetPVarInt(playerid, "PBM") > 0) { SendClientMessage(playerid, COLOR_WHITE, "You can't do this while being in a arena!"); return 1; } if(PlayerCuffed[playerid] >= 1) { SendClientMessage(playerid, COLOR_WHITE, "You can't do this right now."); return 1; } if(PlayerInfo[playerid][pJailed] > 0) { SendClientMessage(playerid, COLOR_WHITE, "You can't do this right now."); return 1; } new string[128]; for(new i = 0; i < sizeof(DDoorsInfo); i++) { if(IsPlayerInRangeOfPoint(playerid,3.0,DDoorsInfo[i][ddExteriorX], DDoorsInfo[i][ddExteriorY], DDoorsInfo[i][ddExteriorZ]) && PlayerInfo[playerid][pVW] == DDoorsInfo[i][ddExteriorVW]) { if(DDoorsInfo[i][ddVIP] > 0 && PlayerInfo[playerid][pDonator] < DDoorsInfo[i][ddVIP]) { SendClientMessage(playerid, COLOR_GRAD2, "You can't enter, you're not a high enough Donator level."); else nasavip[playerid] = 1; return 1; }