AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Specific functions on weapons (https://forums.alliedmods.net/showthread.php?t=89268)

fezh 04-04-2009 10:38

Specific functions on weapons
 
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...

fezh 04-04-2009 13:08

Re: Specific functions on weapons
 
Solved, trash it :mrgreen:


All times are GMT -4. The time now is 02:19.

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