Spawning
#3

If you want like this then it is here.

pawn Код:
public OnPlayerSpawn(playerid)
{
     SetPlayerPos(playerid, x, y ,z);//Instead of x y z post your coordinates.
     return 1;
}
And if you want the player spawns at random places.

Then it is also here.

On Top:-
pawn Код:
new Float:Spawns[3][4] =
{
    {//Your coordinates here},
    {//Your coordinates here},
    {//Your coordinates here}
};
pawn Код:
public OnPlayerSpawn(playerid)
{
     SetPlayerPos(playerid, Spawns[rand][0], Spawns[rand][1], Spawns[rand][2], Spawns[rand][3]);
     return 1;
}
Thanks
Reply


Messages In This Thread
Spawning - by IvancheBG - 21.04.2011, 13:26
Re: Spawning - by elite - 21.04.2011, 13:28
Re: Spawning - by Davz*|*Criss - 21.04.2011, 13:36
Re: Spawning - by Cjgogo - 21.04.2011, 13:55
Re: Spawning - by Markx - 21.04.2011, 14:06

Forum Jump:


Users browsing this thread: 1 Guest(s)