Posts: 241
Threads: 58
Joined: Aug 2013
Reputation:
0
How to code speedometer texdraw?
texdraw have, how to if oplayer enter vehicle show texdraw or exit - hide
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
I am calm, I asked you a question.
Posts: 241
Threads: 58
Joined: Aug 2013
Reputation:
0
error 017: undefined symbol "GetVehicleSpeed" how to fix?
Posts: 241
Threads: 58
Joined: Aug 2013
Reputation:
0
forward Speedometer(playerid);
public Speedometer(playerid)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
new vehicleid = GetPlayerVehicleID(playerid);
new string[32], string2[32], string3[10], Float:vhealth;
format(string, sizeof(string), "%s", VehicleNames[GetVehicleModel(GetPlayerVehicleID(playerid))-400]);
TextDrawSetString(Spidometras[playerid][9], string);
format(string2, sizeof(string2), "%i", GetVehicleSpeed(vehicleid));
TextDrawSetString(Spidometras[playerid][6], string2);
}
return 1;
}
how to fix this code doesn't work does'nt see speed and vehiclename
Posts: 241
Threads: 58
Joined: Aug 2013
Reputation:
0
Fixed thanks for help +R3P