HappyHour problem!!
#3

Somewhere at the top:
pawn Code:
new RandomPlayer[MAX_PLAYERS],p=0;
OnPlayerConnect:
pawn Code:
RandomPlayer[p]=playerid;
p++;
Where you want to use it:
pawn Code:
new rand = random(sizeof(RandomPlayer));
HappyH(RandomPlayer[rand]);
hm try this... im not sure if this is the best solution but i think it will work...
Reply


Messages In This Thread
HappyHour problem!! - by BlackWolf120 - 04.12.2010, 16:46
Re: HappyHour problem!! - by BlackWolf120 - 05.12.2010, 03:03
Re: HappyHour problem!! - by XePloiT - 05.12.2010, 03:37
Re: HappyHour problem!! - by BlackWolf120 - 15.12.2010, 17:03
Re: HappyHour problem!! - by Marcel - 15.12.2010, 17:11
Re: HappyHour problem!! - by BlackWolf120 - 15.12.2010, 17:17

Forum Jump:


Users browsing this thread: 1 Guest(s)