When you put a condition ( if )
All the code that should follow that condition should be into { and }
PHP Code:
public CGLOCK18_SecondaryAttack( iWeapon )
{
new id = get_weapon_owner( iWeapon )
if( is_user_bot( id ) )
{
client_print(id, print_center, "Only Burst Mode Is Allowed")
set_weapon_nextsecondaryattack(iWeapon, get_gametime() + 0.3)
return HAM_SUPERCEDE
}
return HAM_IGNORED
}
__________________