Mismatch error +rep if helped
#3

PHP код:
PlayerTextDrawSetString(playeridSpeedoText0,"Vehicle: %s~n~Speed: %i KPH"); 
This will display an incorrect text, you must make format above, the text you entered there must already be formatted.

PHP код:
ShowSpeed(playerid)
{
    new 
string[45];
    
PlayerTextDrawShow(playeridSpeedo[playerid]);
    
format(stringsizeof(string), "Vehicle: %s~n~Speed: %i KPH", {Float,_}..);
    
PlayerTextDrawSetString(playeridspeedoText0[playerid], string);

And add "[playerid]" and check that the variables have the correct tag.

PHP код:
new Text:var[MAX_PLAYERS]; 
Reply


Messages In This Thread
Mismatch error +rep if helped - by MrCallum - 17.03.2015, 22:04
Re: Mismatch error +rep if helped - by AlonzoTorres - 17.03.2015, 22:10
Respuesta: Mismatch error +rep if helped - by JuanStone - 17.03.2015, 22:16

Forum Jump:


Users browsing this thread: 1 Guest(s)