Forum

> > CS2D > Scripts > Rpg problem monster
Forums overviewCS2D overview Scripts overviewLog in to reply

English Rpg problem monster

No replies
To the start Previous 1 Next To the start

old Rpg problem monster

Iwasakii
User Off Offline

Quote
Hello everybody, i have a problem with my lua of monster of rpg... who can help me pls ?

Spoiler >



>Message error: LUA ERROR: sys/lua/cs2dtibia/monsters.lua:385: bad argument #2 to 'random' (interval is
empty)

Line 385 on monster:           
1
tilex, tiley = math.random(m.spawn1[1], m.spawn2[1]), math.random(m.spawn1[2], m.spawn2[2])

Thx for help me and sorry for my bad english...
edited 5×, last 29.04.11 02:49:09 pm
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview