[BUG] The Speed-o-Meter and Fuel-o-Meter is not appearing! [UNSOLVED!!!] -
Rand_Omar - 26.03.2010
Hello, i am encountering a problem with a semi-fuel system which i can't figure out why it's not working!
When i get in a car the box appears, but the texts not appearing.. i really need help!
pawn Код:
public CheckStatus()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(IsPlayerInAnyVehicle(i))
{
if(TextShow[i] == false)
{
TextDrawShowForPlayer(i, Text:Black0);
TextDrawShowForPlayer(i, Text:Black1);
TextDrawShowForPlayer(i, Text:Black2);
TextDrawShowForPlayer(i, Text:Black3);
TextDrawShowForPlayer(i, Text:LightBlack);
TextShow[i] = true;
}
new String[128];
new Float:X, Float:Y, Float:Z, Float:Speed;
new vehicle = GetPlayerVehicleID(i);
GetVehicleVelocity(GetPlayerVehicleID(i), X, Y, Z);
Speed = floatmul(floatsqroot(floatadd(floatadd(floatpower(X, 2), floatpower(Y, 2)), floatpower(Z, 2))), 100.0);
format(String,sizeof(String),"~b~ D-Board~n~~r~Fuel: ~w~%i~n~~r~km/h: ~w~%i", Gas[vehicle], floatround(Speed, floatround_floor));
if(VHSCreated[i] == true)
{
TextDrawDestroy(VHS[i]);
}
VHS[i] = TextDrawCreate(541.000000,137.000000,String);
TextDrawAlignment(VHS[i],0);
TextDrawBackgroundColor(VHS[i],0x000000ff);
TextDrawFont(VHS[i],1);
TextDrawLetterSize(VHS[i],0.299999,1.000000);
TextDrawColor(VHS[i],0xffffffff);
TextDrawSetOutline(VHS[i],1);
TextDrawSetProportional(VHS[i],1);
TextDrawSetShadow(VHS[i],1);
TextDrawShowForPlayer(i, VHS[i]);
VHSCreated[i] = true;
}
else
{
if(TextShow[i] == true)
{
TextDrawHideForPlayer(i, Text:Black0);
TextDrawHideForPlayer(i, Text:Black1);
TextDrawHideForPlayer(i, Text:Black2);
TextDrawHideForPlayer(i, Text:Black3);
TextDrawHideForPlayer(i, Text:LightBlack);
TextDrawHideForPlayer(i, Text:VHS[i]);
TextShow[i] = false;
}
}
}
}
}
Re: [BUG] The Speed-o-Meter and Fuel-o-Meter is not appearing! -
Rand_Omar - 26.03.2010
Any solution yet?
Re: [BUG] The Speed-o-Meter and Fuel-o-Meter is not appearing! -
Rand_Omar - 26.03.2010
This is unsolved yet and no one answered!
It's now in page 2!
Re: [BUG] The Speed-o-Meter and Fuel-o-Meter is not appearing! [UNSOLVED!!!] -
Rand_Omar - 26.03.2010
Please, if no one knows an answer, tell me.. i hate waiting.
Re: [BUG] The Speed-o-Meter and Fuel-o-Meter is not appearing! [UNSOLVED!!!] -
Rand_Omar - 26.03.2010
No answer yet?!
Re: [BUG] The Speed-o-Meter and Fuel-o-Meter is not appearing! [UNSOLVED!!!] -
KnooL - 26.03.2010
Dude slow down, don't think I will even attempt to fix your problem (if I could) when I see your like bumping 4 times in less then 12 hours
Re: [BUG] The Speed-o-Meter and Fuel-o-Meter is not appearing! [UNSOLVED!!!] -
Rand_Omar - 26.03.2010
Quote:
Originally Posted by KnooL
Dude slow down, don't think I will even attempt to fix your problem (if I could) when I see your like bumping 4 times in less then 12 hours
|
You want me to slow down? waiting 20 minutes in the beginning, and after 1 hour or so, replying because it gone to page 3, then after 2 hours it was in page 4..
And the last one this topic was in page 6, which no one cares to watch other pages but only the first page..
So i had to keep replying to this thread or else it would've been back in the ancient topics!
Re: [BUG] The Speed-o-Meter and Fuel-o-Meter is not appearing! [UNSOLVED!!!] -
KnooL - 26.03.2010
This makes you look very 'important' to other sa-mp members that are posting around here. Other people also want to get a reply on their post. And if you want to stay long on this forum I guess you should read and follow the forum rules.
http://forum.sa-mp.com/index.php?topic=67900.0
Код:
b) Do not bump
Some people apparently think they are important enough to bump their own topic after 10 minutes.
You can bump topics when the last reply is at least 12 hours old.
If I were you, start following the rules.
Thank you.
Re: [BUG] The Speed-o-Meter and Fuel-o-Meter is not appearing! [UNSOLVED!!!] -
playbox12 - 26.03.2010
Indeed stop the bump lol, I never realy worked with textdraws so I cant help you
Re: [BUG] The Speed-o-Meter and Fuel-o-Meter is not appearing! [UNSOLVED!!!] -
Xtreme4ever - 08.08.2010
Quote:
Originally Posted by KnooL
This makes you look very 'important' to other sa-mp members that are posting around here. Other people also want to get a reply on their post. And if you want to stay long on this forum I guess you should read and follow the forum rules.
http://forum.sa-mp.com/index.php?topic=67900.0
Код:
b) Do not bump
Some people apparently think they are important enough to bump their own topic after 10 minutes.
You can bump topics when the last reply is at least 12 hours old.
If I were you, start following the rules.
Thank you.
|
yeah, when someone knows the answer to ur question, they'll probably answer it.... or not