SA-MP Forums Archive
Hlp me please +REP1 ! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Hlp me please +REP1 ! (/showthread.php?tid=482751)



Hlp me please +REP1 ! - VenomMancer - 22.12.2013

Hello guys !

Look this picture :



I want the siren , will avaible to add on any others vehicle!
Example can add on infernus!
please help me.
i really need it .

Sorry for my bad english.

If helped, i give +REP1!



Re: Hlp me please +REP1 ! - iBeast - 22.12.2013

https://sampforum.blast.hk/showthread.php?tid=215963
Use this object attacher to attach any object to vehicles and the object Id for that siren is 19419.


Re: Hlp me please +REP1 ! - SilentSoul - 22.12.2013

pawn Код:
CMD:siren(playerid , params[])
{
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xFF00000FF,"You're not inside a vehicle");//checking if the player inside any vehicle you can customize the model by using GetVehicleModel function !=
    new SirenObject,VID;//declarying
    SirenObject = CreateObject(18646, 10.0, 10.0, 10.0, 0, 0, 0);
    AttachObjectToVehicle(SirenObject,VID, 0.0, 0.75, 0.275, 0.0, 0.1, 0.0);
    return 1;
}
Sources : https://sampwiki.blast.hk/wiki/IsPlayerInAnyVehicle
https://sampwiki.blast.hk/wiki/AttachObjectToVehicle


Re: Hlp me please +REP1 ! - VenomMancer - 23.12.2013

Quote:
Originally Posted by iBeast
Посмотреть сообщение
https://sampforum.blast.hk/showthread.php?tid=215963
Use this object attacher to attach any object to vehicles and the object Id for that siren is 19419.
Thanks Worked
REP1+