SpawnCode
#1

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?

Reply
#2

pawn Код:
public OnPlayerSpawn -> SetPlayerPos
Reply
#3

How can I make it so that the player spawns at a random place out of 3 places?
Reply
#4

pawn Код:
public OnPlayerSpawn(playerid){
  switch(random(3)){
    case 0:{
      SetPlayerPos
    }
    case 1:{
      SetPlayerPos
    }
    case 2:{
      SetPlayerPos
    }
  }
  return true;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)