Jump to content

por que no me aparece el anuncio del vehiculo privado


Chaky

Recommended Posts

 andresdh = createVehicle (506, 1418.015625, 673.9677734375, 10.554480552673, 0, 0, 356.96704101563) 
  
    setElementData(andresdh , "owner", "andresdh") 
    setVehicleDamageProof (andresdh, true ) 
    setVehicleColor ( andresdh , f , f , f , f , f , f )  
  
    function onLockedVehicleEnter ( player, seat, jacked ) 
        if getElementData(source, "owner") and getElementData(source, "owner" ) ~= getAccountName(getPlayerAccount(player)) and ( seat == 0 ) then 
            cancelEvent() 
        end 
    end 
    addEventHandler ( "onVehicleStartEnter", getRootElement(), onLockedVehicleEnter ) 
  
function Lolr (thePlayer) 
    local account = getPlayerAccount ( thePlayer ) 
if not isGuestAccount(account) and getAccountName(account) == "andresdh" then 
respawnVehicle ( andresdh ) 
else 
        outputChatBox ( "[server]vehiculo Propiedas De Andres", thePlayer, 255, 200, 0 ) 
    end 
end 
addCommandHandler("andresdh", stre) 
addCommandHandler("stre",function(thePlayer) 
local account = getPlayerAccount ( thePlayer ) 
if not isGuestAccount(account) and getAccountName(account) == "andresdh" then 
local x,y,z = getElementPosition(thePlayer) 
setElementPosition(andresdh,x+3,y,z+3) 
end 
end 
) 

quiero que cuando otro usuario trate de ingresar al coche salga la leyenda en el chat de "[server]vehiculo Propiedas De Andres que hago mal me podrian ayudar :)

Link to comment
  • Recently Browsing   0 members

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