09.05.2013, 12:00
I checked everything under OnPlayerUpdate to have just that in the case of possession of minigun without variable you die
PHP код:
if(GetPlayerWeapon(playerid) == 38)
{
if(minigun[playerid] == 2) return 0;
if(minigun[playerid] == 0)
{
SetPlayerHealth(playerid, 0.00);
GameTextForPlayer(playerid, "~r~Il minigun e permesso solo a /minigundm", 3000, 4);
}
}