04.03.2014, 02:27
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.
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.
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++;
If you need more assistance, let me know.