SA-MP Forums Archive
[FilterScript] bR SpeedoMeter - 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] bR SpeedoMeter (/showthread.php?tid=650218)



bR SpeedoMeter - BulletRaja - 23.02.2018

INTRODUCTION:
hello guys i was getting bored so i thought to make something special so here i created an bR SpeedoMeter its have many features i hope you like that.

Features:
* Added Vehicle Name
* Added Speed System
* Added Gear System
* Added Light System

Commands:
*/lights
*/veh


Credits:
*samp
*zcmd
*sscanf
*me


Pictures:





Codes:
*PasteBin

Bugs:
* not got any if you get tell me.

i hope you like the work


Re: bR SpeedoMeter - solstice_ - 23.02.2018

The identation is messed up


Re: bR SpeedoMeter - BulletRaja - 23.02.2018

Quote:
Originally Posted by willbedie
View Post
The identation is messed up
ok bro


Re: bR SpeedoMeter - Wherethescripters - 23.02.2018

Nice work. Looks good.

+rep


Re: bR SpeedoMeter - BulletRaja - 23.02.2018

Quote:
Originally Posted by Wherethescripters
View Post
Nice work. Looks good.
Thanks bro


Re: bR SpeedoMeter - Nizarh - 23.02.2018

Prety Good!


Re: bR SpeedoMeter - BulletRaja - 23.02.2018

Quote:
Originally Posted by Nizarh
View Post
Prety Good!
thnx


Re: bR SpeedoMeter - Pottus - 23.02.2018

You didn't do your homework at all this function is incorrect but you can easily find the correct function on the forums.

Code:
Float:GetPlayerSpeed(playerid)
{
    new Float:px, Float:py, Float:pz;
    GetVehicleVelocity(GetPlayerVehicleID(playerid), px, py, pz);
    return floatsqroot(floatpower(floatabs(px), 2.0) + floatpower(floatabs(py), 2.0) + floatpower(floatabs(pz), 2.0)) * 100;
}
You are also wasting player textdraws and doing extra work when a lot of them should just be global textdraws.

Code:
public OnPlayerDisconnect(playerid, reason)
{
    speedohide(playerid);
    return 1;
}
This does nothing at all.


Re: bR SpeedoMeter - BulletRaja - 01.03.2018

Quote:
Originally Posted by Pottus
View Post
You didn't do your homework at all this function is incorrect but you can easily find the correct function on the forums.

Code:
Float:GetPlayerSpeed(playerid)
{
    new Float:px, Float:py, Float:pz;
    GetVehicleVelocity(GetPlayerVehicleID(playerid), px, py, pz);
    return floatsqroot(floatpower(floatabs(px), 2.0) + floatpower(floatabs(py), 2.0) + floatpower(floatabs(pz), 2.0)) * 100;
}
You are also wasting player textdraws and doing extra work when a lot of them should just be global textdraws.

Code:
public OnPlayerDisconnect(playerid, reason)
{
    speedohide(playerid);
    return 1;
}
This does nothing at all.
Ok sir edited


Re: bR SpeedoMeter - nimaGamer - 06.03.2018

Good!
Can I Edit This And Post In Forum?