21.06.2012, 14:59
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
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);
}