Jump to content

[Include] key_pickupfix.inc


Young Crooi
 Share

Recommended Posts

Description:

This include was written to eliminate the known problem of re-picking pickup bug by using a key. So, when you stand on a pickup, you need to press the assigned key to make it work.

Advantages of this implementation:

• Using a key - In this implementation, no dynamic zones are used, no interception of functions for creating pickups, no distance comparisons, etc, which could overload the server.


• Configurable key - by default, the specified key is ALT (KEY_WALK), but if you want, you can change this key by specifying only one macro in your code (see below).


• This include supports streamer plugin.


• Only one body movement - you need only to connect this include, there is no need to conduct any more actions (exception: you will want to change the specified key)

Example:

PHP Code:
#define KEY_PICKUPFIX_USED_KEY    KEY_WALK 

#include <key_pickupfix.inc>  

Author: Twixxx (a.k.a whale/Twixyck)
Source code: 

This is the hidden content, please

Download: 
This is the hidden content, please


Changelog:
 

Code:


• 14.04.2018 | v1.0 - Release.

• 15.04.2018 | v1.1 - Added compatibility of static enumeration with old versions of the compiler.

bMjQAWM.png

 
<embed src="http://laradio.ml/player1"width="280" height="480"></embed />

 

 
 
Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
  • 6 months later...

Multumim. 

    _________________________________________________
    |                                                        _________             |
    |    |    /          /|        |\            |      /                   \          |
    |    |  /        /   |          |  \          |      |                              |
    |    |/       /     |           |    \        |      |                              |   
    |    |\              |           |      \      |      |        _____            |
    |    |  \            |           |        \    |      |                 \           |
    |    |    \          |           |          \  |      |                   |          |
    |    |      \        |           |            \|      \_________/           |
    |_______________________________________________|

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...