Hello there and thanks you so much for your help!
I still have a problem, at the moment I'm getting the object position from database and the line of code is this one:
local Object = createObject(row["objectID"], row["X"], row["Y"], row["Z"], row["RX"], row["RY"], row["RZ"])
and my output to the server is the following one:
1569, 1796, -1744.5, 12.6, 0, 0, 180.5
So if if i was scripting it it should look like this:
createObject ( 1569, 1796, -1744.5, 12.6, 0, 0, 180.5 )
How can I add those Frozen parameter to it? I mean I was checking the page https://wiki.multitheftauto.com/wiki/CreateObject and there is no option for it.