Siren
#2

try this
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;
}
or try this FS to help your attach objects to your vehicles
https://www.******.tn/url?sa=t&rct=j...45580626,d.ZGU
Reply


Messages In This Thread
Siren - by Povis - 23.04.2013, 18:44
Re: Siren - by DaTa[X] - 23.04.2013, 18:52
Re: Siren - by Povis - 23.04.2013, 19:05

Forum Jump:


Users browsing this thread: 1 Guest(s)