![]() |
![]() ![]() « Citoyen » 1387539960000
| 0 | ||
Bushmeister a dit : Hope it will help. a dit : Didn't try it yet, I will try when I log in. |
![]() ![]() « Censeur » 1387544280000
| 0 | ||
@Bushmeister: The table.concat() function returns all the elements in the specified table, the second argument of it is how you want the elements to be seperated. (i.e table.concat(tbl,", ") will seperate each element of the table "tbl" with a comma). Hope that helped! |
![]() ![]() « Consul » 1387544700000
| 0 | ||
Wow! Thanks! ^-^ |
0 | ||
clear every objects in the map with a command? is that possible |
0 | ||
a dit : Can someone put the author of the current map whit "..mapauthor.." ? Something like that. If is possible, whitout tables D= (Only if it is) Thank very muuch :D ! And the category of the map? Is that possible? |
![]() ![]() « Censeur » 1387570020000
| 0 | ||
Arber a dit : ~ a dit : untested^ Aritxy a dit : ~ a dit : untested as well. |
0 | ||
Safwanrockz a dit : THANK VERY MUUUUUUUUUCH <33333333 And do you know the Shaman's name? To edit the name like Shaman: Aritxy (Santa) |
![]() ![]() « Censeur » 1387572840000
| 0 | ||
Aritxy a dit : You can do a workaround to store the shaman's name in a specific variable. a dit : UNTESTED |
0 | ||
Safwanrockz a dit : That don't work but I found tfm.get.player.isShaman Can it be something like that? |
![]() ![]() « Censeur » 1387573500000
| 0 | ||
Then try this. a dit : |
![]() ![]() « Consul » 1387573740000
| 0 | ||
Aritxy a dit : tfm.get.room.playerList.Aritxy.isShaman |
![]() ![]() « Censeur » 1387574520000
| 0 | ||
player.isShaman is a boolean, I thought Artixy wanted a function that returns the current shaman. |
![]() ![]() « Citoyen » 1387626360000
| 0 | ||
that if someone dances that it will say "(playername) Is a superstar!" and works on tribe house |
![]() ![]() « Citoyen » 1387627260000
| 0 | ||
function eventEmotePlayed(p,id) if id==0 then ui.addTextArea(1,p.." is a superstar!",nil) end end --untested |
0 | ||
Kittyepress a dit : a dit : f Shamousey a dit : I try whit a dit : But doesn't work, and try in the name, whit nil, name, playerName... But doesn't work. I need the shaman's name like the "..tfm.get.room.xmlMapInfo.author.." D= But thanks ! |
![]() 1387627620000
| | ||
[Modéré par Icewolfbob, raison : Accidental double post] |
![]() ![]() « Censeur » 1387632000000
| 0 | ||
Aritxy a dit : a dit : |
0 | ||
Safwanrockz a dit : I do this whit your code: a dit : The name of the shaman in the map's code, but the function says: function: 49b0cd6e I'm trying to fix it but I don't know |
![]() ![]() « Consul » 1387639380000
| 0 | ||
Aritxy a dit : To excecute a function you need the parenthesis on the end for the argument parameters. Try tfm.get.room.shaman() |
![]() ![]() « Censeur » 1387640400000
| 0 | ||
Shamousey a dit : Oh, I was confused about these parenthesis. Why don't API functions have them? Such as tfm.get.room.currentMap? (I guess it's a table) |