arris Posted June 24, 2009 Share Posted June 24, 2009 Can some one help me scripting a spawn point of the player so if they have a house they spawn there or if they don't they spawn at the pirate ship. Also i did look in http://development.mtasa.com/ for that player respawn but it wasn't the one i wanted. Link to comment
Thehookerkiller01 Posted June 27, 2009 Share Posted June 27, 2009 You should have to set that in the house system. But I think there's already a spawn file for the house. Link to comment
arris Posted June 27, 2009 Author Share Posted June 27, 2009 When that player joins and he has a house he spawns there but when he dies he spawns at the pirateboat and that thing i want to do is if the player has a house they spawn there even if they die. I crated my own respawn that after you die it spawns you at the pirateboat. Link to comment
50p Posted June 27, 2009 Share Posted June 27, 2009 If you're using some house system it should deal with such things like spawning at the house... If it doesn't than it's not a good house "system" and you'll have to modify it to make it possible to spawn at the house... How would you know the position to spawn? If you know the house coords than these coords should be saved in a database so that when player comes back he spawns at that location. Link to comment
arris Posted June 27, 2009 Author Share Posted June 27, 2009 The house system i have it spawns you at your house if you have one, on player connects. But the problem is when he dies he doesn't spawn at the house he spawns at the pirateboat. Link to comment
Thehookerkiller01 Posted June 27, 2009 Share Posted June 27, 2009 onPlayerWasted or onClientPlayerWasted 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