Spawning back at faction HQ
#1

Hello guys so im intrested in making it so when a faction member logs out then in again spawns back at the LSPD HQ, Fac1
Reply
#2

pawn Код:
public OnPlayerSpawn(playerid)
{
    if(PlayerInfo[playerid][Faction] == 1)
    {
        SetPlayerPos(playerid, x, y, z);
    }
    return 1;
}
Replace PlayerInfo[playerid][Faction] with whatever your script uses for player faction variables and repeat for each faction.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)