random player
#1

Hi, i have a question.
When the player type the command then server change var to 1(OK), but how to do function which will be random players with this var and after this give them another var ?

Something like:

Someone type command
Server change his var to 1 (ex. player[playerid] = 1)
Now random players with this var on 1 (random)
Server chose 1(one) player with this var and change his to another (ex. player[playerid] = 1 --> player1[playerid] = 1)

I think that's all.

Greetings.
Reply


Messages In This Thread
random player - by micol - 16.02.2013, 13:26
Re: random player - by DaRk_RaiN - 16.02.2013, 13:33
Re: random player - by micol - 16.02.2013, 13:43
Re: random player - by E_Meec - 16.02.2013, 13:45

Forum Jump:


Users browsing this thread: 2 Guest(s)