11.07.2016, 00:16
if(issuerid != INVALID_PLAYER_ID && gHelmet[playerid] == true)
-> you need to remove the helmet here
Stop copy pasting code from random places, seriously.
-> you need to remove the helmet here
PHP код:
(issuerid != INVALID_PLAYER_ID && gHelmet[playerid] == true)
{
gHelmet[playerid]=false; // << There, as simple as that
return GameTextForPlayer(issuerid,"~r~Player have helmet protection",5000,3);
}