Jump to content

Question

Posted

Salut Sa-mp.ro!!

Am tot vazut pe cateva servere, infernus de politie sau bullet.

Am decis sa incerc si eu dar am o mica problema:

http://www.youtube.com/watch?feature=endscreen&v=v-qtIVzSqVc&NR=1&hd=1

La mine se vede doar girofarul pe infernus, nu si luminitile .. Ma puteti ajuta sa le pun?

[pawn]

new CopVehicle[2]

CopVehicle[0] = AddStaticVehicle(411,1530.4741,-1645.2791,5.6101,2.0302,1,0) ; // cop car 1

CopVehicle[1] = AddStaticVehicle(411,1534.9143,-1644.8544,5.6091,4.8888,1,0); // cop car 2

new SirenC;

for(new i=0; i<sizeof(CopVehicle); i++)

{

    SirenC = CreateObject(19420, 10.0, 10.0, 10.0, 0, 0, 0);

    AttachObjectToVehicle(SirenC, CopVehicle, -0.039999, -0.469999, 0.669999, 0.000000, 0.000000, 0.000000);

}

[/pawn]

A si inca o intrebare coordinatele la masini , ca sa pui object cum le aflii? astea le-am luat de la un fs asemanator..

4 answers to this question

Recommended Posts

Posted

Sirena se vede doar seara si sunt 2 obiecte 19419 si 19420 vezi si tu care merge.

Si pentru a atasa obiecte trebuie sa creezi 2 sirene SirenC[0]; SirenC[1];

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Posted

[pawn]

-0.039999, -0.469999, 0.669999, 0.000000, 0.000000, 0.000000

[/pawn]

la astea ma refer acuma mie imi vine cam asa.. nu e chiar pe mijloc..

WH5G4p1.jpg

Posted

Daca vrei sa faci astea exista un tutorial AttachObjectToVehicle

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.