Idiot question, Detecting if the player have a saved position?
#3

It fixed it sorta, Now, the Position, and Skin doesnt save when you log off.

Код:
public SkipSpawn(playerid)
{
if(PlayerInfo[playerid][pPosX] == 0 && PlayerInfo[playerid][pPosY] == 0 && PlayerInfo[playerid][pPosZ] == 0)
{
SetSpawnInfo(playerid, NO_TEAM, 0, -240.4968, 2599.8032, 62.7031, 15.5884, 0,0,7 0,0, 0,0);
SpawnPlayer(playerid);
}
else
{
SetSpawnInfo(playerid,NO_TEAM, PlayerInfo[playerid][pSkin], PlayerInfo[playerid][pPosX],PlayerInfo[playerid][pPosY],PlayerInfo[playerid][pPosZ],PlayerInfo[playerid][pRotation],22,55,34,55,32,5555);
SpawnPlayer(playerid);
}
return 1;
}
Reply


Messages In This Thread
Idiot question, Detecting if the player have a saved position? - by -Rebel Son- - 10.02.2011, 16:44
Re: Idiot question, Detecting if the player have a saved position? - by _Tommy - 10.02.2011, 16:57
Re: Idiot question, Detecting if the player have a saved position? - by -Rebel Son- - 10.02.2011, 20:38

Forum Jump:


Users browsing this thread: 1 Guest(s)