• 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!

TFS 1.X+ First items

czerwian

New Member
Joined
Oct 28, 2019
Messages
17
Reaction score
2
Hello everyone. I'm trying set first items on my server, my firstitems.lua looks like that:
Code:
local firstItems = {2050, 2382}
function onLogin(cid)
	local player = Player(cid)
	if player:getLastLoginSaved() <= 0 then
		for i = 1, #firstItems do
			player:addItem(firstItems[i], 1)
		end
		player:addItem(player:getSex() == 0 and 2651 or 2650, 1)
		player:addItem(1987, 1)
		player:addItem(2674, 1)
	end
	return true
end
but after making new character on gesior acc maker I recive items from code plus studded legs and backpack with light shovel rope and mushrooms.. What's the problem?
 
Yeah I see on database then rook sample got items like that. But how can I edit player_items to delete this ones? I don't see option to edit this database.
 
Solution
Back
Top