Raised This Month: $ Target: $400
 0% 

Help please


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Randomize
BANNED
Join Date: May 2012
Location: in your heart
Old 08-18-2012 , 04:43   Help please
Reply With Quote #1

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <engine_stocks>

#define IN_RUN            (1<<12)

    
RegisterHam(Ham_Weapon_SendWeaponAnim,"weapon_mp5","walk");
}
public 
walkid )
{
    if (
get_user_button(id) & IN_RUN)
    {
        
SendWeaponAnimid);
    }
    
set_task(2.0"walk"id)

SendWeaponAnimidrun //SendWeaponAnim( id, animation )
{
    
set_pevid"weapon_mp5"); //set_pev( id, pev_weaponanim, animation );

    
message_beginMSG_ONE_UNRELIABLESVC_WEAPONANIM, .player id );
    
write_byterun );
    
write_bytepevid) ); //write_byte( pev( id, pev_body ) );
    
message_end();

Got some errors

Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Error: Undefined symbol "set_pev" on line 28
Error: Undefined symbol "pev" on line 32

2 Errors.
Could not locate output file C:\Program Files\AMX Mod X\amxxstudio\Untitled.amx (compile failed).

Last edited by Randomize; 08-18-2012 at 04:48.
Randomize 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 05:52.


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