-
Scripting Help
(
https://forums.alliedmods.net/forumdisplay.php?f=11)
- -
getting errors
(
https://forums.alliedmods.net/showthread.php?t=134917)
getting errors
PHP Code:
public Fw_CmdStart(client, uc_handle, seed)
{
if (!is_user_alive(client))
return FMRES_IGNORED
new button = get_uc(uc_handle, UC_Buttons)
new oldbuttons = pev(client, pev_oldbuttons)
static ent, body
new Float: aim_distance = get_user_aiming(client, ent, body)
if (PRESSED(IN_USE) && aim_distance <= DISTANCE_E_BUTTON_USE)
{
if (pev_valid(ent))
{
static classname[32];
pev(ent, pev_classname, classname, charsmax(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.