GameTextForPlayer bug.
#1

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

Have you got timers?, for that.. edit the timer

I.E

SetTimerEx("WeedGrowth", 60000, 1, "i", playerid);
Reply
#3

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)