17.08.2018, 10:18
Quote:
|
Yeah I also feel that this is a better script but I haven't checked yet can you state that these features are in your script or not
|
Quote:
|
You constantly change the textdraw to show kills to player like 20+ times a second (in OnPlayerUpdate). Use OnPlayerDeath and change it only when needed:
pawn Code:
• When player dies on their own, killerid is 65535 (INVALID_PLAYER_ID). If you use it in arrays as [killerid], then a run time error 4 will occur and the code execution will stop. You are lucky now because you do not have code after this, but if you did it would bug it. Always check if it is not equal to INVALID_PLAYER_ID and then use it. • You can use switch instead of if/else if in cases like checking listitem and Skills[killerid]. |
thank you


