Ziggy
Member
- Joined
- Aug 11, 2007
- Messages
- 49
- Reaction score
- 6
I need to figure out how to start a character off with a storage value as one, Im using TFS 0.3.6pl1 and I already put
in my login.lua file but it did not work as Im using the latest Nicaw ACC for SQL
I found it out, something stupid
Code:
function onLogin(cid)
setPlayerStorageValue(cid, 20001, 1)
if getPlayerStorageValue(cid, 20002) == -1 then
setPlayerStorageValue(cid, 20002, 1)
end
end
in my login.lua file but it did not work as Im using the latest Nicaw ACC for SQL
I found it out, something stupid
Last edited: