Raised This Month: $ Target: $400
 0% 

lasermine debug help pls


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
chasper
Member
Join Date: Dec 2012
Location: Hungary
Old 09-08-2013 , 10:31   lasermine debug help pls
Reply With Quote #1

Code:
L 09/08/2013 - 15:57:16: Invalid player id 151
L 09/08/2013 - 15:57:16: [AMXX] Run time error 10 (plugin "zp_lasermine_28.amxx") (native "get_user_flags") - debug not enabled!
L 09/08/2013 - 15:57:16: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

help pls:S


sma line :

Quote:
public Laser_TakeDamage(victim, inflictor, attacker, Float:f_Damage, bit_Damage)
{
if(get_pcvar_num(g_LBEO))
{
new i_Owner, flags
//
i_Owner = pev(victim, LASERMINE_OWNER)
flags = get_user_flags(attacker)
//
if(CsTeams:pev(victim, LASERMINE_TEAM) == cs_get_user_team(attacker))
//
if(i_Owner != attacker)
{
if (flags & ADMIN_KICK)
return PLUGIN_CONTINUE
else
return HAM_SUPERCEDE
}
return PLUGIN_CONTINUE
}
return PLUGIN_CONTINUE
}

Last edited by chasper; 09-08-2013 at 10:32.
chasper is offline
Cigojlo
Senior Member
Join Date: May 2013
Location: Serbia / Belgrade
Old 09-08-2013 , 10:53   Re: lasermine debug help pls
Reply With Quote #2

zp_lasermine_28.amxx debug
write debug after plugin name in plugin file to see errror
__________________
Quote:
Originally Posted by ghinghis View Post
the fuking TOP.SMA cannot be compiled moron !!!!!
Cigojlo 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 03:07.


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