Jump to content

ayuda autos_privados


Daniel1zD

Recommended Posts

  
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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...