Raised This Month: $ Target: $400
 0% 

Specific functions on weapons


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 04-04-2009 , 10:38   Specific functions on weapons
Reply With Quote #1

I wanna know how I can do it.

PHP Code:
public example_functionid )
{
    new 
szCurrent find_ent_by_class( -1"weapon_knife" )

    while( 
szCurrent != )
    {
        
szCurrent find_ent_by_classszCurrent"weapon_knife" )
        
client_print(  idprint_chat"Example Print" )
    }

    return 
PLUGIN_HANDLED

This is just searching entities...
__________________
"There is no knowledge, that is not power"
fezh is offline
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 04-04-2009 , 13:08   Re: Specific functions on weapons
Reply With Quote #2

Solved, trash it
__________________
"There is no knowledge, that is not power"
fezh 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 02:19.


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