Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Mesma função do CreateVehicle, só que mais rápido.
- //Créditos: Jeffrey_Hatrix
- stock _CreateVehicle ( vehtype, Float:x, Float:y, Float:z, Float:r, c1, c2, spawn_time )
- {
- static type , Float: pos_ [ 4 ] , color [ 2 ] , spawn ;
- color [ 0 ] = c1 , color [ 1 ] = c2 , pos_ [ 0 ] = x , pos_ [ 1 ] = y , pos_ [ 2 ] = z , pos_ [ 3 ] = r , type = vehtype , spawn = spawn_time ;
- return ( CallLocalFunction ( "CreateVehicle" , "iffffiii" , type , pos_ [ 0 ] , pos_ [ 1 ] , pos_ [ 2 ] , pos_ [ 3 ] , color [ 0 ] , color [ 1 ] , spawn ) ) ;
- }
- #define CreateVehicle _CreateVehicle
- //método de uso:
- CreateVehicle ( modelo , x , y , z , rotation , cor 1 , cor 2 , spawn time ) ;
Advertisement
Add Comment
Please, Sign In to add comment