Problem: Saving Player Position
#2

well when they spawn check if x=0.0,y=0.0,z=0.0

if they do then set their position to your cords 2229.0200,-1159.7896,25.7981,90.0000
if their not = 0.0 then use the x,y,z

something like

pawn Код:
x = dini_Float(file, "posX");
    y = dini_Float(file, "posY");
    z = dini_Float(file, "posZ");
    if (x==0.0 && y==0.0 && x==0.0)
    {
        SetPlayerPos(playerid, 2229.0200,-1159.7896,25.7981,90.0000);
    }
    else
    {
        SetPlayerPos(playerid, x, y, z);
    }
Reply


Messages In This Thread
Problem: Saving Player Position - by 7daan71 - 21.06.2012, 14:50
Re: Problem: Saving Player Position - by Jonny5 - 21.06.2012, 14:59
Re: Problem: Saving Player Position - by rachit_rocks - 21.06.2012, 15:04
Re: Problem: Saving Player Position - by Jonny5 - 21.06.2012, 15:06
Re: Problem: Saving Player Position - by rachit_rocks - 21.06.2012, 15:09
Re: Problem: Saving Player Position - by 7daan71 - 21.06.2012, 17:58

Forum Jump:


Users browsing this thread: 1 Guest(s)