| [Lua] Partagez vos jeux/codes ici ! |
| « Citoyen » 1380404820000
| 0 | ||
| Code ? |
| 0 | ||
Animjarcanin a dit : ou alors ça pour que tout le monde soit vampire shaman : for name,player in pairs(tfm.get.room.playerList) do tfm.exec.setShaman(name) tfm.exec.setVampirePlayer(name) end |
| « Citoyen » 1380405120000
| 0 | ||
| xD Tu ti connais en lua ??? |
| « Citoyen » 1380405120000
| 0 | ||
| C'est du basique, comme moi je code du basique. TribeOS - Comming soon. |
| 0 | ||
Nathaan a dit : Comme SteamOS ? *message supprimé pour HS dans 3... 2... 1...* |
| « Citoyen » 1380405240000
| 0 | ||
| Alors ceux qui si connaisent: 1 ER CODE: function eventChatCommand(playerName,message) if message=="staff" then ui.addPopup(1,0,"<u><p align='center'>L'équipe:</p></u><br></br><font size='16'color='#FF0000'>Antititime:</font><font size='12'color='#FCFAE1'> Fondateur de la tribu</font><br><br><font size='16'color='#0000FF'>Juunniioorrs:</font><font size='12' color='#FCFAE1'> Co-fondateur de la tribu</font>",playerName,200,150,300); end end 2EME CODE: ui.addTextArea(0,"<font size='16' color='#FF0000'><b>La maison", nil, 350, 20, 100, 100, 0, 0, 0) J'aimerais les mettes dans LUA je fait comment ? |
| 0 | ||
| bah tu mets le ui.addTextArea(0,"<font size='16' color='#FF0000'><b>La maison", nil, 350, 20, 100, 100, 0, 0, 0) en dessous de ui.addPopup(1,0,"<u><p align='center'>L'équipe:</p></u><br></br><font size='16'color='#FF0000'>Antititime:</font><font size='12'color='#FCFAE1'> Fondateur de la tribu</font><br><br><font size='16'color='#0000FF'>Juunniioorrs:</font><font size='12' color='#FCFAE1'> Co-fondateur de la tribu</font>",playerName,200,150,300); |
| 0 | ||
Animjarcanin a dit : faut pas faire function eventChatCommand(playerName,message) if message=="staff" then ui.addPopup(1,0,"&amp;lt;u&amp;gt;&amp;lt;p align='center'&amp;gt;L'équipe:&amp;lt;/p&amp;gt;&amp;lt;/u&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&amp;lt;font size='16'color='#FF0000'&amp;gt;Antititime:&amp;lt;/font&amp;gt;&amp;lt;font size='12'color='#FCFAE1'&amp;gt; Fondateur de la tribu&amp;lt;/font&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;font size='16'color='#0000FF'&amp;gt;Juunniioorrs:&amp;lt;/font&amp;gt;&amp;lt;font size='12' color='#FCFAE1'&amp;gt; Co-fondateur de la tribu&amp;lt;/font&amp;gt;",playerName,200,150,300); ui.addTextArea(0,"&amp;lt;font size='16' color='#FF0000'&amp;gt;&amp;lt;b&amp;gt;La maison", nil, 350, 20, 100, 100, 0, 0, 0) end end end ? |
| « Citoyen » 1380405240000
| 0 | ||
| En gros je met le 1 en haut et je saute une ligne et je met le 2ieme ?? |
| 0 | ||
| http://pastebin.com/9cHMjcdt comment faire pour que command == hi soit dans le même truc que command == die ? |
| « Citoyen » 1380405480000
| 0 | ||
| Moi je veux mettre les 2 codes (différent) dans LUA pour que les 2 fonctionne |
| 0 | ||
Enzo a dit : oupe svp |
| « Citoyen » 1380405840000
| 0 | ||
| Parfait ! Euh le code function eventNewPlayer(playerName) ui.addPopup(1,0,"<p align='center'><font color='#BABD2F' size='15'><b>Test</b></font></p>",playerName,150,150,500); end fonctionne plus ? |
| « Citoyen » 1380406140000
| 0 | ||
| Ca fait rien !! Pas grave pour l'instant. Comment on fait pour faire apparatre pleins d'oblet ? |