05.06.2013, 17:46
How do I solve this problem:
Errors:
Код:
public OnPlayerStateChange(playerid, newstate, oldstate) { #if USE_ANTI_VEHICLE == true if(IsPlayerInAnyVehicle(playerid) || newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER) pVehicles[playerid]++; if(pVehicles[playerid] >= MAX_ENTER_VEHICLE) format(string, sizeof(string), "* %s has been kicked * Reason : Vehicle Hack Detected !."); SendClientMessageToAll(RED, string); Kick(playerid); #endif new string[256];
Код:
error 017: undefined symbol "pVehicles"