Daniel1zD Posted December 25, 2012 Share Posted December 25, 2012 flaky = createVehicle ( 560, -2290.60, -856.20, 135.21, 0, 0, 90) addVehicleUpgrade ( flaky, 1010 ) setVehicleDamageProof ( flaky, true ) setVehicleColor ( flaky, 0, 0, 0, 0, 0, 0 ) setVehicleHeadLightColor ( flkay, 0, 255, 0 ) setElementData(flaky, "owner", "Flaky") function flakyr (thePlayer) local account = getPlayerAccount ( thePlayer ) if not isGuestAccount(account) and getAccountName(account) == "Flaky" then respawnVehicle ( flaky ) else outputChatBox ( "No puedes usar este comando", thePlayer, 255, 200, 0 ) end end addCommandHandler("flaky", flakyr) ) addCommandHandler("Flakyr",function(thePlayer) local account = getPlayerAccount ( thePlayer ) if not isGuestAccount(account) and getAccountName(account) == "Flaky" then local x,y,z = getElementPosition(thePlayer) setElementPosition(flaky,x+3,y,z+3) end end ) Link to comment
Daniel1zD Posted December 26, 2012 Author Share Posted December 26, 2012 Es un scrip de autos_privados pero no puedo aser que de un mensaje salga en chat disiendo Carro reservado para tal user Ejemplo :°°SERVER°°Auto reservado para Daniel es un ejemplo es lo que no puedo crear porfa Link to comment
RekZ Posted December 26, 2012 Share Posted December 26, 2012 lo unico que kiere es hacer creer que ese script lo izo el , pues a la comunidad lo subio y tenia el mensaje e.e , que por cierto te lo an borrado de la comunidad , es lo que tiene cuando subes un script que no es tuyo. flaky = createVehicle ( 560, -2290.60, -856.20, 135.21, 0, 0, 90) addVehicleUpgrade ( flaky, 1010 ) setVehicleDamageProof ( flaky, true ) setVehicleColor ( flaky, 0, 0, 0, 0, 0, 0 ) setVehicleHeadLightColor ( flkay, 0, 255, 0 ) setElementData(flaky, "owner", "Flaky") function onLockedVehicleEnter ( player, seat, PGS ) if getElementData(source, "owner") and getElementData(source, "owner" ) ~= getAccountName(getPlayerAccount(player)) and ( seat == 0 ) then outputChatBox ("*** [sERVER] Carro Propiedad De "..tostring(getElementData(source, "owner" )), player, 255, 255, 0) cancelEvent() end end addEventHandler ( "onVehicleStartEnter", getRootElement(), onLockedVehicleEnter ) function flakyr (thePlayer) local account = getPlayerAccount ( thePlayer ) if not isGuestAccount(account) and getAccountName(account) == "Flaky" then respawnVehicle ( flaky ) else outputChatBox ( "No puedes usar este comando", thePlayer, 255, 200, 0 ) end end addCommandHandler("flaky", flakyr) ) addCommandHandler("Flakyr",function(thePlayer) local account = getPlayerAccount ( thePlayer ) if not isGuestAccount(account) and getAccountName(account) == "Flaky" then local x,y,z = getElementPosition(thePlayer) setElementPosition(flaky,x+3,y,z+3) end end ) Link to comment
Recommended Posts