×

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
  • /
  • zamówienia na kody.
« ‹ 122 / 149 › »
zamówienia na kody.
Rkubi
« Censeur »
1479794820000
    • Rkubi#0000
    • Profil
    • Derniers messages
    • Tribu
#2421
  0
flymyszxd a dit :
function eventNewPlayer(nick)
for keys, k in pairs({0,2}) do
tfm.exec.bindKeyboard(nick, k, true, true)
end
end



function eventLoop()
for nick,player in pairs(tfm.get.room.playerList) do
x=tfm.get.room.playerList[nick].x
y=tfm.get.room.playerList[nick].y
end
end

for nick,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(nick)
end

function eventKeyboard(nick,key)
if key==0 then
tfm.exec.movePlayer(nick,0,0,false,-70,0,false)
tfm.exec.displayParticle(29,x-5,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-10,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-15,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-20,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-25,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-30,y,0,0,0,0,nick)
else
tfm.exec.displayParticle(29,x+5,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x+10,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x+15,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x+20,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x+25,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x+30,y,0,0,0,0,nick)
if key==2 then
tfm.exec.movePlayer(nick,0,0,false,70,0,false)
end
end
end

Czy mogłabym poprosić o dodanie do tego kodu latania?
Ślicznie dziękuję za pomoc ;;

Kod
Code Lua

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
function eventNewPlayer(nick)
for keys, k in pairs({0,2,32}) do
tfm.exec.bindKeyboard(nick, k, true, true)
end
end

function eventLoop()
for nick,player in pairs(tfm.get.room.playerList) do
x=tfm.get.room.playerList[nick].x
y=tfm.get.room.playerList[nick].y
end
end

for nick,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(nick)
end

function eventKeyboard(nick,key)
if key==0 then
tfm.exec.movePlayer(nick,0,0,false,-70,0,false)
tfm.exec.displayParticle(29,x-5,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-10,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-15,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-20,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-25,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-30,y,0,0,0,0,nick)
else
tfm.exec.displayParticle(29,x+5,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x+10,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x+15,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x+20,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x+25,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x+30,y,0,0,0,0,nick)
if key==2 then
tfm.exec.movePlayer(nick,0,0,false,70,0,false)
elseif key==32 then
tfm.exec.movePlayer(nick,0,0,true,0,-70,true)
tfm.exec.displayParticle(29,x-5,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-10,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-15,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-20,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-25,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-30,y,0,0,0,0,nick)
end
end
end

Dernière modification le 1481314500000
Hosual
« Consul »
1479798900000
    • Hosual#0000
    • Profil
    • Derniers messages
    • Tribu
#2422
  0
rkubi a dit :
flymyszxd a dit :
function eventNewPlayer(nick)
for keys, k in pairs({0,2}) do
tfm.exec.bindKeyboard(nick, k, true, true)
end
end



function eventLoop()
for nick,player in pairs(tfm.get.room.playerList) do
x=tfm.get.room.playerList[nick].x
y=tfm.get.room.playerList[nick].y
end
end

for nick,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(nick)
end

function eventKeyboard(nick,key)
if key==0 then
tfm.exec.movePlayer(nick,0,0,false,-70,0,false)
tfm.exec.displayParticle(29,x-5,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-10,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-15,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-20,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-25,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-30,y,0,0,0,0,nick)
else
tfm.exec.displayParticle(29,x+5,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x+10,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x+15,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x+20,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x+25,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x+30,y,0,0,0,0,nick)
if key==2 then
tfm.exec.movePlayer(nick,0,0,false,70,0,false)
end
end
end

Czy mogłabym poprosić o dodanie do tego kodu latania?
Ślicznie dziękuję za pomoc ;;

Kod
function eventNewPlayer(nick)
for keys, k in pairs({0,2,32}) do
tfm.exec.bindKeyboard(nick, k, true, true)
end
end

function eventLoop()
for nick,player in pairs(tfm.get.room.playerList) do
x=tfm.get.room.playerList[nick].x
y=tfm.get.room.playerList[nick].y
end
end

for nick,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(nick)
end

function eventKeyboard(nick,key)
if key==0 then
tfm.exec.movePlayer(nick,0,0,false,-70,0,false)
tfm.exec.displayParticle(29,x-5,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-10,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-15,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-20,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-25,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-30,y,0,0,0,0,nick)
else
tfm.exec.displayParticle(29,x+5,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x+10,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x+15,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x+20,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x+25,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x+30,y,0,0,0,0,nick)
if key==2 then
tfm.exec.movePlayer(nick,0,0,false,70,0,false)
elseif key==32 then
tfm.exec.movePlayer(nick,0,0,true,0,-70,true)
tfm.exec.displayParticle(29,x-5,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-10,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-15,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-20,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-25,y,0,0,0,0,nick)
tfm.exec.displayParticle(29,x-30,y,0,0,0,0,nick)
end
end
end

Niezmiernie ci dziekuje ^^
Liliatta
« Citoyen »
1479919800000
    • Liliatta#0000
    • Profil
    • Derniers messages
#2423
  0
Poproszę o skrypt , w którym gdy wpisze !zamknij (nick gracza) Ten gracz nie będzie mógł się ruszyć a gdy wpiszę !otwórz (nick gracza) znów będzie mógł się ruszać. Chciałabym abym tylko ja mogła to wpisywać
Z góry dziękuje :3
Hosual
« Consul »
1479930300000
    • Hosual#0000
    • Profil
    • Derniers messages
    • Tribu
#2424
  0
Mogłabym poprosić o kod na banowanie?
W sensie, żeby gracz się nie respił, jeśli to możliwe.
Rkubi
« Censeur »
1480152240000
    • Rkubi#0000
    • Profil
    • Derniers messages
    • Tribu
#2425
  0
flymyszxd a dit :
Mogłabym poprosić o kod na banowanie?
W sensie, żeby gracz się nie respił, jeśli to możliwe.

http://atelier801.com/topic?f=6&t=817315&p=1
Hosual
« Consul »
1480696440000
    • Hosual#0000
    • Profil
    • Derniers messages
    • Tribu
#2426
  0
Dodałby ktoś do tego, abym mogła tylko ja używać?
function eventNewPlayer(playerName)
system.bindMouse(playerName, true)
end

for playerName,player in pairs(tfm.get.room.playerList) do
system.bindMouse(playerName, true)
end

function eventMouse(playerName, x, y)
tfm.exec.movePlayer(playerName, x, y, false, 0, 1, false)
tfm.exec.displayParticle(37, x, y, 0, 0, 0, 0, nil)
end


rkubi a dit :
flymyszxd a dit :
Mogłabym poprosić o kod na banowanie?
W sensie, żeby gracz się nie respił, jeśli to możliwe.

http://atelier801.com/topic?f=6&t=817315&p=1

Dziekuje ^^
Laylalet
« Citoyen »
1480759500000
    • Laylalet#1190
    • Profil
    • Derniers messages
    • Tribu
#2427
  0
A snieg mogę prosić?
Rkubi
« Censeur »
1480760640000
    • Rkubi#0000
    • Profil
    • Derniers messages
    • Tribu
#2428
  0
shanteye a dit :
A snieg mogę prosić?

tfm.exec.snow(9999,200)
Laylalet
« Citoyen »
1480782540000
    • Laylalet#1190
    • Profil
    • Derniers messages
    • Tribu
#2429
  0
Dziękuje.
Szczurb
« Censeur »
1480812960000
    • Szczurb#5147
    • Profil
    • Derniers messages
    • Tribu
#2430
  0
Kod na śnieg teraz się przydaje hihi
Sebafrancuz
« Consul »
1480813140000
    • Sebafrancuz#0000
    • Profil
    • Derniers messages
#2431
  0
function eventLoop()
tfm.exec.snow()
end
-- wieczny śnieg
Hosual
« Consul »
1480881120000
    • Hosual#0000
    • Profil
    • Derniers messages
    • Tribu
#2432
  0
flymyszxd a dit :
Dodałby ktoś do tego, abym mogła tylko ja używać?
function eventNewPlayer(playerName)
system.bindMouse(playerName, true)
end

for playerName,player in pairs(tfm.get.room.playerList) do
system.bindMouse(playerName, true)
end

function eventMouse(playerName, x, y)
tfm.exec.movePlayer(playerName, x, y, false, 0, 1, false)
tfm.exec.displayParticle(37, x, y, 0, 0, 0, 0, nil)
end


rkubi a dit :
flymyszxd a dit :
Mogłabym poprosić o kod na banowanie?
W sensie, żeby gracz się nie respił, jeśli to możliwe.

http://atelier801.com/topic?f=6&t=817315&p=1

Dziekuje ^^

Ponawiam +

function eventNewPlayer(name)
system.bindMouse (name, true)
end

for name,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end

function eventMouse(name, x, y)
tfm.exec.addShamanObject(61, x, y, 90, 0, 0, false)
end

Do tego ^ też bym pilnie poprosiła abym tylko ja mogła używać.
//
a="-"
b="-"
function eventChatCommand(n,k)
if k=='love' then
tfm.exec.displayParticle(5,tfm.get.room.playerList[a].x,tfm.get.room.playerList[a].y-30,0, 0, 0, 0, nil)
tfm.exec.displayParticle(5,tfm.get.room.playerList.x,tfm.get.room.playerList.y-30,0, 0, 0, 0, nil)
end
end

Da się zrobić tak, aby po użyciu komendy !love ciągle się pojawiały takie serduszka?

Dernière modification le 1480883880000
Rkubi
« Censeur »
1480955700000
    • Rkubi#0000
    • Profil
    • Derniers messages
    • Tribu
#2433
  0
flymyszxd a dit :
flymyszxd a dit :
Dodałby ktoś do tego, abym mogła tylko ja używać?
function eventNewPlayer(playerName)
system.bindMouse(playerName, true)
end

for playerName,player in pairs(tfm.get.room.playerList) do
system.bindMouse(playerName, true)
end

function eventMouse(playerName, x, y)
tfm.exec.movePlayer(playerName, x, y, false, 0, 1, false)
tfm.exec.displayParticle(37, x, y, 0, 0, 0, 0, nil)
end


rkubi a dit :
flymyszxd a dit :
Mogłabym poprosić o kod na banowanie?
W sensie, żeby gracz się nie respił, jeśli to możliwe.

http://atelier801.com/topic?f=6&t=817315&p=1

Dziekuje ^^

Ponawiam +

function eventNewPlayer(name)
system.bindMouse (name, true)
end

for name,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end

function eventMouse(name, x, y)
tfm.exec.addShamanObject(61, x, y, 90, 0, 0, false)
end

Do tego ^ też bym pilnie poprosiła abym tylko ja mogła używać.
//
a="-"
b="-"
function eventChatCommand(n,k)
if k=='love' then
tfm.exec.displayParticle(5,tfm.get.room.playerList[a].x,tfm.get.room.playerList[a].y-30,0, 0, 0, 0, nil)
tfm.exec.displayParticle(5,tfm.get.room.playerList.x,tfm.get.room.playerList.y-30,0, 0, 0, 0, nil)
end
end

Da się zrobić tak, aby po użyciu komendy !love ciągle się pojawiały takie serduszka?

1
Code Lua

1
2
3
4
5
6
7
8
9
10
11
12
13
function eventNewPlayer(name)
system.bindMouse (name, true)
end

for name,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end

function eventMouse(name, x, y)
if name=="Flymyszxd" then
tfm.exec.addShamanObject(61, x, y, 90, 0, 0, false)
end
end


2
Code Lua

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Tab={}

function eventNewPlayer(nick)
Tab[nick]=false
end

for nick in pairs(tfm.get.room.playerList) do
eventNewPlayer(nick)
end

function eventChatCommand(nick,komd)
if komd=="love" and nick=="Flymyszxd" then
Tab[nick]=true
end
end

function eventLoop()
for nick,player in pairs(tfm.get.room.playerList) do
x=tfm.get.room.playerList[nick].x
y=tfm.get.room.playerList[nick].y
if Tab[nick]==true then
tfm.exec.displayParticle(5,x,y-30,0,0,0,0,nil)
end
end
end

system.disableChatCommandDisplay("love",true)

Dernière modification le 1481313960000
Dziedzicuwka
« Citoyen »
1481463900000
    • Dziedzicuwka#0000
    • Profil
    • Derniers messages
    • Tribu
#2434
  0
Ktoś mi do tego doda że jak wybierze sie kolor taki jest
if komd=="sklep" then
ui.showColorPicker(nick)
Klakser
« Consul »
1481734800000
    • Klakser#0000
    • Profil
    • Derniers messages
    • Tribu
#2435
  0
Dajcie mi kod aby pobierało wartość X myszy i jak są wszystkie myszy tam to zmienia się mapa, chce aby to był koniec mapy 4800 czyli chyba od 4650 do 4900 tak mi się zdaje, przynajmniej tego na mapie bo potrzebuje!
z góry dzięki
Dziedzicuwka
« Citoyen »
1481735280000
    • Dziedzicuwka#0000
    • Profil
    • Derniers messages
    • Tribu
#2436
  0
klakser a dit :
Dajcie mi kod aby pobierało wartość X myszy i jak są wszystkie myszy tam to zmienia się mapa, chce aby to był koniec mapy 4800 czyli chyba od 4650 do 4900 tak mi się zdaje, przynajmniej tego na mapie bo potrzebuje!
z góry dzięki

:P ja takie nie umiem...
Klakser
« Consul »
1481737260000
    • Klakser#0000
    • Profil
    • Derniers messages
    • Tribu
#2437
  0
delete bo ktoś się czepia

Dernière modification le 1481742120000
Aanguson
« Citoyen »
1481741580000
    • Aanguson#8461
    • Profil
    • Derniers messages
#2438
  0
klakser a dit :
Dajcie mi kod aby pobierało wartość X myszy i jak są wszystkie myszy tam to zmienia się mapa, chce aby to był koniec mapy 4800 czyli chyba od 4650 do 4900 tak mi się zdaje, przynajmniej tego na mapie bo potrzebuje!
z góry dzięki

Nie wiem czy będzie działać:
Code Lua

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
poz_x=4700 -- zmień na ile tam ci pasuje
i_2=0
function eventLoop()
local i=0
for name,p in pairs(tfm.get.room.playerList) do
i=i+1
if p.x>poz_x then
i_2=i_2+1
end
if i_2>=i then
tfm.exec.newGame(mapa)
i_2==0
end
end
end
Klakser
« Consul »
1481741640000
    • Klakser#0000
    • Profil
    • Derniers messages
    • Tribu
#2439
  0
Aanguson a dit :
klakser a dit :
Dajcie mi kod aby pobierało wartość X myszy i jak są wszystkie myszy tam to zmienia się mapa, chce aby to był koniec mapy 4800 czyli chyba od 4650 do 4900 tak mi się zdaje, przynajmniej tego na mapie bo potrzebuje!
z góry dzięki

Nie wiem czy będzie działać:
Code Lua

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
poz_x=4700 -- zmień na ile tam ci pasuje
i_2=0
function eventLoop()
local i=0
for name,p in pairs(tfm.get.room.playerList) do
i=i+1
if p.x>poz_x then
i_2=i_2+1
end
if i_2>=i then
tfm.exec.newGame(mapa)
i_2==0
end
end
end

dzięki
Bartene
« Consul »
1481976180000
    • Bartene#0000
    • Profil
    • Derniers messages
    • Tribu
#2440
  0
Zrobiłby mi ktoś kod z możliwością tepania się (tak jak na utility bez tych bajerów) i latania dla 4 osób: Bartene, Toffitroller, Opaaal i Uzbrojona. I fajnie jakby te osoby miały kolorowe nicki
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • zamówienia na kody.
« ‹ 122 / 149 › »
© Atelier801 2018

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

Version 1.27