Two gametexts doesn't show
#1

Код:
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?
Reply
#2

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

So how can he do it?:


GeForce SA-MP Drift Script
Reply
#4

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

example please?
Reply
#6

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

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

BUMP!!!!
Reply
#9

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 -.-
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)