19.03.2016, 06:26
PHP код:
stock DetermineSpawn(playerid)
{
SetPlayerPos(playerid, 1728.7363,-1911.9559,13.5632);
SetPlayerInterior(playerid, 0);
SetPlayerFacingAngle(playerid, 90);
SetPlayerVirtualWorld(playerid, 0);
}
or try this
PHP код:
stock DetermineSpawn(playerid)
{
if(PlayerInfo[playerid][pSpawnPos] == 1)
{
SetPlayerPos(playerid, 1728.7363,-1911.9559,13.5632);
SetPlayerInterior(playerid, 0);
SetPlayerFacingAngle(playerid, 90);
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo[playerid][pSpawnPos] = 0)
}
}

