Game Text help?
#6

Quote:
Originally Posted by JimmyCh
Посмотреть сообщение
EDIT:
So I remove the time from the system, but now it doesn't show anything on the screen.
Here is my code:
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
                {
                    if(IsPlayerConnected(i) == 1)
                    {
                        new string[128];
                        format(string, sizeof(string), "%s", inputtext3);
                        switch(ChosenStyle)
                        {
                        case 0:
                            {
                            GameTextForPlayer(i, string, 1, 0);
                            }
                        case 1:
                            {
                            GameTextForPlayer(i, string, 1, 1);
                            }
                        case 5:
                            {
                            GameTextForPlayer(i, string, 1, 5);
                            }
                        }
                    }
                }
GameTextForPlayer(const string[], time, style)
time The time you want the text to show up. This is in milliseconds.
https://sampwiki.blast.hk/wiki/GameTextForAll

Your time is set to 1 milliseconds, that's why It's not visible. Change it to 1000 = 1 second or 2000 = 2 seconds.
Reply


Messages In This Thread
Game Text help? - by JimmyCh - 31.07.2013, 00:17
Re: Game Text help? - by dEcooR - 31.07.2013, 07:00
Re: Game Text help? - by JimmyCh - 31.07.2013, 07:21
Re: Game Text help? - by ThePhenix - 31.07.2013, 08:05
Re: Game Text help? - by JimmyCh - 31.07.2013, 08:11
Re: Game Text help? - by ThePhenix - 31.07.2013, 08:12
Re: Game Text help? - by JimmyCh - 31.07.2013, 08:36
Re: Game Text help? - by ThePhenix - 31.07.2013, 08:40
Re: Game Text help? - by JimmyCh - 31.07.2013, 08:42
Re: Game Text help? - by ThePhenix - 31.07.2013, 08:50

Forum Jump:


Users browsing this thread: 1 Guest(s)