[Lua] Partagez vos jeux/codes ici ! |
![]() ![]() « Citoyen » 1380451440000
| 0 | ||
Comme sa : (Drapeau englais) for playerName in pairs(tfm.get.room.playerList) do tfm.exec.setShaman(playerName) end tfm.exec.setUIMapName("Mod chamane") tfm.exec.setUIShamanName("All") function eventNewPlayer(name) for i,key in ipairs({32}) do tfm.exec.bindKeyboard(name,key,true,true) end end function eventKeyboard(name,key,down,x,y) if key==32 then tfm.exec.movePlayer(name,0,0,true,0,-50,true) end end for name,player in pairs(tfm.get.room.playerList) do eventNewPlayer(name) end for playerName in pairs(tfm.get.room.playerList) do tfm.exec.giveMeep(playerName) end |
![]() ![]() « Citoyen » 1380451440000
| 0 | ||
function eventNewPlayer(name) tfm.exec.bindKeyboard(name,40,true,true) tfm.exec.bindKeyboard(name,37,true,true) tfm.exec.bindKeyboard(name,38,true,true) tfm.exec.bindKeyboard(name,39,true,true) end for name,player in pairs(tfm.get.room.playerList) do eventNewPlayer(name) end function eventKeyboard(name,key,down,x,y) if key==38 then tfm.exec.movePlayer(name,0,0,true,0,-50,false) end if key==39 then tfm.exec.movePlayer(name,0,0,true,0,50,false) end if key==40 then tfm.exec.movePlayer(name,0,0,true,50,0,false) end if key==37 then tfm.exec.movePlayer(name,0,0,true,-50,0,false) end end A cause de ca J'ai activité suspecte O.O |
![]() ![]() « Citoyen » 1380451440000
| 0 | ||
COMMENT vous savez les ID de touche ? |
![]() ![]() « Citoyen » 1380451560000
| 0 | ||
Varuscristal a dit : Je termine ça dans 10 mins à peu près, et je vous le file. |
![]() ![]() « Citoyen » 1380451560000
| 0 | ||
http://pastebin.com/dJ9eZGRU |
![]() ![]() « Citoyen » 1380451560000
| 0 | ||
Toonney, alors ton systeme de mdp ? |
![]() ![]() « Citoyen » 1380451560000
| 0 | ||
Pourquoi LUA ne fonctionne pas? [•] Init Error : 554804 |
![]() ![]() « Citoyen » 1380451560000
| 0 | ||
Je peut venir dans ta tribu avec mon double compte ? *o* |
![]() ![]() « Citoyen » 1380451560000
| 0 | ||
Varuscristal a dit : ok |
![]() ![]() « Citoyen » 1380451680000
| 0 | ||
Toonney moi aussi ? |
![]() ![]() « Citoyen » 1380451680000
| 0 | ||
Non desolé, c'est que moi x) |
![]() ![]() « Citoyen » 1380451680000
| 0 | ||
Qui peut m'expliquer comment faire un commande (!cheese) et sa active le code givecheese ? |
0 | ||
http://pastebin.com/9cHMjcdt comment faire pour que command == hi soit dans le même truc que command == die ? |
![]() ![]() « Citoyen » 1380452700000
| 0 | ||
Où entrer la possibilité d'avoir des boules transparentes? a dit : |
0 | ||
Xingggg a dit : function eventChatCommand(playerName,command) -- fonction commande tchat if command == "cheese" then -- si commande = à 'cheese', alors tfm.exec.giveCheese(playerName) -- on donne le fromage au joueur end end |
![]() ![]() « Citoyen » 1380452820000
| 0 | ||
Pourquoi j'ai sa : [•] Init Error : 570850 Les codes qui marchaient avant ne fonctionne plus o/ |
![]() ![]() « Censeur » 1380453240000
| 0 | ||
Comment on fait pour que la commande ![Commande] ne s'affiche pas dans le salon svp ? |
![]() ![]() « Citoyen » 1380453360000
| 0 | ||
On peut pas faire 2 commandes ?? Je veux !adm et !regle |
0 | ||
Antititime a dit : C'est ce que je cherche à faire depuis 2 jours, personne me répond alors que c'est possible. |