Jump to content

vehiculo ocupado


Jacobob14

Recommended Posts

probar (no probado)

editado

probar con otro event

  
function Enter(p,seat,jacker,dor) 
if (seat == 0) then 
local otherp = getVehicleOccupant(source,0) 
if (otherp) then 
cancelEvent() 
--outputChatBox("No enter in vehicle with owner",p) 
end 
end 
end 
addEventHandler("onVehicleEnter",root,Enter) 

Edited by Guest
Link to comment
probar (no probado)
  
function Enter(p,seat,jacker,dor) 
if (seat == 0) then 
local otherp = getVehicleOccupant(source,0) 
if (otherp) then 
cancelEvent() 
--outputChatBox("No enter in vehicle with owner",p) 
end 
end 
end 
addEventHandler("onVehicleStartEnter",root,Enter) 

hace que no me pueda subir a ningun vehiculo con F solo con g :(:(

Link to comment
  • Recently Browsing   0 members

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