Player Count-Pos for each player-countdown in textdraw-last man standing.. :p
#9

Quote:
Originally Posted by Roberto80
Посмотреть сообщение
Oh,i know how to spawn players rondomly,but if its 20 spawns,so random[20] and player will have a big chance to spawn on another one,understand?
And for timer,i want a countdown,so players can see time,like:"time left:10 seconds"
Well you answered your own question, use PlayerCount variable for this.

Assuming you have 20 players max in an event, that's 20 spawns.

Starts from 0.
Player 1 /event's
That's 1.
SetPlayerPos to the first field.
pawn Код:
SetPlayerPos(playerid,Spawns[PlayerCount][0],etc...);
First player types /event will always spawn in this position, second player will spawn at the second position and so on...
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)