Module API FAQ |
0 | ||
Magicalorb a dit : You can ask someone part of the Lua team to teach you I think. |
Epicshawty « Citoyen » 1384041420000
| 0 | ||
Magicalorb a dit : pls i ned 2 be smart 2 |
Tummnus « Citoyen » 1384057320000
| 0 | ||
Magicalorb a dit : Not exactly, anyone can find themselves very smart. Don't you find it impressive that you can remember 100+ numbers?! *-* Swirlfire a dit : You can somewhat do that but you can as well join the chat 'Lua' in which has members for the most part including the beloved Shamousey! Or you can look over at the 'Script Request' thread and 'Lua Snippets'. In other words, you can do many things to get help. |
Gilcatmey « Citoyen » 1384222680000
| 0 | ||
Hi, can you plese help me here? I have tried many times to play many scripts in the tribe house but they never work, someone suggesteed that people that got banned can't load lua codes, is that true? or what could it be thaat I can't play them? |
Shamousey « Consul » 1384227660000
| 0 | ||
Gilcatmey a dit : If you ever got banned for hacking you can't run scripts, that's correct. |
Gilcatmey « Citoyen » 1384228440000
| 0 | ||
But what if I didn't really hack, I was just banned for unfairy reasons. |
Shamousey « Consul » 1384247160000
| 0 | ||
Gilcatmey a dit : Then there's unfortunately nothing you can do about that, you could try talking to Sydoline to come up with a solution. |
Zutto 1385134440000
| | ||
[Modéré par Bolinboy] |
Feudeus 1385472360000
| | ||
[Modéré par Bolinboy, raison : spam] |
Petrenrenpet « Citoyen » 1385682420000
| 0 | ||
How i make to the shaman go to the table "magos" ? |
Safwanrockz « Censeur » 1385726040000
| 0 | ||
Petrenrenpet a dit : a dit : |
Jufaster « Citoyen » 1385923800000
| 0 | ||
How to use function eventPlayerDataLoaded(String playerName, String data), and this type of? |
Safwanrockz « Censeur » 1385924040000
| 0 | ||
Jufaster a dit : Only members of LUA team are able to use this. |
Bethdacat « Consul » 1385994720000
| 0 | ||
How do you use ui.AddPopup? |
Hophipmice « Citoyen » 1385999820000
| 0 | ||
Bethdacat a dit : It clearly says it: Name Arguments Description addPopup Int id, Int type, String text, String targetPlayer, Int x, Int y, Int width, Boolean fixedPos (false) Add a popup. Popup type : 0 (simple), 1 (yes or no), 2 (player input). If targetPlayer is NIL, it sends it to all players. example: a dit : or you can use a table: a dit : |
Safwanrockz « Censeur » 1386010440000
| 0 | ||
Bethdacat a dit : Since Hop hasn't fully clarified the ui.addPopup arguments I guess I'll have to. (sowwi hop :x) Int id: the ID of the Popup which is needed for removing Popup subsequently. (must be integer) String text: the text that shows on the Popup, can also be a normal predefined variable like Hop said. String targetPlayer: which player(s) to see this Popup, you can add it as "NIL" so the Popup is seen by all players. Int x: the x cooridnate for the Popup (must be integer) Int y: the y coordinate for the Popup (must be integer as well) Int width: the width of the Popup, measured with pixels (integer) Boolean fixedPos: takes the two values true and false, if true then the Popup will scroll horizontally with scroll maps, if false it will remain static in the specified coordinates in scroll maps. |
0 | ||
Are these two invalid? If so can I have the valid variable? tfm.get.room.inpairs tfm.get.room.in pairs |
Shamousey « Consul » 1386208860000
| 0 | ||
tfm.get.room is a table with several more tables inside it, such as playerList and objectList. You can get these like tfm.get.room.playerList What you seem to want to do is use the pairs() function on them, so you just put the table name inside it. pairs(tfm.get.room) |
Abdeltif « Citoyen » 1386255600000
| 0 | ||
What is new in modules ? |
Safwanrockz « Censeur » 1386261480000
| 0 | ||
Abdeltif a dit : Nothing? It's still Version 0.15. |