What's new

Edycja acc makera

Status
Not open for further replies.

Dudek123

Active User
Joined
Jun 13, 2008
Messages
85
Reaction score
0
mam w otsie mystic spirit acc makera zainstalowanego, i niewiem jak edytowa? go aby np, na pocz?tek dawa? mi inne itemki postaciom. To ots SQL
 

Misieqp

Advanced User
Joined
Apr 28, 2009
Messages
269
Reaction score
17
Odp: Edycja acc makera

twoj folder z ots-->data--->creaturescripts---->scripts----->firstitems

Code:
local firstItems =
{
	2525,
	2383
}

function onLogin(cid)
	if getPlayerStorageValue(cid, 30001) == -1 then
		for i = 1, table.maxn(firstItems) do
			doPlayerAddItem(cid, firstItems[i], 1)
		end
		if getPlayerSex(cid) == 0 then
			doPlayerAddItem(cid, 2651, 1)
		else
			doPlayerAddItem(cid, 2460, 1)
			doPlayerAddItem(cid, 2465, 1)
			doPlayerAddItem(cid, 2478, 1)
			doPlayerAddItem(cid, 2643, 1)
		end
		local bag = doPlayerAddItem(cid, 9774, 1)
		doAddContainerItem(bag, 2666, 1)
		doAddContainerItem(bag, 2120, 1)
		doAddContainerItem(bag, 2190, 1)
		doAddContainerItem(bag, 2182, 1)
		doAddContainerItem(bag, 2160, 2)
		doAddContainerItem(bag, 2456, 1)
		doAddContainerItem(bag, 2544, 1)
		setPlayerStorageValue(cid, 30001, 1)
	end
 	return TRUE
end

Polecam ten, jest to standarowe eq dla kazdej profesji+2cc na start!
 

maara

Advanced User
Joined
Apr 19, 2008
Messages
486
Reaction score
15
Age
33
Odp: Edycja acc makera

mozesz tez lognac na chary acc 1 pass takie jak ustawiles w acc makerze i kazda nastepna postac bedzie miala nowe eq
 
Status
Not open for further replies.
Top