[Include] Single-Player Info Boxes
#12

Quote:
Originally Posted by Gammix
Посмотреть сообщение
0xRRGGBBAA

AA is your opacity.

@N0FeaR: You are setting the opacity to 00, so it wont be visible. Try 0x000000FF.

@kevIn: You do kill the timer but where do you check if its existing or not.

Refrence: http://forum.sa-mp.com/showpost.php?...4&postcount=11
Quote:
Originally Posted by Wiki
Timer IDs are never used twice. You can use KillTimer() on a timer ID and it won't matter if it's running or not.
There is no need to add an extra unnecessary condition. That "KillTimer()" is only there to kill the current running timer (if the public function that hides the textdraw hasn't been called yet and a new "ShowInfo()" function has been executed) so that the textdraw won't be hidden earlier than it is suppose to be shown for.

@DemME:
pawn Код:
format(string, sizeof(string), "Owned house\nAddress: %s", HouseData[houseid][houseAddress]);
ShowInfoBox(playerid, 0xFF0000FF, 10, string);
Reply


Messages In This Thread
Single-Player Info Boxes - by Kevln - 29.10.2015, 05:00
Re: Single-Player Info Boxes - by N0FeaR - 29.10.2015, 05:27
Re: Single-Player Info Boxes - by DemME - 29.10.2015, 05:32
Re: Single-Player Info Boxes - by Alex Magaсa - 29.10.2015, 05:40
Re: Single-Player Info Boxes - by N0FeaR - 29.10.2015, 05:56
Re: Single-Player Info Boxes - by DemME - 29.10.2015, 05:58
Re: Single-Player Info Boxes - by Gammix - 29.10.2015, 06:12
Re: Single-Player Info Boxes - by DemME - 29.10.2015, 06:14
Re: Single-Player Info Boxes - by Gammix - 29.10.2015, 06:20
Re: Single-Player Info Boxes - by DemME - 29.10.2015, 06:22
Re: Single-Player Info Boxes - by N0FeaR - 29.10.2015, 06:22
Re: Single-Player Info Boxes - by Kevln - 29.10.2015, 13:18
Re: Single-Player Info Boxes - by Gammix - 29.10.2015, 13:24
Re: Single-Player Info Boxes - by ATGOggy - 29.10.2015, 13:25
Re: Single-Player Info Boxes - by Kevln - 29.10.2015, 13:57
Re: Single-Player Info Boxes - by DemME - 29.10.2015, 14:13
Re: Single-Player Info Boxes - by Kevln - 29.10.2015, 14:47
Re: Single-Player Info Boxes - by Gammix - 30.10.2015, 02:14
Re: Single-Player Info Boxes - by Kevln - 30.10.2015, 02:18
Re: Single-Player Info Boxes - by Gammix - 30.10.2015, 02:23
Re: Single-Player Info Boxes - by Kevln - 30.10.2015, 03:13

Forum Jump:


Users browsing this thread: 1 Guest(s)