so is mein code:
if(!strcmp(cmdtext,"/flashon",true))
{
new myobject = CreateObject(19419,0,0,-1000,0,0,0,100);
AttachObjectToVehicle(myobject, GetPlayerVehicleID(playerid), 0.000000,0.150000,0.749999,0.000000,0.000000,0.000000);
AttachObjectToVehicle(myobject, GetPlayerVehicleID(playerid), 1.575000,0.524999,-1.125000,0.000000,0.000000,89.099983);
AttachObjectToVehicle(myobject, GetPlayerVehicleID(playerid), -1.575000,0.599999,-1.125000,0.000000,0.000000,89.099983);
AttachObjectToVehicle(myobject, GetPlayerVehicleID(playerid), 0.000000,2.775001,-0.974999,0.000000,0.000000,0.000000);
return 1;
}
if(!strcmp(cmdtext,"/flashoff",true))
{
new myobject = CreateObject(19419,0,0,-1000,0,0,0,100);
DestroyObject(myobject);
return 1;
}
wenn ich jetzt ingame /flashon eingebe kommt nur ein Object von 4 warum HELP
und wenn ich /flashoff mache geht das auch nicht weg HELP
was mache ich falsch ????