Posts: 98
Threads: 27
Joined: Jan 2017
Reputation:
0
Hello, I've some parkour maps, but I would like to put the function that players, only in these maps, can't spawn any vehicles.
How can I do this?
Posts: 851
Threads: 33
Joined: Jul 2016
Reputation:
0
Check if the player is in range of this areas when he /createveh,
Posts: 242
Threads: 70
Joined: Aug 2015
Reputation:
0
Just create a global variable that detects if the player is or not in these types of maps like IsPlayerInParkour1[playerid] = 1; then check on your car command the variable if he's in or out the map.
Posts: 1,176
Threads: 2
Joined: Nov 2012
Reputation:
0
you can made this in many ways, for example JasonRiggs's or wallen's ways, also u can put the script which will check the player's position at OnPlayerUpdate, than it respawns or destroys vehicle.