Hallo User habe im mom schon das hier drinen
//=============================[dcmd befehle]================================================
dcmd_licht(playerid,params[])
{
#pragma unused params
new vehid = GetPlayerVehicleID(playerid);
if(GetPVarInt(playerid,"lichtan")==1)
{
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(vehid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vehid,engine,0,alarm,doors,bonnet,boot,objective);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~W~Licht ~g~an!", 2000, 5);
SetPVarInt(playerid,"lichtan",1);
}
if(GetPVarInt(playerid,"lichtaus")!=0)
{
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(vehid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vehid,engine,1,alarm,doors,bonnet,boot,objective);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~W~Licht~r~aus!", 2000, 5);
SetPVarInt(playerid,"lichtaus",0);
}
return 1;
}
bracuhe jetzt noch ein befehl der das an und aus macht aber kp wie ich es einfügen muss kan vlt jemander per TV machen