Vehicle problem

heey guys,

I have a class system and I made that only Pilot Class can drive hunters:

PHP код:
if(newstate == PLAYER_STATE_DRIVER && GetVehicleModel(GetPlayerVehicleID(playerid)) == 425 && gPlayerClass[playerid] != PILOT)
SendClientMessage(playeridCOLOR_RED"ERROR: You need the Pilot class to fly a Hunter.");
My Player class variable:
PHP код:
new gPlayerClass[MAX_PLAYERS];// for defining classes 
Why it doesnt work

Messages In This Thread
Vehicle problem - by Fantje - 30.05.2016, 16:54

Forum Jump:

Users browsing this thread: 1 Guest(s)