SA-MP Forums Archive
[HELP] GZ Flashing and Stop - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] GZ Flashing and Stop (/showthread.php?tid=595223)



[HELP] GZ Flashing and Stop - Hayden_Almeida - 29.11.2015

Hello Guys. I've created one GangZone, but when i send the function to Flash, it flashes for 5~10 seconds and stops. Dont know the reason. Look at my code:
Код:
GangZoneFlashForPlayer(i,GangZone_1, 0xff5454FF);// Cor= vermelho ALPHA
DestroyPickup(GangZone_1Pickup);
format(string,sizeof(string), "A Gang Zone 1 estб sendo atacado por: %s.", GZ_emp);
SendClientMessage(i, COLOR_ROSA_CHOQUE, string);
GangZone_1Timer = SetTimer("GangZone1", 20*1000, false);
In my tests with DEBUG system, the Public called "GangZone1" dont execute yet, and the GZ stop flashing dont know how. Even i change to 10 minutes the SetTimer, the zone keeps flashing only 5~10 seconds.


Re: [HELP] GZ Flashing and Stop - Hayden_Almeida - 30.11.2015

uppppppp


Re: [HELP] GZ Flashing and Stop - Alpay0098 - 30.11.2015

I read your problem 3 times, Still don't know what do you want. You wanna make the timer longer or wanna stop timer or ...?
If you want to make it longer just increase SetTimer's time parameter. (10*60*1000)


Re: [HELP] GZ Flashing and Stop - Hayden_Almeida - 30.11.2015

Quote:
Originally Posted by Alpay0098
Посмотреть сообщение
I read your problem 3 times, Still don't know what do you want. You wanna make the timer longer or wanna stop timer or ...?
If you want to make it longer just increase SetTimer's time parameter. (10*60*1000)
I want my GZ to Flash, only this.

But like i said, the GZ only flashes for 5~10 seconds and i dont know why it stops.