Posts: 88
Threads: 24
Joined: Jun 2011
Reputation:
0
This is a strange thing happening to me. I have made some loops on OnPlayerDeath, but the if I put any code after them, it just gets skipped.. Now this may overload the ram usage and that causes to skip it, but I can't figure any other way to keep my loops on and have the other code under it.. well i fixed it by just placing it before the loops but anyone has a better idea? Same thing with OnPlayerDisconnect ..
Posts: 241
Threads: 22
Joined: May 2011
Reputation:
0
Make sure killerid id is not INVALID PLAYER, i had this bug too.
INVALID PLAYER is when you kill yourself, like jumping off an building and dying etc...
Posts: 88
Threads: 24
Joined: Jun 2011
Reputation:
0
Let me tell you what I exactly have.
First, i kill a timer, then change the value of some(damn i forgot its name.. usually start with new..). Then I hide some textdraws, set player's score, check if team player is this, that.. , then if the killerid is connected.. to increase his score. Then 4 loops in a row. and the last code which is about something important gets skipped...
Posts: 88
Threads: 24
Joined: Jun 2011
Reputation:
0
Nah, its not that, but anything after the timers.. gets skipped..
Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
I have had similar problems before. However, it turned out to be either something wrong with my computer or something with Windows. I was able to run the script via Linux and it worked just fine. I never determined the cause of that either.