Raised This Month: $ Target: $400
 0% 

get_weaponname(id)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 01-31-2009 , 10:31   Re: get_weaponname(id)
Reply With Quote #1

Quote:
Originally Posted by tuty View Post
Another stupid question but i must learn today something..

How can i know when a player have weapon_burningattack?

EX:

if(weapon == (burningattack))
{
}

or something
PHP Code:
new szWeapon[33];
get_weaponnameweaponID szWeapon )

if( 
equalszWeapon "weapon_burningatack" )
    
//do something

OR

if( 
weaponID == BURNINGATTACK_WEAPONID )
   
//do something 
__________________
Bugsy is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 01-31-2009 , 10:48   Re: get_weaponname(id)
Reply With Quote #2

thank you
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
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 01:40.


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