Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {{Scripting ES}}
- {{Title}}
- {{Description|Agrega un vehiculo a tu servidor.}}
- {{Note ES|Esta funcion solo funciona en [[OnGameModeInitES|OnGameModeInit]] o bien en [[OnFilterScriptInit ES|OnFilterScriptInit]]. Para crear vehiculos durante el juego mira [[CreateVehicle ES|CreateVehicle]]}}
- {{Parameters ES|modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2}}
- {{Param|modelid|ID del [[Vehicle_Models|modelo]]}}
- {{Param|Float:spawn_X|La coordenada X donde spawneara el vehiculo.}}
- {{Param|Float:spawn_Y|La coordenada Y donde spawneara el vehiculo.}}
- {{Param|Float:spawn_Z|La coordenada Z donde spawneara el vehiculo.}}
- {{Param|Float:angle|El Angulo en el que spawneara el vehiculo.}}
- {{Param|color1|ID del [[color ID|color]] principal.}}
- {{Param|color2|ID del [[color ID|color]] secundario.}}
- {{Returns|ID del vehiculo creado.}}
- '''Ejemplo:'''
- <pawn>
- public OnGameModeInit( )
- {
- //Agregar un hydra al servidor.
- AddStaticVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1);
- return 1;
- }
- </pawn>
- {{RelatedFunctions ES}}
- {{AddStaticVehicleEx ES}}
- {{CreateVehicle ES}}
- {{DestroyVehicle ES}}
- [[Category:Scripting Functions ES]]
- [[en:AddStaticVehicle]]
- [[nl:AddStaticVehicle]]
- [[ru:AddStaticVehicle]]
- [[zh:AddStaticVehicle函数]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement