#1

How do I solve this problem:
Код:
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];
Errors:
Код:
error 017: undefined symbol "pVehicles"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)