Forum

> > CS2D > Scripts > i need some scrip for rpg tibia pls .
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch i need some scrip for rpg tibia pls .

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt i need some scrip for rpg tibia pls .

pkpk34535
User Off Offline

Zitieren
Hi all i'm a tibia sv admin i'm not pro for the scrip
Well . i want make some item
1.When i use the item i will be teleport to a place (like teleport rune) but i dont want teleport to spawn . like tibia normal
it will be teleport to ice island

2.when i use a item it will spawn a monstre (no random).

alt Re: i need some scrip for rpg tibia pls .

Yates
Reviewer Off Offline

Zitieren
Your first question is easy, just find the teleport item and give it another name, id and give it a fixed setpos location.

Your second on the other hand may be easy, but it can and will be abused. I do not recommend it.. Buuuttt, seeing as you will ignore me check out the admin.lua, there you will find the command !m, just copy the way it spawns a monster and add it into the item function.

alt Re: i need some scrip for rpg tibia pls .

pkpk34535
User Off Offline

Zitieren
@user Yates:

for the teleport if
1
2
3
4
5
6
7
8
9
[99] = {	
                name = 'Lose Island map'
		desc = " Follow this map"
		r = 255, g = 255, = 255
		action = "cast",
		item = 98
		func = {function(id,itemslot,itemid,equip)
			parse("setpos "..id.." "1056" "10016)
		end,equip},
is work ?
and for spawn monstre
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[98] = {
		name = "???",  
		desc = "It will be danger"
		r = 255, g = 255, b = 255, 
		action = "cast", 
		func =	if gettile(player(id, 'tilex'), player(id, 'tiley')).SAFE then
					msg2(id,'You cant spawn the ..... at here.')
					return 1
				end
				local name = words:sub(4)
				if name then
					for i, v in pairs(CONFIG.MONSTERS) do
						if v.name:lower() == name:lower() then
							local m = deepcopy(v)
							m.x, m.y = player(id, 'x'), player(id, 'y')
							Monster:new(m)
							return 1
						end
					end
				end		 
	},
where i add the monstre name ?
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht