Jump to content

طلب كود


Recommended Posts

جرب

addCommandHandler("xxx", 
function(player) 
    local vehicle = getPedOccupiedVehicle(player) 
    if vehicle then 
        setElementPosition(vehicle, x, y, z) 
    else 
        setElementPosition(player, x, y, z) 
    end 
end) 

Link to comment
addCommandHandler("الامر اللي تبيه =) ", 
    function( player ) 
        local theVehicle = getPedOccupiedVehicle( player ) 
        if theVehicle then 
            setElementPosition( theVehicle, x, y, z ) 
        else 
            setElementPosition( player, x, y, z ) 
        end 
    end 
) 

Link to comment
جرب
addCommandHandler("xxx", 
function(player) 
    local vehicle = getPedOccupiedVehicle(player) 
    if vehicle then 
        setElementPosition(vehicle, x, y, z) 
    else 
        setElementPosition(player, x, y, z) 
    end 
end) 

شف كيف بسيط ^ ?

بس حط احداثيات

x, y, z

وغير كلمة

xxx

إلى الكلمة الي تبيها

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...