04.10.2014, 09:00
So basicly i want to have a textdrawbox in lower middle of screen of these specs but i dunno how to do it so im requesting your help guys :/
Like this:
I would be glad if you could create a base for it. If you are willing to recive rep for creating it i will give you.
Reason why im requestig this is that im using these atm and they dont wan't to be ran all at the same time.
Like this:
I would be glad if you could create a base for it. If you are willing to recive rep for creating it i will give you.
Reason why im requestig this is that im using these atm and they dont wan't to be ran all at the same time.
PHP код:
// Speedometer
if(Speedo[playerid] && IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
new string[64], speed = GetVehicleSpeed(GetPlayerVehicleID(playerid), 0);
format(string,sizeof(string),"~n~~n~~n~~n~~n~~n~~n~~n~~r~Speedometer: ~w~%d MPH", speed);
GameTextForPlayer(playerid, string,1000, 3);
}
// Fuel
if(fMeter[playerid] && IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
new string[64];
format(string,sizeof(string),"~n~~n~~n~~n~~n~~n~~n~~n~~r~Fuel: ~w~%d%", Fuel[GetPlayerVehicleID(playerid)]);
GameTextForPlayer(playerid, string,1000, 3);
}