SA-MP Forums Archive
Two gametexts doesn't show - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Two gametexts doesn't show (/showthread.php?tid=99387)



Two gametexts doesn't show - 0ne - 27.09.2009

Код:
new DPs[128],DBn[128];
			  valstr(DPs,DriftPointsNow[g],false);
			  format(DBn,sizeof(DBn),"X%i",DriftBonus[g]);
			  format(string, sizeof(string),"~n~~g~ X%i",DBn);
				GameTextForPlayer(g,DBn,2000,6);
				format(string, sizeof(string),"~y~ %d",DPs);
				GameTextForPlayer(g,DPs,2000,6);
these are two gametexts that suppose to show, unfortounately it only shows the ~y~ %d", DPS but the DBn one doesn't show, and it doesn't apply ~Y~ Color, its just like type 6 without it, anyone help?


Re: Two gametexts doesn't show - Andom - 27.09.2009

You cannot have 2 gametext's at the same time.


Re: Two gametexts doesn't show - 0ne - 27.09.2009

So how can he do it?:


GeForce SA-MP Drift Script


Re: Two gametexts doesn't show - Correlli - 27.09.2009

It's one GameText in which he setted new line and different color.


Re: Two gametexts doesn't show - 0ne - 27.09.2009

example please?


Re: Two gametexts doesn't show - Correlli - 27.09.2009

pawn Код:
new string[64];
format(string, sizeof(string), "~g~%d~n~~r~%d", myVariable, myVariable2);
GameTextForPlayer(playerid, string, 3000, 6);
https://sampwiki.blast.hk/wiki/GameTextStyle


Re: Two gametexts doesn't show - 0ne - 27.09.2009

Then it shows incorrectly, from 46 to 56 SCORE and it shows X88 always. How could i fix that ?


Re: Two gametexts doesn't show - 0ne - 27.09.2009

BUMP!!!!


Re: Two gametexts doesn't show - ded - 28.09.2009

Learn some rules
Then go to the SA:MP wiki and LEARN small -.-


Re: Two gametexts doesn't show - 0ne - 28.09.2009

Quote:
Originally Posted by » Pawnst★r «
Learn some rules
  • b) Do not bump
    Some people apparently think they are important enough to bump their own topic after 10 minutes.
    You can bump topics when the last reply is at least 12 hours old.
Then go to the SA:MP wiki and LEARN small -.-
You think i suck at scripting? Bad guess, i am just asking for help because i never got this problem, and i don't know what to do WIKI doesn't help it just explains the function and shows styles,colors of text it doesn't explain this error and i didn't understand what exactly did u mean (Then go to the SA:MP wiki and Learn small -.-) Learn small?.. Can't anyone explain to me whats the problem? I've searched too but couldn't find anything like that which would explain those pathetic numbers.