Forum

> > CS2D > Scripts > Tibia script thread (Post tibia requests here)
Forums overviewCS2D overview Scripts overviewLog in to reply

English Tibia script thread (Post tibia requests here)

347 replies
Page
To the start Previous 1 28 9 1017 18 Next To the start

old Re: Tibia script thread (Post tibia requests here)

Bobakrome
User Off Offline

Quote
user skillerLTU has written
EDIT2:ok now fixed. but that command not work. if i do (/setpos id 7696 12496) i cant escape how to make command for this?


What do you mean you can`t escape? You did just teleported your self in prison? Wah...

Solve:

Maybe should work

In Game type:

1
!l PLAYERS[your id].Spawn = {pixel-x,pixel-y}

Should work

old Re: Tibia script thread (Post tibia requests here)

skillerLTU
User Off Offline

Quote
user Bobakrome has written
user skillerLTU has written
EDIT2:ok now fixed. but that command not work. if i do (/setpos id 7696 12496) i cant escape how to make command for this?


What do you mean you can`t escape? You did just teleported your self in prison? Wah...

Solve:

Maybe should work

In Game type:

1
!l PLAYERS[your id].Spawn = {pixel-x,pixel-y}

Should work




i said i cant escape: that place is jail. ofc i can but other players cant... when i do /kill or rejoin to T or CT i spawn here.. and how to make command for this? to teleport players here

old Re: Tibia script thread (Post tibia requests here)

4Vendetta
User Off Offline

Quote
• Guys, good afternoon, I wonder how do I put the "name" up stats "experience." I already changed the hudtxt but always the wrong name and is among the stats. What can I do? [image attached]

IMG:https://img217.imageshack.us/img217/1339/11111111111111ve.png



..... Yes, when I finish I will put the mod to download for free!

old Re: Tibia script thread (Post tibia requests here)

Infinite Rain
Reviewer Off Offline

Quote
Quote
When i change the hudtxt position show a blue image [BIG] and i can see nothing more!


That bug appearing often when in the script error.
NOW CHECK CONSOLE AND READ FUCKING ERROR PLEASE!

Anyway I added a crafting and woodcutting in my tibia
Press F4 to ope crafting

old Re: Tibia script thread (Post tibia requests here)

ExecL
User Off Offline

Quote
ive been trying to add 'Mana' but i dont where to put

1
2
3
4
5
6
7
8
if player(id, 'health') > 0 and PLAYERS[id] and PLAYERS[id].MP > (CONFIG.MAXMP - 5) and PLAYERS[id].MP < (CONFIG.MAXMP) then
PLAYERS[id].tmp.tmana = (CONFIG.MAXMP) - PLAYERS[id].MP
PLAYERS[id].MP = PLAYERS[id].MP + PLAYERS[id].tmp.tmana
updateMP(id)
elseif player(id, 'health') > 0 and PLAYERS[id] and PLAYERS[id].MP < (CONFIG.MAXMP) then
PLAYERS[id].MP = PLAYERS[id].MP + 5
updateMP(id)
end

and

1
2
3
4
function updateMP(id)
     hudtxt2(id,21, PLAYERS[id].MP, '255255000', 610,452,1)
     hudtxt2(id,22, "Mana", '255255255', 528,452,1)
end

and

1
updateMP(id)

could you explan it more.
To the start Previous 1 28 9 1017 18 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview