Server Crashing When Armor Shot?
#2

In this part you don't check if "issuerid" is not equal to INVALID_PLAYER_ID:
Код:
if (actmarker[issuerid] >= 1)
{
    TextDrawShowForPlayer(issuerid, HitMarker);
    timarker = SetTimerEx("HTD", 250, true, "%d", issuerid);
}
Moreover instead of having 6 if/else if statements for checking "issuerid != INVALID_PLAYER_ID", have it once at the top and let the rest inside it (except the last part with pFirstAid).
Reply


Messages In This Thread
Server Crashing When Armor Shot? - by oSAINTo - 16.08.2016, 13:23
Re: Server Crashing When Armor Shot? - by Konstantinos - 16.08.2016, 13:31
Re: Server Crashing When Armor Shot? - by oSAINTo - 16.08.2016, 13:36
Re: Server Crashing When Armor Shot? - by Shinja - 16.08.2016, 13:44
Re: Server Crashing When Armor Shot? - by Konstantinos - 16.08.2016, 13:52
Re: Server Crashing When Armor Shot? - by oSAINTo - 16.08.2016, 13:53
Re: Server Crashing When Armor Shot? - by Konstantinos - 16.08.2016, 13:57

Forum Jump:


Users browsing this thread: 6 Guest(s)