public Clearoroceries(playerid)
{
if(IsPlayerConnected(playerid))
{
Groceries[playerid][pChickens] = 0; Groceries[playerid][pChicken] = 0;
Groceries[playerid][pHamburgers] = 0; Groceries[playerid][pHamburger] = 0;
Groceries[playerid][pPizzas] = 0; Groceries[playerid][pPizza] = 0;
}
return 1;
new kName[128];
new string[256];
//M_OnPlayerDeath(playerid,killerid,reason);
GW_OnPlayerDeath(playerid, killerid, reason);
if(PlayerInfo[playerid][pJob] == 2 && HatBereitsErlaubnis[playerid] == 1)
{
SendClientMessage(playerid,COLOR_LIGHTBLUE," Weil du gestorben bist hast du deine Anwaltserlaubnis verloren!");
HatBereitsErlaubnis[playerid] = 0;
new string[100], sendername[MAX_PLAYER_NAME];
GetPlayerName(playerid, sendername, sizeof(sendername));
if(response)
CreateDynamicObject(716,1728.47314453,-1661.38879395,19.23736954,0.00000000,0.00000000,44.00000000); //object(sjmpalmbigpv) (1)
CreateDynamicObject(716,1721.24206543,-1668.26013184,19.22559547,0.00000000,0.00000000,43.99475098); //object(sjmpalmbigpv) (2)
CreateDynamicObject(3051,1713.54956055,-1640.56774902,20.58095360,0.00000000,0.00000000,0.00000000); //object(lift_dr)
AddStaticVehicleEx(462,1062.30004883,-1775.40002441,13.00000000,270.00000000,1,1,15); //Faggio
SaveFillstations();
AddStaticPickup(1273, 23, HouseInfo[hh][hEntrancex], HouseInfo[hh][hEntrancey], HouseInfo[hh][hEntrancez]+1,15,0,1);