SA-MP Forums Archive
[FilterScript] Pawn AirBreaker Script - 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] Pawn AirBreaker Script (/showthread.php?tid=269016)



Pawn AirBreaker Script - steki. - 14.07.2011

I made this filterscript to make admins, in my server de stuff quickly and I've found fair release this script.
I'd like to thank Nero3D for his gxy function. It made me understand a little bit more about geometry and trigonometry.

There are some simple functions.

pawn Код:
StartAirBreakForPlayer( playerid );
pawn Код:
StopAirBreakForPlayer( playerid );
pawn Код:
GetAirBreakStatusForPlayer( playerid );
You can adjust the loop time and lenght of each check that the player will run.

pawn Код:
#define METERS 15.0
#define TIME 300
There's not much to explain.

Foreach's credits goes to ******
and GetXYFromPlayer to Nero 3D

Please don't remove any credits.

http://pastebin.com/bdj9c5DE

Thank you :D

How to use:

Forward: W
Leftward: A
Backward: S
Rightward: D

Up: Shift
Down: Ctrl


Re: Pawn AirBreaker Script - Scenario - 14.07.2011

I can't stand it when administrators basically "air break" around the server. Even though most servers that allow administrators to do this have no future, it is still very annoying. If an administrator needs to get somewhere, they can use "/goto" or something similar.


Re: Pawn AirBreaker Script - steki. - 14.07.2011

Well, this isn't a discussion about my server and yes about the script. Thank you.

I just left an example of course, making in funcion() you can use however you want.


Re: Pawn AirBreaker Script - Scenario - 14.07.2011

Quote:
Originally Posted by Luнs Miki
Посмотреть сообщение
Well, this isn't a discussion about my server and yes about the script. Thank you.

I just left an example of course, making in funcion() you can use however you want.
I am complaining about the absolute point in the script itself... (I was going to post more, but decided to save myself an infraction...)


Re: Pawn AirBreaker Script - mastalol - 15.07.2011

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
I am complaining about the absolute point in the script itself... (I was going to post more, but decided to save myself an infraction...)
goto is normaly meaning to GOTO someone..., and this is GREAT for DEBUGing...
i dont suggest you have admins just air break during the time when the server is up online...


Re: Pawn AirBreaker Script - AgentZero - 15.07.2011

useful for a hacking server ?