17.03.2015, 22:16
PHP код:
PlayerTextDrawSetString(playerid, SpeedoText0,"Vehicle: %s~n~Speed: %i KPH");
PHP код:
ShowSpeed(playerid)
{
new string[45];
PlayerTextDrawShow(playerid, Speedo[playerid]);
format(string, sizeof(string), "Vehicle: %s~n~Speed: %i KPH", {Float,_}..);
PlayerTextDrawSetString(playerid, speedoText0[playerid], string);
}
PHP код:
new Text:var[MAX_PLAYERS];