Raised This Month: $ Target: $400
 0% 

[ZP] No Survivor Recoil


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 07-17-2009 , 02:47   Re: Give no recoil to Survivor, sry about other thread
Reply With Quote #1

Code:
#include <amxmodx>
#include <fakemeta>
#include <zombieplague>

new g_punchAngle[3] = { 0.0, 0.0, 0.0 }

public plugin_init()
{
        register_plugin("LOL", "OMFG", "LMAO")

        register_forward(FM_PlayerPreThink, "fwd_player_think")
}

public fwd_player_think(id)
{
        if (is_user_alive(id))
        {
                if (zp_get_user_survivor(id))
                {
                        set_pev(id, pev_punchangle, g_punchAngle)
                }
        }
}
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
Mog12345
Senior Member
Join Date: Oct 2008
Old 07-17-2009 , 03:09   Re: Give no recoil to Survivor, sry about other thread
Reply With Quote #2

Okay, I tried putting that into the code in the best places possible, but when I compile, i get:

Error: Undefined symbol: zp_get_user_survivor
Mog12345 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:00.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode