Neptune

Ayuda/Help, Neon for aircraft vehicles

Recommended Posts

Alguien de casualidad sabe como ponerle neon al hydra? pasa que encontre un script de neon ( https://community.multitheftauto.com/index.php?p=resources&s=details&id=14387 ) y resulta que no se puede poner neon en vehiculos aereos, al entrar al archivo zip, en el bloc llamado server, aparece algo tipo:

               elseif ( id == 504 ) then
                    attachElements ( neon3, theVehicle or source, 0, 1.1, -0.55, 0, 0, 90 )
                    attachElements ( neon2, theVehicle or source, 0, -1.15, -0.55, 0, 0, 90 )
                    attachElements ( neon1, theVehicle or source, 0.95, 0, -0.55)
                    attachElements ( neon, theVehicle or source, -0.95, 0, -0.55 )

busque la id del hydra, o bien, vehiculos aereos en general, pues he visto varios servers en los que vehiculos aereos pueden tener neon(un ejemplo puede ser el Proyecto SX)

alguien tiene todos esos comandos para vehiculos aéreos?xd

Share this post


Link to post

Bueno deberias de hacer algo asi:
 

vehicleIds = {400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415,
	416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433,
	434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451,
	452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469,
	470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487,
	488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505,
	506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523,
	524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541,
	542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559,
	560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577,
	578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595,
	596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611}
----Aqui Colocas las ids de los vehiculos a cuales le quieres añadir el neon.
if ( id == vehicleIds ) then
  attachElements ( neon3, theVehicle or source, 0, 1.1, -0.55, 0, 0, 90 )
  attachElements ( neon2, theVehicle or source, 0, -1.15, -0.55, 0, 0, 90 )
  attachElements ( neon1, theVehicle or source, 0.95, 0, -0.55)
  attachElements ( neon, theVehicle or source, -0.95, 0, -0.55 ) 
  
  
--- O puedes ir creandolo tu mismo por cada id, ejemplo:
               elseif ( id == 504 ) then
                    attachElements ( neon3, theVehicle or source, 0, 1.1, -0.55, 0, 0, 90 )
                    attachElements ( neon2, theVehicle or source, 0, -1.15, -0.55, 0, 0, 90 )
                    attachElements ( neon1, theVehicle or source, 0.95, 0, -0.55)
                    attachElements ( neon, theVehicle or source, -0.95, 0, -0.55 ) 
               elseif ( id == 548 ) then
                    attachElements ( neon3, theVehicle or source, 0, 1.1, -0.55, 0, 0, 90 )
                    attachElements ( neon2, theVehicle or source, 0, -1.15, -0.55, 0, 0, 90 )
                    attachElements ( neon1, theVehicle or source, 0.95, 0, -0.55)
                    attachElements ( neon, theVehicle or source, -0.95, 0, -0.55 ) 
                 elseif ( id == 520 ) then
                    attachElements ( neon3, theVehicle or source, 0, 1.1, -0.55, 0, 0, 90 )
                    attachElements ( neon2, theVehicle or source, 0, -1.15, -0.55, 0, 0, 90 )
                    attachElements ( neon1, theVehicle or source, 0.95, 0, -0.55)
                    attachElements ( neon, theVehicle or source, -0.95, 0, -0.55 ) 
---Asi sucesivamente....

Espero que te sirva...

Share this post


Link to post

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

  • Recently Browsing   0 members

    No registered users viewing this page.