Hallo,
Die Überschrift sagt alles.
{
new vid = GetPlayerVehicleID(playerid);
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
sirene[vid] = CreateDynamicObject(18646,x,y,z,0,0,0,100);
AttachObjectToVehicle(sirene[vid],vid,-0.5, -0.2, 0.8, 2.0, 2.0, 3.0);
sirenean[vid] = true;
SendClientMessage(playerid,0xFF0000,"Du hast die Sirene angebaut!");
}
MfG