Jump to content

Funcion para ser inmortal --


Brad96

Recommended Posts

castillo ando practicando y probando funciones y no logro hacer que este funcione bien .. mi objetivo es pegar todos los autos y conducirlos pegados desde el primero pero no funciona alguien que me ayude y me corrija porfa

function ve() 
a = createVehicle ( 411,-1283.4169921875,-131.318359375,14.1484375 ) -- create a trailer tower (roadtrain) 
b = createVehicle ( 411,-1283.4169921875,-131.318359375+6,14.1484375 )  
c = createVehicle ( 411,-1283.4169921875,-131.318359375+12,14.1484375 )  
d = createVehicle ( 411,-1283.4169921875,-131.318359375+18,14.1484375 ) 
e = createVehicle ( 411,-1283.4169921875,-131.318359375+24,14.1484375 ) 
f = createVehicle ( 411,-1283.4169921875,-131.318359375+30,14.1484375 ) 
h = createVehicle ( 411,-1283.4169921875,-131.318359375+36,14.1484375 ) 
i = createVehicle ( 411,-1283.4169921875,-131.318359375+42,14.1484375 ) 
j = createVehicle ( 411,-1283.4169921875,-131.318359375+48,14.1484375 ) 
k = createVehicle ( 411,-1283.4169921875,-131.318359375+54,14.1484375 ) 
m = createVehicle ( 411,-1283.4169921875,-131.318359375+60,14.1484375 ) 
n = createVehicle ( 411,-1283.4169921875,-131.318359375+66,14.1484375 )  
o = createVehicle ( 411,-1283.4169921875,-131.318359375+72,14.1484375 ) 
p = createVehicle ( 411,-1283.4169921875,-131.318359375+78,14.1484375 ) 
   -- create a trailer 
   ab = attachTrailerToVehicle ( a, b ) 
   bc =attachTrailerToVehicle ( b, c ) 
   cd = attachTrailerToVehicle ( c, d ) 
   de = attachTrailerToVehicle ( d, e ) 
   ef = attachTrailerToVehicle ( e, f ) 
   fh = attachTrailerToVehicle ( f, h ) 
   hi = attachTrailerToVehicle ( h, i ) 
   ij = attachTrailerToVehicle ( i, j ) 
   jk = attachTrailerToVehicle ( j, k ) 
   km = attachTrailerToVehicle ( k, m ) 
   mn = attachTrailerToVehicle ( m, n ) 
   no = attachTrailerToVehicle ( n, o ) 
   op = attachTrailerToVehicle ( o, p ) 
 end 
addCommandHandler("g",ve) 
  
  

Edited by Guest
Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...