snepel Posted September 16, 2013 Share Posted September 16, 2013 (edited) Hi, i try to CreateObject by server site.. local bankatm1 = CreateObject( 2781, 2085.7102050781, 2083.2224121094, 10.358860969543, 0, 0, 180.0000) i get by /debugscript 3 ERROR: .../file.lua:181:attempt to call global 'CreateObject' (a nil value) someone can help me? Edited September 16, 2013 by Guest Link to comment
iPrestege Posted September 16, 2013 Share Posted September 16, 2013 CreateObject > createObject 'C' > 'c' . Link to comment
EstrategiaGTA Posted September 16, 2013 Share Posted September 16, 2013 Remember, Lua is case-sensitive. That means, you can't use for example "BanPlayer", you must use "banPlayer". Well, just change CreateObject to createObject and it will work. Link to comment
snepel Posted September 16, 2013 Author Share Posted September 16, 2013 thx. it works Link to comment
EstrategiaGTA Posted September 16, 2013 Share Posted September 16, 2013 You're welcome Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now