[Include] Disable Ammunation (damm.inc)
#1

Disable Ammunation 1.0
by Mike
Introduction

Extremely simple include that disables the scripts inside the ammunation interiors. This is achieved by hooking (y_hooks) OnPlayerInteriorChange, checking if they are entering an interior that an ammunation is in, and setting a repeating timer until they are in the interior, to be safe from lag. 100% effective*.

* Don't quote me on that :x

Changelog

1.0 (1st Feb 2012):
- Initial release

Usage

Just include it and you're good to go!
With this, you can then add your own checkpoint in ammunations to make custom scripts.

Installation

• Download the .inc file below
• Place it in C:\Program Files\Rockstar Games\GTA San Andreas\pawno\include (or where ever your include folder is)
• Add " #include <damm> " at the top of your gamemode under a_samp like so:
Код:
#include <a_samp>
#include <damm>
#include <blahblah>
#include <other_includes>
The order isn't important, just make sure it's after a_samp.

• Download YSI HERE
• Nothing more! No functions to use or anything, essentially plug and play.

Download

http://pastebin.com/Y0VHKwsy

No mirrors please. This is my own website, so if the link goes down I'll know about it. If it does however, PM me.

Thank you!

Please leave a comment below, maybe with a suggestion! Don't forget to report any bugs also please.

Thank you.
Reply


Messages In This Thread
Disable Ammunation (damm.inc) - by MP2 - 01.02.2012, 08:57
Re: Disable Ammunation (damm.inc) - by Niko_boy - 01.02.2012, 11:22
Re: Disable Ammunation (damm.inc) - by DRIFT_HUNTER - 01.02.2012, 12:34
Re: Disable Ammunation (damm.inc) - by MP2 - 01.02.2012, 12:56
Re: Disable Ammunation (damm.inc) - by Konstantinos - 01.02.2012, 13:09
Re: Disable Ammunation (damm.inc) - by Reklez - 23.03.2012, 03:53
Re: Disable Ammunation (damm.inc) - by Hansolue - 23.03.2012, 09:34
Re: Disable Ammunation (damm.inc) - by Ryan_Obeles - 21.05.2013, 15:13
Re: Disable Ammunation (damm.inc) - by DiGiTaL_AnGeL - 23.05.2013, 13:03

Forum Jump:


Users browsing this thread: 3 Guest(s)