Wisin Posted March 8, 2010 Share Posted March 8, 2010 hi, i want to make when a player die he if he is in los santos he will respawn there at hospital but if he is in other city he will respawn at that city hospital not at los santos hospital, i hope someone understand what i mean Thanks Link to comment
Xierra Posted March 8, 2010 Share Posted March 8, 2010 (edited) Well, according to your opinion, all of these should be made by scripting. First, you make 5 huge colshapes, each around LS, SF, LV, Bone Country and Red Country. Then you make a spawn player inside each col. But I have no idea how to do it. Tips: I know what he means, it's like in the original GTA SA, when you die in LS, you'll respawn in LS hospital, and when you die in SF, you'll respawn in SF hospital, etc. Edit: Ow, there's a way like that? I don't know that's possible! Edited March 8, 2010 by Guest Link to comment
robhol Posted March 8, 2010 Share Posted March 8, 2010 Never mind colshapes. They're pointless. A better suited way is adding a list of coordinates for hospitals and medical centers, looping through them onPlayerWasted and checking which is the nearer. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now