26.08.2011, 10:15
Hey guys.. im trying to make a minigame..
i have started with this
i would call a public function with the name pirate()
now i want to script other people joining this and minigame starting within the 20 seconds and once that happens what i want to do inside is.. randomly assign players to teams who join this and also at the same time teams should be balance.. and one team spawns at one place.. and the other at other place..
anyone can explain how to ?
i have started with this
Код:
if (strcmp("/mini", cmdtext, true, 10)==0) { SendClientMessageToAll(0xFFE600FF,"Minigame is Starting in 20 seconds /enroll to enroll for it"); SetTimer("mini",20000,0); return 1; } return 0;
now i want to script other people joining this and minigame starting within the 20 seconds and once that happens what i want to do inside is.. randomly assign players to teams who join this and also at the same time teams should be balance.. and one team spawns at one place.. and the other at other place..
anyone can explain how to ?