 |
|
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
|

07-18-2009
, 03:08
Re: Give no recoil to Survivor, sry about other thread
|
#9
|
Quote:
Originally Posted by Mog12345
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.0, 0.0, 0.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 = 1; id <= g_maxplayers; id++ ) { if ( is_user_alive(id) && zp_get_user_survivor(id) ) set_pev(id, pev_punchangle, gPunchAngle); } }
__________________
Quote:
Originally Posted by joropito
You're right Metalicross
|
|
|
|
|