Gametext doesn't show up correct
#1

Hello,

Код:
new DPs[128],DBn[128];
			  format(string,sizeof(string),"~y~%d~n~~g~X%d",valstr(DPs,DriftPointsNow[g],false), format(DBn,sizeof(DBn),"X%i",DriftBonus[g]));
  			GameTextForPlayer(playerid,string,3000,6);
This code should show like:

Drift Points on first, and on second drift bonus: X1,2,3,4,5 but it shows only:

3
X1;

4
X1;

2
X1;

As i keep drifting i get the money but it doesn't show the points right
any help?
Reply
#2

pawn Код:
format(string,sizeof(string),"~y~%d~n~~g~X%d",DriftPointsNow[g], DriftBonus[g]);
GameTextForPlayer(playerid,string,3000,6);
This is all you need
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)