23.04.2013, 18:52
try this
or try this FS to help your attach objects to your vehicles
https://www.******.tn/url?sa=t&rct=j...45580626,d.ZGU
pawn Код:
new
sirena,
bool:sirenaU;
CMD:sirena(playerid, params[])
{
if(sirenaU == false)
{
sirena = CreateObject(18646, 10.0, 10.0, 10.0, 0, 0, 0);
AttachObjectToVehicle(Sirena, GetPlayerVehicleID(playerid), 0.0, 0.75, 0.275, 0.0, 0.1, 0.0);
sirenaU = true;
} else {
DestroyObject(sirena);
sirenaU = false;
}
return 1;
}
https://www.******.tn/url?sa=t&rct=j...45580626,d.ZGU