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

How do I Change the starting Equipment?

Negrosenbaum

New Member
Joined
Feb 28, 2009
Messages
1
Reaction score
0
Hi!
I have a SQL 8.4 OT.
I want to change the starting equipment because its rookgard's, and i want to put my own equipment.
¿Anyone knows how to do it?
 
:p

data>creaturescripts>scripts>firstitems.

Take my if you like it.

PHP:
function onLogin(cid)
	if getPlayerStorageValue(cid, 30001) == -1 then
if getPlayerVocation(cid) == 1 then
			doPlayerAddItem(cid, 2173, 1)	
		local head = doPlayerAddItem(cid, 2175, 1)
		local left = doPlayerAddItem(cid, 2190, 1)
			doPlayerAddItem(cid, 7730, 1)	
		local armor = doPlayerAddItem(cid, 8870, 1)
			doPlayerAddItem(cid, 2323, 1)
		local feed = doPlayerAddItem(cid, 2643, 1)
			local bag = doPlayerAddItem(cid, 1999, 1)
			doAddContainerItem(bag, 7620, 1)
			doAddContainerItem(bag, 5710, 1)
			doAddContainerItem(bag, 2120, 1)
		setPlayerStorageValue(cid, 30001, 1)
elseif getPlayerVocation(cid) == 2 then
			doPlayerAddItem(cid, 2173, 1)	
			doPlayerAddItem(cid, 2175, 1)
			doPlayerAddItem(cid, 2182, 1)
			doPlayerAddItem(cid, 7730, 1)
			doPlayerAddItem(cid, 8870, 1)
			doPlayerAddItem(cid, 2323, 1)
			doPlayerAddItem(cid, 2643, 1)
			local bag = doPlayerAddItem(cid, 3940, 1)
		doAddContainerItem(bag, 7620, 1)
		doAddContainerItem(bag, 5710, 1)
		doAddContainerItem(bag, 2120, 1)
		setPlayerStorageValue(cid, 30001, 1)
elseif getPlayerVocation(cid) == 3 then
			doPlayerAddItem(cid, 2173, 1)	
			doPlayerAddItem(cid, 2455, 1)
			doPlayerAddItem(cid, 2457, 1)
			doPlayerAddItem(cid, 8872, 1)
			doPlayerAddItem(cid, 7730, 1)
			doPlayerAddItem(cid, 2643, 1)
			doPlayerAddItem(cid, 2543, 1)
			local bag = doPlayerAddItem(cid, 7342, 1)
		doAddContainerItem(bag, 7618, 1)
		doAddContainerItem(bag, 5710, 1)
		doAddContainerItem(bag, 2120, 1)
		setPlayerStorageValue(cid, 30001, 1)
elseif getPlayerVocation(cid) == 4 then
			doPlayerAddItem(cid, 2173, 1)	
			doPlayerAddItem(cid, 2533, 1)
			doPlayerAddItem(cid, 2383, 1)
			doPlayerAddItem(cid, 2481, 1)
		local armor	= doPlayerAddItem(cid, 2478, 1)
		local armor	= doPlayerAddItem(cid, 3968, 1)
			doPlayerAddItem(cid, 2643, 1)
		local bag = doPlayerAddItem(cid, 1998, 1)
			doAddContainerItem(bag, 7618, 1)
			doAddContainerItem(bag, 2383, 1)
			doAddContainerItem(bag, 2428, 1)
			doAddContainerItem(bag, 2394, 1)
			doAddContainerItem(bag, 5710, 1)
			doAddContainerItem(bag, 2120, 1)
		setPlayerStorageValue(cid, 30001, 1)

		end


end
 	return TRUE
end
 
Back
Top