Bit of a problem
#1

Hi!

I use GametextForPlayer under OnPlayerRequestClass like this

pawn Код:
switch(classid)
{
Case 0:
{
Gametextforplayer("civillians",5000,5);
}
Case 1:
{
Gametextforplayer("army",5000,5);
}
}
But problem is, when player is in class selection and he look at skin number 2, the gametext doesnt change quick enough so it still says army, what to do?
Reply
#2

Set the display time to less or use textdraws so you can easily hide them
Reply
#3

Use a Textdraw and do TextDrawSetString; or put this first above the other GameText's Gametextforplayer(" ",1,5);
Reply
#4

But that time limit seems very small, are yoiu sure it will work?
Reply
#5

Use another style, style 5 show for few seconds no matter what time you set.
Reply
#6

Quote:
Originally Posted by Tigerbeast11
But that time limit seems very small, are yoiu sure it will work?
Reply
#7

Well test it
Reply
#8

Here use this function;

Код:
DestroyPlayerGameText(playerid)
{
   GameTextForPlayer(playerid, " ", 10, 5);
   return 1;
}
And add above your gametext: DestroyPlayerGameText(playerid);

lol it's actually the same as above.
Reply
#9

K, thnx dudes for your help!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)