Showing GameText before Dialog ?
#1

Hi , i have a big problem , whene a player spawns the GameTextForPlayer is shown behind the Dialog so it is not showed cleary , i have this

GameTextForPlayer(blabla);
ShowDialog(blabla);

How to show the Gametext in the front of the dialog ? thanks.
Reply
#2

Pretty sure it's not possible. Try to lower the amount of text in both the dialog and gametext, to see if it can fit. Or change the gametext style so that it is placed somewhere else.

Good luck.
Reply
#3

SetTimer
Reply
#4

Quote:
Originally Posted by newbienoob
Посмотреть сообщение
SetTimer
I thought about this , but i'm looking for other ways thanks.
Quote:
Originally Posted by Kindred
Посмотреть сообщение
Pretty sure it's not possible. Try to lower the amount of text in both the dialog and gametext, to see if it can fit. Or change the gametext style so that it is placed somewhere else.

Good luck.
hmm.. i can't low the amount cause it is a Spawn Class selection dialog , there is 9 classes....
i will try gametext change Thanks.
Reply
#5

Not Working aswell...
Reply
#6

UP (1 day) i Really need Help...
Reply
#7

Just a random guess

Do like this :

ShowDialog(blabla);
GameTextForPlayer(blabla);
Reply
#8

Use a different GameText style which is above the dialog or create a textdraw for it.
Reply
#9

hmm.. i didn't tested the dialog style change yet , besides, i have 14 classes , each class has an else function , so if he gets score , he can choose it , else , he will get a GameText like
pawn Код:
GameTextForPlayer(playerid, "You need ~r~X ~w~Score to choose this classe" ,4000,4);
well i will change style to 3 & 2...
Reply
#10

You can use "~n~" this puts the text on the next line.. You just add more "~n~" until your text is under the dialog!

Example:
pawn Код:
GameTextForPlayer(playerid, "~n~~n~~n~~n~You need ~r~X ~w~Score to choose this classe" ,4000,4);
Just try it, you'll see!
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)