28.03.2013, 13:16
Quote:
Hello, I wanted to make an rp server, but im only stuck on one thing, making new players spawn at a position, if there is, what can i do to make new players spawn at a specified position.
|
In case of first occation:
1.Create a player variable, for example:
Код:
NewPlayer[MAX_PLAYERS];
Код:
NewPlayer[playerid]=1;
Код:
NewPlayer[playerid]=0;
pawn Код:
if(NewPlayer[playerid] == 1) SetPlayerPos(/*set position for new player*/);
else SetPlayerPos(/*Set position for old players*/);