Basic RP spawns
#1

Hey guys.
I would like it that whenever you join an RP server you spawn at a location (not your last one) but I want to avoid the SPAWN menu (you know, the one where you click the skins and press spawn). So basically, whenever you click log in you spawn with your skin in a location (I'll have my own coordinates).
Reply
#2

pawn Код:
public OnPlayerConnect(playerid)
{
    TogglePlayerSpectating(playerid,true);
//And your other functions
}

//After player login do TogglePlayerSpectating(playerid,false);

public OnPlayerRequestClass(playerid,classid)
{
    SetSpawnInfo(playerid,...and other things (your coordinates));
    SpawnPlayer(playerid);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)