Posts: 87
Threads: 30
Joined: Mar 2011
Reputation:
0
I need one function which ejects player from vehicle if he didn't have needed skin...
P.S when player enter vehicle i need text when he got ejected. ex: You can't drive this..
Posts: 87
Threads: 30
Joined: Mar 2011
Reputation:
0
Damn guys thats not working, i was not ejected from car if i didn't got skin 27
Posts: 458
Threads: 6
Joined: Oct 2010
Reputation:
0
For any vehicle or just for a specific vehicle?
Posts: 137
Threads: 1
Joined: Sep 2010
Reputation:
0
Did you replace the 'vid' in if(newstate == PLAYER_STATE_DRIVER && GetPlayerVehicleID(playerid) == vid) with that vehicle ID?
Posts: 458
Threads: 6
Joined: Oct 2010
Reputation:
0
whoops, sorry, i pressed the wrong button on my keyboard xd it must be &&, i'm sorry. The rest of the script should work.