English Respawn npc

1 reply
Goto Page
To the start Previous 1 Next To the start
29.08.13 01:06:38 am
Up
pbeloto
User
Offline Off
Hi us .

could someone help me?

I would do this in table form equal rpg tibia

code down

I would like the respawn were square shaped just like the rpg tibia

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
timer(180000,"_npcrespawn","",0)

function _npcrespawn(id)
local aleatorio = math.random(1,5)
if aleatorio == 1 then
parse("spawnnpc 1 12 13 1")
parse("spawnnpc 2 5 12 1")
parse("spawnnpc 3 1 11 1")
parse("spawnnpc 4 3 20 1")
parse("spawnnpc 5 14 23 1")
elseif aleatorio == 2 then
parse("spawnnpc 5 12 13 1")
parse("spawnnpc 4 5 12 1")
parse("spawnnpc 3 1 11 1")
parse("spawnnpc 2 3 20 1")
parse("spawnnpc 1 14 23 1")
elseif aleatorio == 3 then
parse("spawnnpc 4 12 13 1")
parse("spawnnpc 5 5 12 1")
parse("spawnnpc 1 1 11 1")
parse("spawnnpc 2 3 20 1")
parse("spawnnpc 3 14 23 1")
elseif aleatorio == 4 then
parse("spawnnpc 3 12 13 1")
parse("spawnnpc 2 5 12 1")
parse("spawnnpc 1 1 11 1")
parse("spawnnpc 5 3 20 1")
parse("spawnnpc 4 14 23 1")
elseif aleatorio == 5 then
parse("spawnnpc 3 12 13 1")
parse("spawnnpc 1 5 12 1")
parse("spawnnpc 5 1 11 1")
parse("spawnnpc 2 3 20 1")
parse("spawnnpc 4 14 23 1")
end
end


sorry my inglish
08.09.13 10:52:58 pm
Up
BrunoRZ
User
Offline Off
Couldn't understand what do you want... anyways if you're brasilian, PM me so you can freely talk portuguese
To the start Previous 1 Next To the start