26.02.2018, 10:03
(
Последний раз редактировалось StrikerZ; 26.02.2018 в 10:34.
)
Quote:
You really need to improve your code in general. You (enumaration) variable's names aren't unique which can make a lot of conflicts. You can improve some points too like this one (see below). Why do you create a new variable when you have already an enumeration for players?
PHP код:
I don't know why do you set timers to reset things, it's seems completely useless. You don't respect native functions check. I'm talking about functions which has been hooked. Providing a invalid player id (higher than MAX_PLAYERS in this occurrence) will result in a run time error. The general structure of your code is, for me, completely wrong. A player can't have 2 weapons at the same slot, why don't you refer to that instead of creating "Weapons[53]"? My English isn't that good like Pottus or anyone here but I hope you get my points. |