Player Spawning Help
#3

First of all, you must save the player's position when he quits.Do it where you create your player's file function and add like this:
pawn Код:
Float:pPos_x,
    Float:pPos_y,
    Float:pPos_z,
    Float:pPos_r,
Then when he connects use
pawn Код:
SetPlayerPos(playerid,PlayerInfo[playerid][pPos_x],PlayerInfo[playerid][pPos_y],PlayerInfo[playerid][pPos_z]);
Reply


Messages In This Thread
Player Spawning Help - by yancarlos4500 - 18.06.2013, 16:42
Re: Player Spawning Help - by Goldilox - 18.06.2013, 16:52
Re: Player Spawning Help - by Necip - 18.06.2013, 17:04
Re: Player Spawning Help - by yancarlos4500 - 18.06.2013, 17:39
Re: Player Spawning Help - by Necip - 18.06.2013, 17:55
Re: Player Spawning Help - by yancarlos4500 - 18.06.2013, 20:46
Re: Player Spawning Help - by yancarlos4500 - 19.06.2013, 14:25

Forum Jump:


Users browsing this thread: 3 Guest(s)