Raised This Month: $ Target: $400
 0% 

[ZP] No Survivor Recoil


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 07-18-2009 , 03:08   Re: Give no recoil to Survivor, sry about other thread
Reply With Quote #9

Quote:
Originally Posted by Mog12345 View Post
I fixed it! It works flawlessly now, with no screen jerking up and down.

Yes, yes, it compiles with 5 warnings that I really don't know how to fix, but trust me, it works perfectly in-game.
:/

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

new Float:gPunchAngle[3] = { 0.00.00.0 }
new 
g_maxplayers

public plugin_init()
{
    
register_plugin("No Survivor Recoil""v1.0""ZP")
    
g_maxplayers get_maxplayers()
}

public 
server_frame()
{
    for ( new 
id 1id <= g_maxplayersid++ )         
    {
        if ( 
is_user_alive(id) && zp_get_user_survivor(id) )
            
set_pev(idpev_punchanglegPunchAngle);
    }

__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
 



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