GameTextForPlayer bug. - 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: GameTextForPlayer bug. (
/showthread.php?tid=498154)
GameTextForPlayer bug. -
audriuxxx - 02.03.2014
Hi,
Why when i show a gametextforpalyer for ex:
GameTextForPlayer(playerid,"~r~WWW", 30000, 5 );
When i show for a long time gametext, i see it for 7 seconds, and then it disapear and after some seconds i again see it. Why this is? why i don't see it every time 30 seconds?
Re: GameTextForPlayer bug. -
SupaVZ - 02.03.2014
Have you got timers?, for that.. edit the timer
I.E
SetTimerEx("WeedGrowth", 60000, 1, "i", playerid);
Re: GameTextForPlayer bug. -
CutX - 02.03.2014
Quote:
Originally Posted by audriuxxx
Hi,
Why when i show a gametextforpalyer for ex:
GameTextForPlayer(playerid,"~r~WWW", 30000, 5 );
When i show for a long time gametext, i see it for 7 seconds, and then it disapear and after some seconds i again see it. Why this is? why i don't see it every time 30 seconds?
|
well, that's because you've choosen the wrong style-id
Quote:
Originally Posted by SA-MP Wiki
Style 5:
Displays for 3 seconds, regardless of what time you set. Will refuse to be shown if it is 'spammed'.
|
https://sampwiki.blast.hk/wiki/GameTextStyle
use 3, 4 or 6.
not 5
Re: GameTextForPlayer bug. -
Mike.FTW - 02.03.2014
Quote:
Originally Posted by audriuxxx
Hi,
GameTextForPlayer(playerid,"~r~WWW", 30000, 5 );
When i show for a long time gametext, i see it for 7 seconds, and then it disapear and after some seconds i again see it. Why this is? why i don't see it every time 30 seconds?
|
https://sampwiki.blast.hk/wiki/GameTextStyle
Quote:
Originally Posted by sampwiki
Style 5
Image:Game-text-type5.jpg
Displays for 3 seconds, regardless of what time you set. Will refuse to be shown if it is 'spammed'.
|
You use GameTextStyle 5, that one is showed just for 3 secounds, try use anothor one
EDIT: Too late. I did not see the post above