Counter-Strike 1.6 Icon CS1.6 Script

[AMXX][ALL] Infinite Flash Battery

Greetings! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending Rj. points.
  • Post: Give Rj. your thoughts on this Script.
  • Vote: Help Rj. win the Monthly Awards.
  • Rate: Give this Script a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Script.
  • Watch: Get notified when this Script is updated.
Mascot

Stop Lurking!

Sign up

Already a Bananite? Login

22 lines | 610 bytes | Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include < amxmodx >
#include < fakemeta >

const m_iFlashBattery = 244;

public plugin_init( ) {
        register_plugin( "Infinity Flash Bat", "1.0", "xPaw" );
       
        register_message( get_user_msgid( "FlashBat" ),   "MsgFlashBat" );
        register_message( get_user_msgid( "Flashlight" ), "MsgFlashLight" );
}

public MsgFlashLight( const MsgId, const MsgType, const id )
        set_msg_arg_int( 2, ARG_BYTE, 100 );

public MsgFlashBat( const MsgId, const MsgType, const id ) {
        if( get_msg_arg_int( 1 ) < 100 ) {
                set_msg_arg_int( 1, ARG_BYTE, 100 );
               
                set_pdata_int( id, m_iFlashBattery, 100, 5 );
        }
}
Infinite flash battery.. does it need any description? Use flashlight as long as you want.

Posts

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Credits

Original Authors
xPaw
AMXX Script/Codes

Submitter

Rj. avatar
Rj. avatar Dreamin'
Member Joined 10mo
655 points Ranked 6621st
35 medals 4 legendary 9 rare
  • Submitted 15 Tools Medal icon
  • Submitted 50 Gamefiles Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
  • Thanked 500 submitters Medal icon
  • 2nd Place - Game Poetry Contest Medal icon
  • Submitted 5 Tools Medal icon

Rj. avatar
Rj.

Redistributor
Are you the owner? Request Ownership
Send a Private Message to the submitter

Category

Stats

Posts
2
Views
77
Date Added
4d