02.07.2017, 12:56
Hi there ! I want to know how can I make a restriction for players to enter into a faction/job vehicle.
For the moment, i am using ONPLAYERSTATECHANGE and REMOVEPLAYERFROMVEHICLE to check if he is in that factions or job and then he is ejected from that vehicle. But, I want to make something, when he press F or ENTER to send directly that message and deny to enter in that vehicle. I hope that you understood. Sorry for my english.
For the moment, i am using ONPLAYERSTATECHANGE and REMOVEPLAYERFROMVEHICLE to check if he is in that factions or job and then he is ejected from that vehicle. But, I want to make something, when he press F or ENTER to send directly that message and deny to enter in that vehicle. I hope that you understood. Sorry for my english.