How to make, wait for other player to join ?
#4

Quote:
Originally Posted by rangerxxll
Посмотреть сообщение
Not too sure what you're asking.

You're trying to make it so you need more than 1 player to begin a race? That's quite easy. Simply create a variable. And once the variable turns to 2 begin the race.

pawn Код:
new pcount; //Just raise this variable when someone joins the race lobby. To raise it simply do pcount++;
Once the pcount hits 2, begin the race. You can check if it's 2 or not with timers. https://sampwiki.blast.hk/wiki/SetTimer

If you need more assistance, let me know.
yo, u helped me so much, as i m new to scripting
Reply


Messages In This Thread
How to make, wait for other player to join ? - by Dipto - 04.03.2014, 01:21
Re: How to make, wait for other player to join ? - by rangerxxll - 04.03.2014, 02:27
Re: How to make, wait for other player to join ? - by Nurgle4 - 04.03.2014, 04:31
Re: How to make, wait for other player to join ? - by Dipto - 04.03.2014, 05:05
Re: How to make, wait for other player to join ? - by rangerxxll - 04.03.2014, 05:08

Forum Jump:


Users browsing this thread: 2 Guest(s)