Jump to content

[HELP] createObject CJ Cloth


neves768

Recommended Posts

I can't create Object with ID of CJ Cloth.

Code:

function createpick(thePlayer) 
x,y,z = getElementPosition(thePlayer) 
createObject(30537,x,y,z) 
end 
addCommandHandler("c1",createpick) 

Error:

[2015-01-23 14:06:16] WARNING: testcj\server.lua:32: Bad usage @ 'createObject' [invalid model id]

How to fix?

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