if(strcmp(Cmd, "/supmobil", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pSupporter] >= 1)
{
if(supmobil[playerid] != 0)
{
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(supmobil[playerid],engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(supmobil[playerid],VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);
DestroyVehicle(supmobil[playerid]);
Delete3DTextLabel(suptext[playerid]);
SendClientMessage(playerid, COLOR_GREY, "Fahrzeug vernichtet.");
supmobil[playerid] = 0;
}
else
{
ShowPlayerDialog(playerid, DIALOG_SUPMOBIL, DIALOG_STYLE_LIST, "Mady By LSR Deine Fahrzeug Auswahl", "1. Comet\n2. Sultan\n3. Bus\n4. NRG\n5. Boot\n6. Heli\n7. Fahrzeug ID", "Auswahl", "Abbrechen");
}
}
else return SendClientMessage(playerid, COLOR_GREY, "Du bist kein Admin.");
}
return 1;
}
Da kommt error raus was ist da falsch hab das als filterscript getestet und so aber geht nicht