GetRandomInfo
#1

hi, I need some help making a little script...

Ok so i am making something that team bandits get information about a random driver, but I do not know how to do this... the only thing I know is that i will need a loop...

ok so what I've got so far:
pawn Код:
if(gTeam[playerid] == TEAM_BANDITS)
    {
        //loop, that finds a random player here
        TextDrawSetString(Opdracht, "I can do this and the string for this myself...");
    }
so basicly all I need is a loop to loop someone random
also I need it that there will be a new player in the textdrawstring every 10 seconds...

So final result should be: A bandit will always see info (I make this info myself) about a random player who is in gTeam[playerid] == TEAM_DRIVERS

and every 10 seconds there's a new player picked out...
Reply


Messages In This Thread
GetRandomInfo - by knackworst - 16.09.2011, 19:55
Re: GetRandomInfo - by =WoR=Varth - 16.09.2011, 20:01
Re: GetRandomInfo - by knackworst - 16.09.2011, 20:08
Re: GetRandomInfo - by =WoR=Varth - 16.09.2011, 20:11
Re: GetRandomInfo - by knackworst - 16.09.2011, 20:14
Re: GetRandomInfo - by =WoR=Varth - 16.09.2011, 20:16
Re: GetRandomInfo - by knackworst - 16.09.2011, 20:23

Forum Jump:


Users browsing this thread: 1 Guest(s)