Raised This Month: $ Target: $400
 0% 

pev_fuser1


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ChaosPriest
Member
Join Date: May 2005
Old 07-21-2007 , 22:34   pev_fuser1
Reply With Quote #1

just needing to know what it is and how to implement it into a plugin, as far as what needs to come after it?


and if anyone is familiar with ecx(RC2) its an esf addon. trying to make a plugin to increase the swooping speed for characters after they have transformed. this is what i have so far. am i even close?


#include <amxmodx>
#include <esf>
#include <fakemeta>

new PLUGIN[]="SwoopChanger"
new AUTHOR[]="ChaosPriest"
new VERSION[]="1.0"

public plugin_init()
{

register_plugin(PLUGIN, AUTHOR, VERSION )
register_concmd("amx_swoop", "swoop", ADMIN_KICK, "<target> <speed>")
register_cvar( "amx_swoop", "3000" );
register_forward(FM_PlayerPreThink, "Forward_PlayerPreThink" )
return PLUGIN_CONTINUE
}

public swoop(id)

{
if (!(get_user_flags(id)&ADMIN_KICK))
console_print(id,"[AMXX] No access")
return PLUGIN_HANDLED


}
public amx_swoop()
{
set_pev( pev_fuser1, 3000 );
return PLUGIN_HANDLED
}
__________________

Last edited by ChaosPriest; 07-21-2007 at 22:36.
ChaosPriest 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 21:27.


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