Hey Leute ich
hab in mein DM Script einen Art "Schwarzmarkt"
eingebaut in denen es verschiedene Sachen gibt mit denen
man sein Geld verschweden kann.
Nun möchte ich aber das die erstellten Autos nach 30Min wieder
zerstört werden , also verschwinden.
fs = CreateMenu("Fahrzeuge",2, 200.0, 150.0, 120.0, 50.0);
AddMenuItem(fs,0, "Zr-300(25k)");
AddMenuItem(fs,0, "Special(35k)");
AddMenuItem(fs,0, "FBI-Rancher(50k)");
AddMenuItem(fs,0, "Racer(75k)");
AddMenuItem(fs,0, "Rhino(150k)");
AddMenuItem(fs,0, "Abbrechen");
f(CurrentMenu == fs)
{
switch(row)
{
case 0:
{
GameTextForPlayer(playerid,"Zr gekauft!(60min) (-25.000$)",3000,3);
GivePlayerMoney(playerid,-25000);
CreateVehicle(477,736.7525,-1333.3210,13.2965,229.6027,1,1,200);
}
case 1:
{
GameTextForPlayer(playerid,"Special gekauft!(60min) (-35.000$)",3000,3);
GivePlayerMoney(playerid,-35000);
CreateVehicle(421,735.1519,-1337.7198,13.4158,230.9209,1,1,200);
}
case 2:
{
GameTextForPlayer(playerid,"FBI-Rancher gekauft!(60min) (-50.000$)",3000,3);
GivePlayerMoney(playerid,-50000);
CreateVehicle(490,742.5776,-1333.3650,13.6713,229.8809,1,1, 200);
}
case 3:
{
GameTextForPlayer(playerid,"Racer gekauft!(60min) (-75.000$)",3000,3);
GivePlayerMoney(playerid,-75000);
CreateVehicle(494,742.5776,-1333.3650,13.6713,229.8809,1,1, 200);
}
case 4:
{
GameTextForPlayer(playerid,"Rhino gekauft!(60min) (-150.000$)",3000,3);
GivePlayerMoney(playerid,-150000);
CreateVehicle(432,742.5776,-1333.3650,13.6713,229.8809,1,1, 200);
}
}
}
Mit freundlichen Grüßen Nor