SA-MP Forums Archive
[FilterScript] Airbreaking system using GetPlayerKeys - 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] Airbreaking system using GetPlayerKeys (/showthread.php?tid=266365)

Pages: 1 2


Airbreaking system using GetPlayerKeys - Mean - 04.07.2011

Introduction
Another script, made by my boredness.

How to use:
- come in game and type /ab
- use WSAD to move forward/back/left/right, or you can use arrow keys aswell
- use shift to go down, and space to go up
- when you're done, type /ab again to turn it off

Video
[ame]http://www.youtube.com/watch?v=bN4l5YzG9TY[/ame]

Download:
Mediafire
Pastebin

Credits:
Zeex for ZCMD
****** for GetXYInFrontOfPlayer

This script is using OnPlayerUpdate, if you feel any lags, you can always switch it to a timer.


Re: Airbreaking system using GetPlayerKeys - RaZvYxXx - 04.07.2011

do you help me with the restriction for admin ?


Sorry for my bad english-i'm romnian


Re: Airbreaking system using GetPlayerKeys - FireCat - 04.07.2011

LOL! Epic x]
8/10


Re: Airbreaking system using GetPlayerKeys - Jochemd - 04.07.2011

Pastebin please.


Re: Airbreaking system using GetPlayerKeys - Stigg - 04.07.2011

Great, this will come in handy. Thanks.


Re: Airbreaking system using GetPlayerKeys - Mean - 04.07.2011

Quote:
Originally Posted by Jochemd
Посмотреть сообщение
Pastebin please.
Added.

Thanks for the positive comments.


Re: Airbreaking system using GetPlayerKeys - RaZvYxXx - 04.07.2011

Quote:
Originally Posted by RaZvYxXx
Посмотреть сообщение
do you help me with the restriction for admin ?


Sorry for my bad english-i'm romnian
Plese


Re: Airbreaking system using GetPlayerKeys - Mean - 04.07.2011

Post in scripting discussion.


Re: Airbreaking system using GetPlayerKeys - BMB1 - 04.07.2011

nice for admin system


Re: Airbreaking system using GetPlayerKeys - FANEX - 04.07.2011

Nice release man. I think I'll use this.

Quote:
Originally Posted by RaZvYxXx
Посмотреть сообщение
do you help me with the restriction for admin ?


Sorry for my bad english-i'm romnian
Răzvane, postează la secţiunea "Scripting Discussion". Şi ce restricţie ai la admin?
Оncerc să te ajut.


AW: Airbreaking system using GetPlayerKeys - ducati09 - 04.07.2011

nice for creating objects


Re: Airbreaking system using GetPlayerKeys - SmileyForCheat - 04.07.2011

Wow COOL next time Superman >_<

__________________________________________________ _____

__________________________________________________ _____


Re: Airbreaking system using GetPlayerKeys - Den_Deluxe - 05.07.2011

Good!!! Very Good! 100% will use this!


Re: Airbreaking system using GetPlayerKeys - [M.A]Angel[M.A] - 05.07.2011

nice work :P


Re: Airbreaking system using GetPlayerKeys - jana4 - 05.07.2011

Nice work!


Re: Airbreaking system using GetPlayerKeys - rambq - 05.07.2011

how to make it only for admins?


Re: Airbreaking system using GetPlayerKeys - MicroD - 05.07.2011

Код:
CMD:ab( playerid, params[ ] ) 
{
    if(IsPlayerAdmin(playerid))\\ur var for admin this is rcon admin
    {
        if( GetPVarInt( playerid, "ab" ) == 0 ) 
        {
                SetPVarInt( playerid, "ab", 1 );
                TogglePlayerControllable( playerid, 0 );
        }
        else 
        {
            SetPVarInt( playerid, "ab", 0 );
            TogglePlayerControllable( playerid, 1 );
        }
        return 1;
    }
    return 0;
}



Re : Airbreaking system using GetPlayerKeys - ludesert - 05.07.2011

It's a cool idea =)


Re: Airbreaking system using GetPlayerKeys - Michael@Belgium - 05.07.2011

Wooot D: mean !!?? Why you make a hack filterscript ;o


Re: Airbreaking system using GetPlayerKeys - Mean - 05.07.2011

Quote:
Originally Posted by Michael@Belgium
Посмотреть сообщение
Wooot D: mean !!?? Why you make a hack filterscript ;o
It's not a hack mainly, secondly: it's useful, I find myself in a situation that I need to save a pos in the air or something.