Raised This Month: $51 Target: $400
 12% 

any idea what this means?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
New and Clueless
Senior Member
Join Date: Dec 2015
Old 02-02-2016 , 15:51   any idea what this means?
Reply With Quote #1

Code:
L 02/02/2016 - 20:47:13: [AMXX] Displaying debug trace (plugin "sh_a_tracker.amxx")
L 02/02/2016 - 20:47:13: [AMXX] Run time error 4: index out of bounds 
L 02/02/2016 - 20:47:13: [AMXX]    [0] sh_a_tracker.sma::tracker_damage (line 109)
L 02/02/2016 - 20:47:13: Invalid player id 97
i always get this when im on a certain map

Code:
error part of the code: 

public tracker_damage(id)
{
  new victim = id
  new attacker = get_user_attacker(victim)
  new maxTargets = get_cvar_num("tracker_maxtargets")
  
  if(maxTargets == 0)
    maxTargets = 32
  
  if(hasTrackerPowers[attacker] && attacker!=victim && get_user_team(attacker)!=get_user_team(victim) && numTargets[attacker]<maxTargets)
  {
    isTagged[attacker][victim] = true
    numTargets[attacker] = numTargets[attacker]++
    timeLeft[attacker][victim] = get_cvar_float("tracker_timetargeted")
    if(timeLeft[attacker][victim]==0.0)
      timeLeft[attacker][victim] = -1.0
  }
}
__________________

ANY SCRIPTER ON THIS FORUM HAS FREE VIP/ADMIN IN MY SERVER!

Last edited by New and Clueless; 02-06-2016 at 22:57.
New and Clueless is offline
 



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 02:58.


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