18.01.2018, 12:45
Quote:
You should check if the player is valid (connected) before treating the code. I'm talking about every callback/commands related to the players like Misiur said.
Do you have any problems left? |
Actually the problem started i tried to reduce the size of amx i removed many Global varaibles even timers and trying and start using SetPVarInt() and GetPVarInt this reduce the size of amx but they are slow i know that after adding them my server become shit. I even removed all of them where ever i used them but the crash issue not going.
I was even using SetPVarInt(playerid,"Timer",SetTimerEx("OnPlayerSo mething",1000,0,"d",playerid));
KillTimer(playerid,GetPVarInt(playerid,"Timer"));
I even removed those timer and move them back to global varaibles but the crash not fixing still.