![]() |
0 | ||
a dit : How can I show the stats in a text area? |
![]() ![]() « Citoyen » 1397218380000
| 0 | ||
Aritxy a dit : foo a dit : text |
![]() « Citoyen » 1397232720000
| 0 | ||
a dit : ## Init Error : For input string: "2.56f34" |
0 | ||
Opsfentek a dit : Remove the f |
![]() 1397778420000
| | ||
[Modéré par Bolinboy] |
![]() 1398124620000
| | ||
[Modéré par Katburger, raison : Spam] |
0 | ||
tfm.exec.disableshamanskills(true) and no work |
![]() ![]() « Citoyen » 1398627420000
| 0 | ||
Ygtyk a dit : Try this: tfm.exec.disable"All"ShamanSkills(true) tfm.exec.disableAllShamanSkills(true) You got an error because you didn't put "all" and it's all lowercase. |
![]() « Citoyen » 1398627840000
| 0 | ||
Gabrijelr a dit : Also, Ygtyk might have forgot to put that snippet BEFORE tfm.exec.newGame() |
![]() ![]() « Citoyen » 1398628560000
| 0 | ||
Epicsouris a dit : He got an error, that's because he wrote "tfm.exec.disableshamanskills(true)" insted of "tfm.exec.disableAllShamanSkills(true)" Change the colour of "before" to #FF00FF as you always do XD (It's so eays to remember the code) |
0 | ||
a dit : Why does it give error in the return? return x.score > y.score error |
![]() ![]() « Censeur » 1399806300000
| 0 | ||
How would you like your table to be sorted out though? Because the second argument of table.sort() is a function that should not contain any outer arguments (You had x.score and y.score). |
0 | ||
Safwanrockz a dit : fixed thanks ^^ |
![]() ![]() « Censeur » 1401022920000
| 0 | ||
Why everytime I load a lua script/minigame It appears like this : ## Init Error : Haxhhhhhhhhh.lua:4: [string "Cagataymylov.lua"]:1: unexpected symbol edit: nvm solved it |
![]() ![]() « Citoyen » 1401245940000
| 0 | ||
This loads properly Chat a dit : Lua Script a dit : Not sure why this is happening. I press Tab and nothing. |
![]() ![]() « Consul » 1401373680000
| 0 | ||
Cheesehogga a dit : It's meant to be eventKeyboard, not tfm.eventKeyboard. It's also meant to be tfm.exec.giveCheese, not tfm.exec.tfm.exec.giveCheese. |
![]() « Citoyen » 1401477840000
| 0 | ||
tfm.exe.chatMessage() dont work |
![]() ![]() « Citoyen » 1401584100000
| 0 | ||
Alexiaho a dit : only lua team can use this |
![]() 1401643260000
| | ||
[Modéré par Icewolfbob, raison : Please speak English on EN. Thank you!] |
0 | ||
[Dobrjik] !respawn ## Argument error. Script - function eventChatCommand(name,cmd) local arg={} for argument in cmd:gmatch("[^%s]+") do table.insert(arg, argument); end if arg[1]=="respawn" then tfm.exec.respawnPlayer(arg[2]) end end |