SA-MP Forums Archive
[FilterScript] Speedometer with carname, engine and doors status - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Speedometer with carname, engine and doors status (/showthread.php?tid=407152)



Speedometer with carname, engine and doors status - x96664 - 12.01.2013

I lost the script, if someone has it, please post a link in this thread.
Thanks in advance!


Re: Speedometer with carname, engine and doors status - Patrick - 12.01.2013

Nice Release
much better you use OnPlayerStateChange to avoid "textdraw hiding bug"
pawn Code:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
    {
        //Show Textdraw Here
    }
   
    if(newstate == PLAYER_STATE_ONFOOT)
    {
        //Hide Textdraw here
    }
    return 1;
}



Re: Speedometer with carname, engine and doors status - DiGiTaL_AnGeL - 12.01.2013

Post a screenshot of the full screen, not just the speedometer. Then, I'll give you my suggestion.


Re: Speedometer with carname, engine and doors status - x96664 - 13.01.2013

Quote:
Originally Posted by DiGiTaL_AnGeL
View Post
Post a screenshot of the full screen, not just the speedometer. Then, I'll give you my suggestion.
Done


Re: Speedometer with carname, engine and doors status - GTAMonster - 13.01.2013

Good. But can you make another one with only speed an vehicle name. ?


Re: Speedometer with carname, engine and doors status - niels44 - 13.01.2013

in your screenie it says: Doors: Unocked, should be Unlocked, but nice speedo, gonna use this in my server, was looking for something like this for a long time already

also nice numberplate you got there xD 2F2F, 2 Fast 2 Furious love those movies


Re: Speedometer with carname, engine and doors status - x96664 - 13.01.2013

Quote:
Originally Posted by GTAMonster
View Post
Good. But can you make another one with only speed an vehicle name. ?
Ofcourse I can!
Quote:
Originally Posted by niels44
View Post
in your screenie it says: Doors: Unocked, should be Unlocked, but nice speedo, gonna use this in my server, was looking for something like this for a long time already

also nice numberplate you got there xD 2F2F, 2 Fast 2 Furious love those movies
Thanks my server name is 2F2F and it's related with the movie thats why


Re: Speedometer with carname, engine and doors status - niels44 - 13.01.2013

eehm id love to see your server, but its offline, retrieving info


Re: Speedometer with carname, engine and doors status - [WA]iRonan - 13.01.2013

Nice script you have there. I like it and will use it on my server. +rep


Re: Speedometer with carname, engine and doors status - niels44 - 13.01.2013

i found a small bugg, already fixed it, but anyways here is the fix:

i added it to my server, but when i went into my car and drove, the Speed: speedamount was like going on off on off very fast after reach other, like it was flackering, anyways the problem was in the onplayerupdate:
pawn Code:
TextDrawShowForPlayer(playerid, Speed);
TextDrawSetString(Speed, speed_string);
search for that in the onplayerupdate, change it to this and it will be fixed:
pawn Code:
TextDrawSetString(Speed, speed_string);
        TextDrawShowForPlayer(playerid, Speed);
yes i just switched them, the setstring above the show, but it does fixes it, also, when i spawn a car with my /car command, it says it is locked, while it aint... pls fix that , im gonna try it myself now, but still for others fix it pls, ty


Re: Speedometer with carname, engine and doors status - Gruszex - 13.01.2013

Fajny licznik


Re: Speedometer with carname, engine and doors status - RadeN - 19.07.2014

link ?


Re: Speedometer with carname, engine and doors status - friezakinght - 20.07.2014

The link?


Re: Speedometer with carname, engine and doors status - MrWupiazZzLT - 21.07.2014

Best speedo... I were searching it for 2 years... AND THERES NO LINK?!