ziggy46802
Active Member
- Joined
- Aug 19, 2012
- Messages
- 418
- Reaction score
- 27
Here is the login.lua script
and heres what it says in my console
I dont see what the problem is....
Code:
function onLogin(cid)
if getPlayerStorageValue(cid, 1000) < 1 then
setPlayerStorageValue(cid, 1000, 1) and --line 10
--killing in the name of
setPlayerStorageValue(cid, 14501, 0) and
setPlayerStorageValue(cid, 14502, 0) and
and heres what it says in my console
Code:
23/09/2012 11:46:12] [Error - LuaScriptInterface::loadFile] data/creaturescripts/scripts/login.lua:10: unexpected symbol near 'and'
[23/09/2012 11:46:12] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/login.lua)
[23/09/2012 11:46:12] data/creaturescripts/scripts/login.lua:10: unexpected symbol near 'and'
I dont see what the problem is....