19.10.2011, 22:36
How would i go about loading Player Position i got it to save but having the most hardest time getting it load it..
Dont work ...
pawn Код:
if(PlayerInfo[playerid][pLocX] == 0.0 && PlayerInfo[playerid][pLocY] == 0.0)
{
SetPlayerPos(playerid, PlayerInfo[playerid][pLocX], PlayerInfo[playerid][pLocY], PlayerInfo[playerid][pLocZ]); // Loads Spawning but NOT working
SetPlayerVirtualWorld(playerid, PlayerInfo[playerid][pLocW]);
SetPlayerInterior(playerid, PlayerInfo[playerid][pLocI]);
TogglePlayerSpectating(playerid, false);
}
else
{
SetPlayerPos(playerid, -299.8857, 1015.5681, 19.5938); // For if Player Cords are 0 Spawns them on Ground
TogglePlayerSpectating(playerid, false);
}