Jump to content

x[ إستفسار ]x عن الجداول والإند


kokoseda

Recommended Posts

السلام عليكم

اليوم شفت واحد اسمه احمد 09 مشارك وكاتب

 

 

  1.  
local Buses = {
{ID = 437, PosX = 0, PosY = 0, PosZ = 0, Freeze = true},
{ID = 431, PosX = 10, PosY = 0, PosZ = 0, Freeze = true}
}

addEventHandler("onResourceStart", resourceRoot,
function()
for _,v in ipairs(Buses) do
local Bus = createVehicle(v["ID"], v["PosX"], v["PosY"], v["PosZ"])
setElementFrozen(Bus, v["Freeze"])
end
end)

 أبي اعرف وش هي الجداول + وش الي بالسطر 8 وليش كتب 2 إند بالأخير ( 11 + 12 ) س

:)

Edited by kokoseda
add lua code
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...