SA-MP Forums Archive
spawn - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: spawn (/showthread.php?tid=491238)



spawn - Snoopythekill - 29.01.2014

as I can do that the administrators make spawn in a position different ?


Re: spawn - TheSnaKe - 29.01.2014

You mean Random Spawns?


Respuesta: spawn - Snoopythekill - 29.01.2014

no, I want what to the administrators make spawn in бrea different "in vip zone"

Thanks


Respuesta: spawn - Snoopythekill - 29.01.2014

Tema solucionado con la ayuda de samp wiki.


Re: spawn - Stinged - 30.01.2014

pawn Код:
public OnPlayerSpawn(playerid)
{
    if(IsPlayerAdmin(playerid)) {
        SetPlayerPos(playerid, X, Y, Z); // Change the X Y Z with your VIP area postion
    }
    return 1;
}



Re: spawn - Excelize - 30.01.2014

Or
pawn Код:
CMD:theadminspawnswagyolo(playerid, params[])
{
     if(isPlayerAdmin(playerid))
     {
          SetPlayerPos(playerid, X, Y, Z);
     }

}
Try mess around with IsPlayerAdmin.