public OnPlayerDeath(playerid, killerid, reason)
{
new Float:pPosX, Float:pPosY, Float:pPosZ;
GetPlayerPos(playerid, pPosX, pPosY, pPosZ);
for(new i_slot = 0, gun, ammo; i_slot != 12; i_slot++)
{
GetPlayerWeaponData(playerid, i_slot, gun, ammo);
if(gun != 0 && ammo != 0) Fegyvereldobas(gun, ammo, pPosX+random(2)-random(2), pPosY+random(2)-random(2), pPosZ);
}
ehseg[playerid] = 101;
szomjusag[playerid] = 101;
kiswc[playerid] = 101;
nagywc[playerid] = 101;
higienia[playerid] = 101;
Ehseg(playerid);
Higienia(playerid);
Kiswc(playerid);
Szomjusag(playerid);
Nagywc(playerid);
Ment(playerid);
return 1;
}