Jump to content

Cerere tutorial Alien-Laser


Stefan F.

Recommended Posts

Descriere tutorial:As vrea un tutorial in care sa atasej unui obiect un fel de checkpoint si sub actiunea unei comenzi sa fie precum un tun.Nu cer script,doar cum il pot face sa apara sub actiuena unei comenzi si sa explodeze.Va las un video sa intelegeti la ce ma reefer.

Link to comment
Share on other sites

Salut, pot sa spun ca acele luminite sunt niste obiecte (id 18717) . Cand scrii acea comanda

ar trebuie sa: creezi obiectele( spark[1] = CreateObject(18717,etc,etc)  ) acolo in aer, dupa care sa le muti (MoveObject x y z-20) x y si z fiind din functia GetObjectPos(spark[1],x,y,z);.

Dupa acea pui un timer de 5 secudne sa zicem(cam atat ar lua scanteile sa ajunga jos), in timerul respectiv distrugi si creezi o explozie

 apelezi la GetObjectPos(spark[1],x,y,z-20);.   DestroyObject(spark[1])  

si creeezi o explozie   CreateExplosion(x,y,z-20,7,70.0);

Iar laserul acela verde este probabil acest obiect 

CreateObject(18658, 224.42470, 1737.64087, 76.82075,   -90.00000, 0.00000, 0.00000);

 

cu material setat

SetObjectMaterial(CreateObject(18658, 224.42470, 1737.64087, 76.82075,   -90.00000, 0.00000, 0.00000), 0, 8839, "vgsecarshow", "lightgreen2_32", 0xFFFFFFFF);

 

Sper ca te-am ajutat cu ceva sa incerci sa faci acest script, sau cel putin sa intelegi acel script pentru ca daca nu il intelegi nu ai cum sa il realizezi.

EDIT: 

Am cautat alien laser samp fs pe google si am gasit acest script deci imi place ca ai cautat inainte sa ceri tutorialul :)  . Daca te uiti prin el poti sa il faci singur.

http://forum.sa-mp.com/showthread.php?t=449979

Edited by Mister
  • Upvote 1

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.