Posts: 439
Threads: 55
Joined: Sep 2010
Reputation:
0
I have a problem when players have a house
and they die they were supposed to spawn at their house but they spawn at airport.
Anyone who knows what to change so you spawn at your house after death.
Posts: 439
Threads: 55
Joined: Sep 2010
Reputation:
0
Still have no idea, where to find the spawn thing in GM
is it "OnPlayerDeath" should it be under this.
Posts: 1,028
Threads: 45
Joined: May 2009
Reputation:
0
No. You use it when the player buys the house and (if you have a login system), when he logs in.
Posts: 439
Threads: 55
Joined: Sep 2010
Reputation:
0
- The start spawn for all players is the airport
But when a player buys a house, he should spawn at his home and not the airport again.
just to make sure you understand xD
And it has OnPlayerSpawn
shall i just put SetPlayerPos in it?
Posts: 1,028
Threads: 45
Joined: May 2009
Reputation:
0
Yes i understand. Just use SetSpawnInfo when a player buys a house. Make X, Y, Z the house position and the rest like before.
Posts: 439
Threads: 55
Joined: Sep 2010
Reputation:
0
So i need to edit it every time a player buys a house.