SA-MP Forums Archive
[FilterScript] [FS] Burnout v2 [for SA:MP 0.3 and up] - 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] [FS] Burnout v2 [for SA:MP 0.3 and up] (/showthread.php?tid=111673)

Pages: 1 2


Re: [FS] Burnout v2 [for SA:MP 0.3 and up] - habl - 05.12.2009

Quote:
Originally Posted by Te3j4y
This script is pure genius dude, keep up the good work. I'd like to see more from you.
I agree, it is awesome!


Re: [FS] Burnout v2 [for SA:MP 0.3 and up] - [03]Garsino - 05.12.2009

Nice!!


Re: [FS] Burnout v2 [for SA:MP 0.3 and up] - KKashimia - 05.12.2009

Quote:
Originally Posted by mister_ic3
just a thought would this work with say a drifting script
It would work with this filterscript jus fine:
http://forum.sa-mp.com/index.php?topic=137001.0
However, with many players online these two together may cause a little lag. I will release a new filterscript with these two and a few other racing scripts fused together soon. It will use much less cpu, than these two together.


Re: [FS] Burnout v2 [for SA:MP 0.3 and up] - arjunaryas - 30.12.2009

Nice filterscript, Thanks man


Re: [FS] Burnout v2 [for SA:MP 0.3 and up] - RenisiL - 30.12.2009

Just, Awesome Kanis good job


Re: [FS] Burnout v2 [for SA:MP 0.3 and up] - Nakki - 30.12.2009

Why it always say when i compile it.. it says
error 017: undefined symbol "SetVehicleVelocity"
error 017: undefined symbol "GetVehicleVelocity" ??


Re: [FS] Burnout v2 [for SA:MP 0.3 and up] - SlashPT - 30.12.2009

have you updated your SA-MP go to Sa-mp page and download the last version R4


Re: [FS] Burnout v2 [for SA:MP 0.3 and up] - Jakku - 03.01.2010

Quote:
Originally Posted by Nakki
Why it always say when i compile it.. it says
error 017: undefined symbol "SetVehicleVelocity"
error 017: undefined symbol "GetVehicleVelocity" ??
0.2X includes maybe?


Re: [FS] Burnout v2 [for SA:MP 0.3 and up] - DRIFT_HUNTER - 03.01.2010

ok i tested it and its rely simple and cool

what you ned to doo

PRESS AND HOLD W and S and then turn LEFT then RIGHT 2 or 3 times(not with A and D)

what hepening?
you will get litle boost


nice work


Re: [FS] Burnout v2 [for SA:MP 0.3 and up] - belzebul - 10.01.2010

great...thx!


Re: [FS] Burnout v2 [for SA:MP 0.3 and up] - mick88 - 22.01.2010

Theres a little bug in it, when i keep pressing my honk button repeatedly, the car keeps accelerating regardless of burnout time. Even without burnout when i keep pressing it rapidly, whe car keeps accelerating up to speeds way over its limits.


Re: [FS] Burnout v2 [for SA:MP 0.3 and up] - titanak - 28.02.2012

heres the fix for unburnable cars :P

pawn Code:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 406) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 432) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 444) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 481) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 485) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 486) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 496) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 514) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 515) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 530) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 531) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 532) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 556) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 557) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 572) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 574) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 583) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 589) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 432) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 445) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 401) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 404) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 410) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 420) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 430) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 430) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 435) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 436) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 440) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 441) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 446) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 449) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 450) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 452) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 453) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 454) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 464) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 465) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 472) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 473) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 474) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 479) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 484) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 493) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 501) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 509) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 510) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 516) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 539) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 539) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 540) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 550) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 595) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 564) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 584) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 590) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 591) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 594) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 606) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 607) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 608) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 610) { return false; }
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 611) { return false; }



Re: [FS] Burnout v2 [for SA:MP 0.3 and up] - Kar - 28.02.2012

I made my own little version, I find this one alot better
pawn Code:
#define BURNOUT_INDEX 0.015

forward BurnoutFunc(playerid, vehicleid);
public BurnoutFunc(playerid, vehicleid)
{
    PlayerInfo[playerid][pBurnout]++;
    new keys, ud, lr;
    GetPlayerKeys(playerid, keys, ud, lr);
    if(PlayerInfo[playerid][pBurnout] > 10 && keys == 8)//VEHICLE_ACCELERATE
    {
        if(PlayerInfo[playerid][pBurnout] > 30) PlayerInfo[playerid][pBurnout] = 30;
        new Float:speed[2];
        GetXYInFrontOfVehicle(vehicleid, speed[0], speed[1], BURNOUT_INDEX * PlayerInfo[playerid][pBurnout]);
        AccelerateTowardsAPoint(vehicleid, speed[0], speed[1]);
        PlayerInfo[playerid][pBurnout] = 0;
        KillTimer(PlayerInfo[playerid][pBurnoutTimer]);
    }
    if(keys == ( KEY_SPRINT | KEY_JUMP )) return 1;//keys are still accelerating and braking
    if(keys != ( KEY_SPRINT | KEY_JUMP ) && keys != 8)//keys are now not related to accelerate and brake
    {
        PlayerInfo[playerid][pBurnout] = 0;
        KillTimer(PlayerInfo[playerid][pBurnoutTimer]);
    }
    return 1;
}

#define TURBO_DEDUCT_INDEX 135
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if ((newkeys & KEY_SPRINT) && (newkeys & KEY_JUMP) && IsPlayerInAnyVehicle(playerid))
    {
        PlayerInfo[playerid][pBurnout]++;
        PlayerInfo[playerid][pBurnoutTimer] = SetTimerEx("BurnoutFunc", 100, true, "ii", playerid, Current_Vehicle[playerid]);
    }
    if (RELEASED( KEY_SPRINT | KEY_JUMP ) && !(newkeys & 8))
    {
        if (IsPlayerInAnyVehicle(playerid) && PlayerInfo[playerid][pBurnout] > 0)
        {
            PlayerInfo[playerid][pBurnout] = 0;
            KillTimer(PlayerInfo[playerid][pBurnoutTimer]);
        }
    }
    return 1;
}
Theres a bug in yours, once you hit 10 burnout, it does the burnout

if (RELEASED( KEY_SPRINT | KEY_JUMP ) && !(newkeys & ) fixes it


Re: [FS] Burnout v2 [for SA:MP 0.3 and up] - Detective- - 28.02.2012

Any pictures on it? Seems pretty cool. Just wish you could edit your post with an image or video.


Re: [FS] Burnout v2 [for SA:MP 0.3 and up] - [HK]Ryder[AN] - 28.02.2012

Lots of bugs. I would rather use Kar's shorter and better version.