Jump to content

Recommended Posts

Posted

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.

Posted (edited)

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
Posted

O sa incerc xum ai zis tu.Dar laserul trebuia sa apara in urmatoarea vrsiune iar Pottus s-a lasat de sa-mp

.

Posted

Nu am reusit sa-l atasej navei,dar am reusit sa-l atasej player-ului care foloseste comanda,si in loc de explozie am pus o bomba...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.