hlmod.hu
https://hlmod.hu/

debug mi lehet a gond?
https://hlmod.hu/viewtopic.php?f=9&t=10193
Oldal: 1 / 1

Szerző:  ChaspeR [ 2013.08.14. 17:29 ]
Hozzászólás témája:  debug mi lehet a gond?

SMA Forráskód: [ Mindet kijelol ]
  1. public Laser_TakeDamage(victim, inflictor, attacker, Float:f_Damage, bit_Damage)
  2. {
  3. if(get_pcvar_num(g_LBEO))
  4. {
  5. new i_Owner, flags
  6.  
  7. //
  8. i_Owner = pev(victim, LASERMINE_OWNER)
  9. flags = get_user_flags(attacker)
  10.  
  11. //
  12. if(CsTeams:pev(victim, LASERMINE_TEAM) == cs_get_user_team(attacker))
  13. //
  14. if(i_Owner != attacker)
  15. {
  16. if (flags & ADMIN_KICK)
  17. return PLUGIN_CONTINUE
  18. else
  19. return HAM_SUPERCEDE
  20. }
  21. return PLUGIN_CONTINUE
  22. }
  23. return PLUGIN_CONTINUE
  24. }


Ebbe mi lehet a gond? Ezt írja log:

L 08/14/2013 - 12:51:02: [AMXX] Run time error 10: native error (native "get_user_flags")
L 08/14/2013 - 12:51:02: [AMXX] [0] b00v4936.sma.p::Laser_TakeDamage (line 228)


(Áthelyezné valaki a kérdésekhez? Basszus nem ide akartam:D)

Oldal: 1 / 1 Minden időpont UTC+02:00 időzóna szerinti
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/