Raised This Month: $32 Target: $400
 8% 

Error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DavidJr
Senior Member
Join Date: Apr 2012
Old 04-24-2012 , 20:54   Error
Reply With Quote #1

Seems my post has been trashed

Code:
//Movement Effect V.1.1
//Special thanks Fe Ar for bind command

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Movement Effect"
#define VERSION "1.0"
#define AUTHOR "David Vincent B."


public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
    register_clcmd("run", "test")
}
stock set_weapon_anim(id, anim)
{
    set_pev(id, pev_weaponanim, anim)
    message_begin(MSG_ONE_UNRELIABLE, SVC_WEAPONANIM, _, id)
    write_byte(anim)
    write_byte(pev(id,pev_body))
    message_end()
}
public test(id){
 set_weapon_anim(id,1)
 console_cmd(id, "bind W run")
}
what's wrong with this? error when compiled
DavidJr 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 20:09.


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