×

Langue

Fermer
Atelier 801
  • Forums
  • Dev Tracker
  • Connexion
    • English Français
      Português do Brasil Español
      Türkçe Polski
      Magyar Română
      العربية Skandinavisk
      Nederlands Deutsch
      Bahasa Indonesia Русский
      中文 Filipino
      Lietuvių kalba 日本語
      Suomi עברית
      Italiano Česky
      Hrvatski Slovensky
      Български Latviešu
      Estonian
  • Langue
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • Lua Snippets
« ‹ 20 / 33 › »
Lua Snippets
Mikuhl
« Citoyen »
1380974700000
    • Mikuhl#3311
    • Profil
    • Derniers messages
    • Tribu
#381
  0
Aleeeeeh a dit :
I'm courious, are these reasons stuff like preventing mice to use inappropriate pics or can't the server handle them?

Probably inappropriate pictures, and I would believe a too large picture could crash some peoples clients, or those who do not have very good internet.
Rebornaddict
« Citoyen »
1380981600000
    • Rebornaddict#0000
    • Profil
    • Derniers messages
#382
  0
I needed this ! Want to join lua team very soon !

Thanks !!
Basterfeild
« Citoyen »
1380983880000
    • Basterfeild#0000
    • Profil
    • Derniers messages
#383
  0
How to get cheese using emotikon "3"?

3 = Heart

a dit :

function eventEmotePlayed(playerName,3)
tfm.exec.giveCheese(playerName)
end

^ I use it, and it is bad.

Please, edit this. :p
Shamousey
« Consul »
1380985200000
    • Shamousey#0095
    • Profil
    • Derniers messages
    • Tribu
#384
  0
Try this.
a dit :
function eventEmotePlayed(playerName,emote)
if emote==3 then
tfm.exec.giveCheese(playerName)
end
end

 
Bengalstar
« Citoyen »
1380989940000
    • Bengalstar#0000
    • Profil
    • Derniers messages
#385
  0
function eventEmotePlayed(playerName,emote)
if emote==8 then
tfm.exec.addShamanObject(32, xposition (idk how to get this spawned right by my mouse), ypositionn (or this either) , 0 (angle), 0 (x speed), 0 (y speed), (should I put down if I want it a ghost object or not?))
end
end

I want to know how the object can be spawned right by your mouse
I mean right by as in right below where your mouse would be
also I think i'm putting the coordinates in incorrectly so e.e

sorry i'm a newbie at this
Mikuhl
« Citoyen »
1380990840000
    • Mikuhl#3311
    • Profil
    • Derniers messages
    • Tribu
#386
  0
Bengalstar a dit :

Assuming your trying to make some sort of a rune surfing script.
a dit :

function eventEmotePlayed(playerName,emote)
if emote==8 then
tfm.exec.addShamanObject(32, tfm.get.room.playerList[playerName].x, tfm.get.room.playerList[playerName].y, 0, 0, 0, true)
end
end

Note, ghost runes are actually tangible objects, so thats why ghost is true.
Bengalstar
« Citoyen »
1380990960000
    • Bengalstar#0000
    • Profil
    • Derniers messages
#387
  0
Jaackster a dit :
Assuming your trying to make some sort of a rune surfing script.

Note, ghost runes are actually tangible objects, so thats why ghost is true.

ok thanks jackster ^^
Zutto
« Citoyen »
1381005660000
    • Zutto#4451
    • Profil
    • Derniers messages
    • Tribu
#388
  0
Whit this script how i can put the admins only can see the 'Plus'?
Basterfeild
« Citoyen »
1381059540000
    • Basterfeild#0000
    • Profil
    • Derniers messages
#389
  0
How to get only P3 (Bc) maps?
Mikuhl
« Citoyen »
1381070460000
    • Mikuhl#3311
    • Profil
    • Derniers messages
    • Tribu
#390
  0
Aritxy a dit :
Whit this script how i can put the admins only can see the 'Plus'?

Create a table of admins and if the person is in the table then add the popups.

Basterfeild a dit :
How to get only P3 (Bc) maps?

You cant do P categories in tribe houses, but otherwise tfm.exec.newGame(#3)
Shinymew
« Citoyen »
1381078860000
    • Shinymew#0000
    • Profil
    • Derniers messages
#391
  0
I think there was a code that makes you die when you get cheese but I forgot it...
Basterfeild
« Citoyen »
1381078860000
    • Basterfeild#0000
    • Profil
    • Derniers messages
#392
  0
Basterfeild a dit :
How to get only P3 (Bc) maps?

Where paste it?
Epicshawty
« Citoyen »
1381079040000
    • Epicshawty#0000
    • Profil
    • Derniers messages
    • Tribu
#393
  0
Shinymew a dit :
I think there was a code that makes you die when you get cheese but I forgot it...

here
a dit :

function eventPlayerGetCheese(name)
tfm.exec.killPlayer(name)
end

If it doesnt work hit tab before the tfm.exec
Shinymew
« Citoyen »
1381079040000
    • Shinymew#0000
    • Profil
    • Derniers messages
#394
  0
Basterfeild a dit :
Where paste it?

I forgot what it was
Zutto
« Citoyen »
1381079400000
    • Zutto#4451
    • Profil
    • Derniers messages
    • Tribu
#395
  0
Someone can fix this script?
Basterfeild
« Citoyen »
1381081200000
    • Basterfeild#0000
    • Profil
    • Derniers messages
#396
  0
Today I make my minigame! (#CheatBootcamp)

3 kicks for Active Subcpete! o.o


But it's in [url=]ALPHA[/url] phase.

Please help me, and edit my scipt.

★ Please :

★ Repair Popup in new player go into room. {No work}
★ Add BC maps in this. I can get little list.
★ Add Victory, by using Dance (0).
★ Add NonShaman mode.
★ Delete shortening to 20s.

I be so satisfied, for You help me :)
I'm waiting :P
Hophipmice
« Citoyen »
1381081980000
    • Hophipmice#0000
    • Profil
    • Derniers messages
    • Tribu
#397
  0
Basterfeild a dit :
Today I make my minigame! (#CheatBootcamp)

3 kicks for Active Subcpete! o.o


But it's in [url=]ALPHA[/url] phase.

Please help me, and edit my scipt.

★ Please :

★ Repair Popup in new player go into room. {No work}
★ Add BC maps in this. (P3)
★ Add Victory, by using Dance (0).
★ Add NonShaman mode.
★ Delete shortening to 20s.

I be so satisfied, for You help me :)
I'm waiting :P

Victory by using dance:
a dit :
function eventEmotePlayed(n,emote)
if emote==0 then
tfm.exec.playerVictory(n)
end

Non-shaman mode:
a dit :

tfm.exec.disableAutoShaman(true)

I don't know the rest.
Epicshawty
« Citoyen »
1381082580000
    • Epicshawty#0000
    • Profil
    • Derniers messages
    • Tribu
#398
  0
Basterfeild a dit :
Today I make my minigame! (#CheatBootcamp)

3 kicks for Active Subcpete! o.o


But it's in [url=]ALPHA[/url] phase.

Please help me, and edit my scipt.

★ Please :

★ Repair Popup in new player go into room. {No work}
★ Add BC maps in this. I can get little list.
★ Add Victory, by using Dance (0).
★ Add NonShaman mode.
★ Delete shortening to 20s.

I be so satisfied, for You help me :)
I'm waiting :P

Help VV
a dit :

tfm.exec.disableAutoTimeLeft(true)

disables shortening to 20s^^^^
a dit :

tfm.exec.disableAutoNewGame(true)
tfm.exec.newGame("#3")
function eventLoop(currentTime,timeRemaining)
if timeRemaining <= 1000 then
tfm.exec.newGame("#3")
end
end

BC maps. Use #13 if you want the other BC maps.
I added the newGame #3 in the beginning because it wont load a p3 right away, so that runs a P3 right away :P
Note: tfm.exec.newGame("#3") wont work in tribe house
Basterfeild
« Citoyen »
1381083480000
    • Basterfeild#0000
    • Profil
    • Derniers messages
#399
  0
Thanks. :)

But, when I have maps {"@1","@2" (...)}

What do this to my minigame?
_________________________


(PL flag = To do list)

To get full version of #CheatBootcamp :

[url=]★[/url] Repair Popup in new player go into room. {No work} [x]
[url=]★[/url] Add BC maps in this. I can get little list. [x]
★ Add Victory, by using Dance (0). [✓]
★ Add NonShaman mode. [✓]
★ Delete shortening to 20s. [✓]


New script. [url]http://pastebin.com/MHeVBRCs[/url]
Hophipmice
« Citoyen »
1381084620000
    • Hophipmice#0000
    • Profil
    • Derniers messages
    • Tribu
#400
  0
Popup when new player:
a dit :

function eventNewPlayer(n)
ui.addpopup(0,0,"texthere",n,200,115,500)
end

Insert your text! DON'T CHANGE THE ,n, but you can change the type, x,y, width and all of that stuff.
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • Lua Snippets
« ‹ 20 / 33 › »
© Atelier801 2018

Equipe Conditions Générales d'Utilisation Politique de Confidentialité Contact

Version 1.27