Jump to content

[Help] Table Position, Random Peds


Snow-Man

Recommended Posts

  
local ped = {} 
local peds = { 
{-2278.0231933594, 2329.0556640625, 3.9665122032166 }, 
{3671.1079101563, -2088.8110351563, 0.54761910438538 }, 
{163.9245300293, -1941.3592529297, 2.7734375 }, 
{-2173.396484375, -2415.1823730469, 33.296875 } 
} 
for i=1,#peds do 
    ped[i] = createPed(math.random(26,41),peds[i][1],peds[i][2],peds[i][3] +0.5, 269) 
setElementFrozen ( ped, true ) 
end 
  

debug :

WARNING : Explorer/server.lua:10: bad Argument @ 'setElementFrozen [Expected element at argument 1, got table]

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