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