Jump to content

ايه المشكلة؟


Recommended Posts

اطرح كودك !

مبروك فك البان :mrgreen:

addEventHandler ("onClientGUIClick",root, 
function () 
if source == GUIEditor.button[1] then 
triggerServerEvent ("fkbot",localPlayer) 
elseif source == GUIEditor.button[2] then 
triggerServerEvent ("ekbot",localPlayer) 
elseif source == GUIEditor.button[3] then 
triggerServerEvent ("fshnta",localPlayer) 
elseif source == GUIEditor.button[4] then 
triggerServerEvent ("eshnta",localPlayer) 
elseif source == GUIEditor.button[5] then 
triggerServerEvent ("fbab1",localPlayer) 
elseif source == GUIEditor.button[6] then 
triggerServerEvent ("ebab1",localPlayer) 
elseif source == GUIEditor.button[7] then 
triggerServerEvent ("fbab2",localPlayer) 
elseif source == GUIEditor.button[8] then 
triggerServerEvent ("ebab2",localPlayer) 
elseif source == GUIEditor.button[9] then 
triggerServerEvent ("fbab3",localPlayer) 
elseif source == GUIEditor.button[10] then 
triggerServerEvent ("ebab3",localPlayer) 
elseif source == GUIEditor.button[11] then 
triggerServerEvent ("fbab4",localPlayer) 
elseif source == GUIEditor.button[12] then 
triggerServerEvent ("ebab4",localPlayer) 
end 
end 
) 

كلهم كذلك نفس المشكلة

Link to comment
addEvent ("fkbot") 
addEventHandler ("fkbot",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 0,1,800) 
end 
end 
) 
addEvent ("ekbot") 
addEventHandler ("ekbot",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 0,0,800) 
end 
end 
) 
addEvent ("fshnta") 
addEventHandler ("fshnta",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 1,1,800) 
end 
end 
) 
addEvent ("eshnta") 
addEventHandler ("eshnta",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 1,0,800) 
end 
end 
) 
addEvent ("fbab1") 
addEventHandler ("fbab1",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 2,1,800) 
end 
end 
) 
addEvent ("ebab1") 
addEventHandler ("ebab1",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 2,0,800) 
end 
end 
) 
addEvent ("fbab2") 
addEventHandler ("fbab2",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 3,1,800) 
end 
end 
) 
addEvent ("ebab2") 
addEventHandler ("ebab2",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 3,0,800) 
end 
end 
) 
addEvent ("fbab3") 
addEventHandler ("fbab3",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 4,1,800) 
end 
end 
) 
addEvent ("ebab3") 
addEventHandler ("ebab3",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 4,0,800) 
end 
end 
) 
addEvent ("fbab4") 
addEventHandler ("fbab4",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 5,1,800) 
end 
end 
) 
addEvent ("ebab4") 
addEventHandler ("ebab4",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 5,0,800) 
end 
end 
) 

Link to comment
    addEvent ("fkbot",true) 
    addEventHandler ("fkbot",root, 
    function () 
    local veh = getPedOccupiedVehicle (source) 
    if veh then 
    setVehicleDoorOpenRatio ( veh, 0,1,800) 
    end 
    end 
    ) 
    addEvent ("ekbot",true) 
    addEventHandler ("ekbot",root, 
    function () 
    local veh = getPedOccupiedVehicle (source) 
    if veh then 
    setVehicleDoorOpenRatio ( veh, 0,0,800) 
    end 
    end 
    ) 
    addEvent ("fshnta",true) 
    addEventHandler ("fshnta",root, 
    function () 
    local veh = getPedOccupiedVehicle (source) 
    if veh then 
    setVehicleDoorOpenRatio ( veh, 1,1,800) 
    end 
    end 
    ) 
    addEvent ("eshnta",true) 
    addEventHandler ("eshnta",root, 
    function () 
    local veh = getPedOccupiedVehicle (source) 
    if veh then 
    setVehicleDoorOpenRatio ( veh, 1,0,800) 
    end 
    end 
    ) 
    addEvent ("fbab1",true) 
    addEventHandler ("fbab1",root, 
    function () 
    local veh = getPedOccupiedVehicle (source) 
    if veh then 
    setVehicleDoorOpenRatio ( veh, 2,1,800) 
    end 
    end 
    ) 
    addEvent ("ebab1",true) 
    addEventHandler ("ebab1",root, 
    function () 
    local veh = getPedOccupiedVehicle (source) 
    if veh then 
    setVehicleDoorOpenRatio ( veh, 2,0,800) 
    end 
    end 
    ) 
    addEvent ("fbab2",true) 
    addEventHandler ("fbab2",root, 
    function () 
    local veh = getPedOccupiedVehicle (source) 
    if veh then 
    setVehicleDoorOpenRatio ( veh, 3,1,800) 
    end 
    end 
    ) 
    addEvent ("ebab2",true) 
    addEventHandler ("ebab2",root, 
    function () 
    local veh = getPedOccupiedVehicle (source) 
    if veh then 
    setVehicleDoorOpenRatio ( veh, 3,0,800) 
    end 
    end 
    ) 
    addEvent ("fbab3",true) 
    addEventHandler ("fbab3",root, 
    function () 
    local veh = getPedOccupiedVehicle (source) 
    if veh then 
    setVehicleDoorOpenRatio ( veh, 4,1,800) 
    end 
    end 
    ) 
    addEvent ("ebab3",true) 
    addEventHandler ("ebab3",root, 
    function () 
    local veh = getPedOccupiedVehicle (source) 
    if veh then 
    setVehicleDoorOpenRatio ( veh, 4,0,800) 
    end 
    end 
    ) 
    addEvent ("fbab4",true) 
    addEventHandler ("fbab4",root, 
    function () 
    local veh = getPedOccupiedVehicle (source) 
    if veh then 
    setVehicleDoorOpenRatio ( veh, 5,1,800) 
    end 
    end 
    ) 
    addEvent ("ebab4",true) 
    addEventHandler ("ebab4",root, 
    function () 
    local veh = getPedOccupiedVehicle (source) 
    if veh then 
    setVehicleDoorOpenRatio ( veh, 5,0,800) 
    end 
    end 
    ) 

Link to comment
addEvent ("fkbot") 
addEventHandler ("fkbot",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 0,1,800) 
end 
end 
) 
addEvent ("ekbot") 
addEventHandler ("ekbot",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 0,0,800) 
end 
end 
) 
addEvent ("fshnta") 
addEventHandler ("fshnta",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 1,1,800) 
end 
end 
) 
addEvent ("eshnta") 
addEventHandler ("eshnta",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 1,0,800) 
end 
end 
) 
addEvent ("fbab1") 
addEventHandler ("fbab1",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 2,1,800) 
end 
end 
) 
addEvent ("ebab1") 
addEventHandler ("ebab1",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 2,0,800) 
end 
end 
) 
addEvent ("fbab2") 
addEventHandler ("fbab2",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 3,1,800) 
end 
end 
) 
addEvent ("ebab2") 
addEventHandler ("ebab2",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 3,0,800) 
end 
end 
) 
addEvent ("fbab3") 
addEventHandler ("fbab3",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 4,1,800) 
end 
end 
) 
addEvent ("ebab3") 
addEventHandler ("ebab3",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 4,0,800) 
end 
end 
) 
addEvent ("fbab4") 
addEventHandler ("fbab4",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 5,1,800) 
end 
end 
) 
addEvent ("ebab4") 
addEventHandler ("ebab4",root, 
function () 
local veh = getPedOccupiedVehicle (source) 
if veh then 
setVehicleDoorOpenRatio ( veh, 5,0,800) 
end 
end 
) 

addEvent لل true غلطك كان انك ناسي تضيف

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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