Random Spawner
#1

Hey Guyz,
i need a script that when you choose a character that the server chooses a spawn location randomly in Los Santos.
Does anyone know how to make this script.
i will add the coцrdinates myself.

For more information what i want just say it and i give it.

Srry if bad English but im Dutch
THNX for interest and maybe for helping
Reply
#2

PHP:


public OnPlayerSpawn(playerid)
switch(random(4))
{
case 0:
{
SetPlayerPos(playerid,0,0,0);
}
case 1:
{
SetPlayerPos(playerid,0,0,0);
}
case 2:
{
SetPlayerPos(playerid,0,0,0);
}
case 3:
{
SetPlayerPos(playerid,0,0,0);
}
}

Good luck
Reply
#3

@edouardu44
thnx it works
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)