16.09.2011, 19:55
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:
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...
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...");
}
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...