AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   getting errors (https://forums.alliedmods.net/showthread.php?t=134917)

Frostas 08-10-2010 04:41

getting errors
 
PHP Code:

public Fw_CmdStart(clientuc_handleseed)
{
    if (!
is_user_alive(client)) 
        return 
FMRES_IGNORED

    
new button get_uc(uc_handleUC_Buttons)
    new 
oldbuttons pev(clientpev_oldbuttons)

    static 
entbody
    
new Floataim_distance get_user_aiming(cliententbody)
    
    if (
PRESSED(IN_USE) && aim_distance <= DISTANCE_E_BUTTON_USE)
    {
        if (
pev_valid(ent))
            {
            static 
classname[32];
            
pev(entpev_classnameclassnamecharsmax(classname)) // undefine symbol "charsmax"

            
else if (equal(classname"Guard"))
            {
                
Main_Guard_Menu(client)
                return 
FMRES_IGNORED;
            }
        }
    }
    return 
FMRES_IGNORED;




All times are GMT -4. The time now is 21:51.

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