Posts: 288
Threads: 36
Joined: May 2010
Reputation:
0
Right now I'm working on a script where if a user crashes into this building with an andromada the building will go down. I used CreateDynamicCube to make an area for it but how do I make it so that it will check the players vehicle ID after he dies?
Posts: 925
Threads: 36
Joined: Dec 2009
Reputation:
0
Make a timer that will check : Player Vehicle ID, If is player in that specific zone and to check player health ^^. Run it every secounds or so.
Posts: 237
Threads: 27
Joined: Dec 2010
Reputation:
0
it's impossible to check it AFTER player dies, because player gets removed from vehicle..
Posts: 288
Threads: 36
Joined: May 2010
Reputation:
0
I'm really not sure how. Could someone give an example?
Posts: 2,203
Threads: 154
Joined: Oct 2009
Reputation:
0
Create that building
Create gang zone a bit bigger than a building (about 5 meters bigger)
If player enter that gang zone get player vehicle id
Posts: 288
Threads: 36
Joined: May 2010
Reputation:
0
I could use that but as *IsBack pointed out, you can't get a player's vehicle id after he dies because it removes him from the vehicle.