PDA

View Full Version : Whats wrong in here?


[NoN]Bruno
05-19-2009, 06:12 PM
Im doing a cell to move and close in VCPD HQ and ... it doesnt work..

function openJail(PlayerID)
local Cell1 = createGlobalObject(3583,385.682,-503.962,9.68022,0.00,0.00,0.00,12)
moveGlobalObject(Cell1,386.562,-502.866,9.68022,50)
end
addCommand("open","openJail")

:D

[NoN]Bruno
05-22-2009, 10:24 AM
Fixed, close it!

ZaR
05-22-2009, 11:09 AM
Can you, please, post fixed code to forum :D, that other newbies of Lua, as I :D, understand, how he/she fix this error (if i'm do a error, sry me)

[NoN]Bruno
05-22-2009, 07:20 PM
Well, basicly i setobject to interior before moving it...and some other things, just wait , the code will be released soon ( i think with RC2 )

and im a he.. (bruno)