Player is spawned not at HQ
#3

EXAMPLE:
Code:
if(PlayerInfo[playerid][pGroup])
{
	SpawnPlayerInHQ(playerid);
}

SpawnPlayerInHQ(playerid)
{
	if(PlayerInfo[playerid][pGroup] == 1)
	{
		SetPlayerPos(playerid, Float:x, Float:y, Float:z);
		SetPlayerInterior(playerid, interiorid);
		SetPlayerVirtualWorld(playerid, worldid);
	}
	if(PlayerInfo[playerid][pGroup] == 2)
	{
		SetPlayerPos(playerid, Float:x, Float:y, Float:z);
		SetPlayerInterior(playerid, interiorid);
		SetPlayerVirtualWorld(playerid, worldid);
	}
	//...
	return 1;
}
Reply


Messages In This Thread
Player is spawned not at HQ - by Longover - 23.01.2019, 16:59
Re: Player is spawned not at HQ - by Longover - 23.01.2019, 17:13
Re: Player is spawned not at HQ - by ShadowMortar - 23.01.2019, 19:24

Forum Jump:


Users browsing this thread: 1 Guest(s)