Flashing Textdraws - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Flashing Textdraws (
/showthread.php?tid=144714)
Flashing Textdraws -
CAR - 28.04.2010
I've got a problem with textdraws.
In the left top corner I've got the time and in the left bottom corner I've got vehicle information.
But when I spawn without I'm in a vehicle the time is already flashing and when I go in a car the Vehicle Information is also flashing..
I tried to put them in the same script but that didn't works.
Does anybody know what to do (both timers repeat at 1 second)
Re: Flashing Textdraws -
M4S7ERMIND - 28.04.2010
You need to post the timers..
Re: Flashing Textdraws -
CAR - 29.04.2010
If you really need, but if I only put one timer with textdraw it's not flashing so...
Doesn't matter which timer, maybe I've to set 1 to 2 seconds...
Re: Flashing Textdraws -
Niixie - 29.04.2010
make a global called
new VehicleInfoFlash[MAX_PLAYERS];
then in the one timer, set all the textdraws to show.
pawn Код:
timername(playerid)
{
if(VehicleInfoFlash[playerid] == 0)
{
//Show all textdraws
}
else if(VehicleInfoFlash[playerid] == 1) // or just else
{
//hide all textdraws
}
return 1;
}
Try that
Re: Flashing Textdraws -
CAR - 29.04.2010
Ok thank you, I'm gonna try it!
But how must the script define if it's flashing?
EDIT: It's not working...
Does anybody know it? Or does anybody got the same problem? Or does anybody uses 2 Timers with Textdraws without flashing?
Re: Flashing Textdraws -
CAR - 30.04.2010
Bring
Up
My
Post