23.05.2014, 19:02
(
Last edited by SKAzini; 31/05/2014 at 06:37 PM.
)
RandomSpawn
Spawns a player anywhere inside the borders of San Andreas (not underwater or on top of buildings).
.zip (MapAndreas included): Dropbox
Pastebin (MapAndreas required): http://pastebin.com/tdr9KsUQ
Example of usage:
Don't forget to add "plugins mapandreas" and "filterscripts RandomSpawn" to server.cfg.
Enjoy.
Spawns a player anywhere inside the borders of San Andreas (not underwater or on top of buildings).
.zip (MapAndreas included): Dropbox
Pastebin (MapAndreas required): http://pastebin.com/tdr9KsUQ
Example of usage:
pawn Code:
public OnPlayerSpawn(playerid)
{
CallRemoteFunction("RandomSpawn", "dd", playerid, 1); //1 if you want to freeze the player until he spawns, 0 if you don't
return 1;
}
Enjoy.