Flashing Textdraws
#1

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)
Reply
#2

You need to post the timers..
Reply
#3

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...
Reply
#4

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
Reply
#5

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?
Reply
#6

Bring Up My Post
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)