Brad96 Posted September 29, 2013 Posted September 29, 2013 function Reparar(thePlayer) local Veiculo = getPedOccupiedVehicle(thePlayer) if Veiculo then outputChatBox ("-Auto Reparado "..getPlayerName(thePlayer),player,0,255,0,true) fixVehicle(Veiculo) else outputChatBox ("-No Tienes Auto..",thePlayer,255,0,0) bindKey(source,"1","down",Reparar) end end addEventHandler("onPlayerVehicleEnter",getRootElement,Reparar) el problema esque deberia mostrarme el mensaje solo ami y lo muestra a todo el server se que es "getRootElement" me explicarian que usar ? y donde puedo consegir informacion de todos estos eventos o nose como se llaman .. gracias Mi Nick En El Juego : Bs|Brad Mi Skype : fer_va_96
Castillo Posted September 29, 2013 Posted September 29, 2013 No, el problema es que estas usando 'player', pero tu argumento es 'thePlayer'. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Brad96 Posted September 29, 2013 Author Posted September 29, 2013 aah , gracias q pendejada jaja Mi Nick En El Juego : Bs|Brad Mi Skype : fer_va_96
Castillo Posted September 29, 2013 Posted September 29, 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