Module API FAQ |
Brasot « Citoyen » 1387893360000
| 0 | ||
how add particle ? |
Kirilkiril « Citoyen » 1387899600000
| 0 | ||
How to add photos? |
Tailtong « Citoyen » 1387901820000
| 0 | ||
Brasot a dit : tfm.exec.displayParticle(Int particleId, Int xPosition, Int yPosition, Float xSpeed, Float ySpeed, Float xAcceleration, Float yAcceleration, String targetPlayer) Kirilkiril a dit : tfm.exec.addImage(String imageName, String target, Int xPosition, Int yPosition, String targetPlayer) |
0 | ||
What is cmd:sub(1,1) and all that? |
Shamousey « Consul » 1387922040000
| 0 | ||
Swirlfire a dit : http://lua-users.org/wiki/StringLibraryTutorial "Return a substring of the string passed. The substring starts at i. If the third argument j is not given, the substring will end at the end of the string. If the third argument is given, the substring ends at and includes j." |
Marliaaa « Citoyen » 1387965900000
| 0 | ||
how to make a module? |
Kittyepress « Citoyen » 1387966200000
| 0 | ||
Marliaaa a dit : 1. Read all what shamousey said when making the thread. 2. Head over to Lua Snippets for the commands. ( Topic-451991 ) 3. Then you can make your own minigame. why cant I get my codes working? |
Kittyepress 1387969920000
| | ||
[Modéré par Whiskypickle, raison : Dp] |
Safwanrockz « Censeur » 1387969920000
| 0 | ||
Kittyepress a dit : Are you getting an error? |
Kittyepress « Citoyen » 1387970040000
| 0 | ||
Safwanrockz a dit : doesnt show up |
Kittyepress « Citoyen » 1387970160000
| 0 | ||
Safwanrockz a dit : i am just using codes(example: tfm.exec.setShaman("Kittyepress") ) in tribe house |
Safwanrockz « Censeur » 1387970160000
| 0 | ||
Kittyepress a dit : Can you explain a little further? The script runs successfully but doesn't function properly? Are you getting the "Lua script loaded" message? |
Marliaaa « Citoyen » 1387973340000
| 0 | ||
saf help me make a module idk how and i wanna |
Safwanrockz « Censeur » 1387974120000
| 0 | ||
Kittyepress a dit : I have no idea what's going on with you, try restarting TFM. Marliaaa a dit : You must have a prior knowledge in Lua coding, basically. Else, just use the Lua Snippets thread. Topic-451991 |
Kirilkiril « Citoyen » 1387975020000
| 0 | ||
Tailtong a dit : I don't get it what should be in imageName? |
Laagaadoo « Citoyen » 1387976400000
| 0 | ||
Kirilkiril a dit : This function is only for members of Lua Team |
Shamousey « Consul » 1387976400000
| 0 | ||
Kirilkiril a dit : The image name refers to the file name of an image hosted on imgur. For example, for the image http://i.imgur.com/zc22XO8.png you'd need to put in zc22XO8.png Note that this function is only available for the Lua Team however, you can't use it. |
Laagaadoo « Citoyen » 1387979760000
| 0 | ||
Shamousey a dit : Shamousey a dit : The limit of characters is 32k or 64k? |
Shamousey « Consul » 1387980120000
| 0 | ||
Laagaadoo a dit : Ah sorry! There was a 32k limit when I originally wrote that part of the post, but it was changed to 64k later on. I've fixed the OP. |
Laagaadoo « Citoyen » 1387981800000
| 0 | ||
Edited. |