pawn Код:
// Creating the objects
SetPVarInt(playerid, "neonuc1", CreateObject(18646,0,0,0,0,0,0,100.0));
SetPVarInt(playerid, "neonuc2", CreateObject(18646,0,0,0,0,0,0,100.0));
AttachObjectToVehicle(GetPVarInt(playerid, "neonuc1"), GetPlayerVehicleID(playerid), -0.5, -0.2, 0.8, 2.0, 2.0, 3.0);
AttachObjectToVehicle(GetPVarInt(playerid, "neonuc2") GetPlayerVehicleID(playerid), -0.5, -0.2, 0.8, 2.0, 2.0, 3.0);
pawn Код:
DestroyObject(GetPVarInt(playerid, "neonuc1")), DestroyObject(GetPVarInt(playerid, "neonuc2")); // Destroying the objects