Osvaldo098 Posted May 28, 2013 Posted May 28, 2013 hola, para sacar el capote, osea el bonnet de un coche con un resource. se puede? si es asi me ayudarian? gracias.
Sensacion Posted May 28, 2013 Posted May 28, 2013 te refieres a abrir el capote de un vehículo? o a retirarlo por completo.
NodZen Posted May 28, 2013 Posted May 28, 2013 Tienes que usar esta funcion: setVehicleDoorState ------------------------------------------------------------------------------------------ My scripts http://community.multitheftauto.com/index.php?p=resources&s=details&id=6977 http://community.multitheftauto.com/index.php?p=resources&s=details&id=7740
Castillo Posted May 28, 2013 Posted May 28, 2013 Y para abrirlo usa la funcion: https://wiki.multitheftauto.com/wiki/Se ... rOpenRatio San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Osvaldo098 Posted May 29, 2013 Author Posted May 29, 2013 es para sacar el capote por completo, intentare
Osvaldo098 Posted May 31, 2013 Author Posted May 31, 2013 waaa no pude, me darias una base del script? gracias de antemano
Castillo Posted May 31, 2013 Posted May 31, 2013 Postea lo que intentaste. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Osvaldo098 Posted May 31, 2013 Author Posted May 31, 2013 intente hacer esto, pero soy tan noob que ni sabia que hacer function () state = setVehicleDoorState ( aqui iria el coche actual, 0, 4 ) addCommandHandler ( "capo", state ) Lo que quiero hacer, es que al dijitar un comando, se saque el capo del coche actual
AlvareZ_ Posted June 1, 2013 Posted June 1, 2013 (edited) function state() setVehicleDoorState ( aqui iria el coche actual, 0, 4 ) end addCommandHandler ( "capo", state ) Edited June 1, 2013 by Guest
FraN-724 Posted June 1, 2013 Posted June 1, 2013 te falto cerrar la funcion function state() setVehicleDoorState ( aqui iria el coche actual, 0, 4 ) end addCommandHandler ( "capo", state )
Castillo Posted June 1, 2013 Posted June 1, 2013 function state ( thePlayer ) local vehicle = getPedOccupiedVehicle ( thePlayer ) if ( vehicle ) then setVehicleDoorState ( vehicle, 0, 4 ) end end addCommandHandler ( "capo", state ) Con ese deberia funcionar, es server side el script. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Osvaldo098 Posted June 4, 2013 Author Posted June 4, 2013 Solidsnake sos la riata muchisisisimas gracias, ansiaba el mod
Castillo Posted June 4, 2013 Posted June 4, 2013 De nada. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts