• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Edit starting storage values

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

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:
Back
Top