SpawnCode - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SpawnCode (
/showthread.php?tid=82864)
SpawnCode -
Memoryz - 21.06.2009
Hey,
Basically after the user chooses his skin, he/she presses Shift and they spawn somewhere, I want to change where the person spawns after they choose there skin.
And if possible they spawn at a random coordination from a list?
Re: SpawnCode -
woot - 21.06.2009
pawn Код:
public OnPlayerSpawn -> SetPlayerPos
Re: SpawnCode -
Memoryz - 21.06.2009
How can I make it so that the player spawns at a random place out of 3 places?
Re: SpawnCode -
yezizhu - 22.06.2009
pawn Код:
public OnPlayerSpawn(playerid){
switch(random(3)){
case 0:{
SetPlayerPos
}
case 1:{
SetPlayerPos
}
case 2:{
SetPlayerPos
}
}
return true;
}