Gang zone help
#1

Hello there pps
So i made that thing:
Код:
    if(!strcmp(cmdtext, "/GangAttack"))
    {
            
              if(IsPlayerInArea(playerid,1084.6677, -2080.3093, 1210.2527, -1993.6479))//min_x,max_y,max_x,min_y
    {
GangZoneFlashForPlayer(playerid,Grove1,COLOR_RED);

        return 1;
    }
well,that gave me alot of errors...
and i made a timer of 2 minutes,
I want him to start,and when he will over,the gangzone will change his color,acording to the var
so... thanks for help if you know.
B-T-W heres the timer
Код:
 SetTimer("GangAttack",120000,0);
so i want that one to start and when it will end it will change the zone color acording to var (if you want to send me a code example,use var1 var2 and etc or just gang names)
Reply
#2

Use SetTimerEx, so you can pass as a parameter the team that is attacking, and other things
Reply
#3

i did
Код:
SetTimerEx("GangAttack",120000,0,playerid,"Attack is over");
]
is that fine?
gotta go to sleep btw.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)