![]() |
![]() ![]() « Citoyen » 1387034880000
| 0 | ||
Here : !input Whrite something(because of html can used that's why ^^) press sumbit insert the answer in string table |
![]() ![]() « Censeur » 1387036620000
| 0 | ||
Haha, I found what's wrong in your code. x) You wrote the eventPopupAnswer as eventPopupAnwer. xD a dit : |
![]() ![]() « Citoyen » 1387038060000
| 0 | ||
Safwanrockz a dit : LOOOOOOOOOOOL , I am so stupid ... E : STILL NOT WORKING :ccccccccccccc E2 : Okay now it does lol |
![]() « Citoyen » 1387158360000
| 0 | ||
What is the script that if a player clicks on a player, leave a textArea? TextArea: " You gave click Player "..playerName.." " |
0 | ||
Thetroz a dit : Do you have the x and y value where you want the textarea to be spawned? |
![]() ![]() « Citoyen » 1387201920000
| 0 | ||
Is it possible to have a script where it says a message above the person name after you click in him/her? |
![]() « Citoyen » 1387207140000
| 0 | ||
Jordynl a dit : in the x and y where did click would be as ui.addTextArea(0, "You gave click Player "..playerName.."", p, x, y ,250 , 50,16777215, 16777215, 0) |
![]() ![]() « Citoyen » 1387229280000
| 0 | ||
Maxxzinnn a dit : For clicking on him/her , It is sooooooooo hard to code :c |
0 | ||
Maxxzinnn a dit : [quote='stuff'] id={} function eventNewPlayer(name) system.bindMouse(name,true) end for name in pairs(tfm.get.room.playerList) do eventNewPlayer(name) end function eventMouse(name,x,y) for player in pairs(tfm.get.room.playerList) do player_x=tfm.get.room.playerList[player].x player_y=tfm.get.room.playerList[player].y if x<player_x+20 and x>player_x-20 then if y<player_y+20 and y>player_y-20 then textBubble(name,'<font face="tahoma" size="12" color="#FFFAE6"><b><p align="center">'..player) end end end end function textBubble(name,text) name_x=tfm.get.room.playerList[name].x name_y=tfm.get.room.playerList[name].y text_id=math.random(1200) table.insert(id,text_id) ui.addTextArea(text_id,text,nil,name_x-40,name_y-100,80,23,0x3B4452,0x3C4860) end function eventChatCommand(name,c) if c:sub(1,5)=='clear' then for _,idd in pairs(id) do ui.removeTextArea(idd) end end end[/quote] idk how u want the text areas altered, but u can use !clear to remove them for now |
![]() ![]() « Citoyen » 1387229280000
| 0 | ||
Issey a dit : aww , GJ lol |
0 | ||
Well done Issey. Here is my version: a dit : I hope that it helped you. |
![]() ![]() « Citoyen » 1387230420000
| 0 | ||
Thank you both, but can you make it so I can change the message that appears? q.q |
0 | ||
Maxxzinnn a dit : This part: "You gave click Player "..playerName" ? |
![]() ![]() « Citoyen » 1387232340000
| 0 | ||
Sorry, was talking about issey script, can't find a way to change the message q.q |
0 | ||
Maxxzinnn a dit : a dit : Right here. |
![]() ![]() « Citoyen » 1387232760000
| 0 | ||
I mean that there is no way to change the word what appears there |
0 | ||
Maxxzinnn a dit : Yes there is. Replace it with this: a dit : Try this :P |
![]() ![]() « Citoyen » 1387233120000
| 0 | ||
Oh, thank you very much :p |
0 | ||
Maxxzinnn a dit : You're welcome. :) |
![]() « Citoyen » 1387238220000
| 0 | ||
*deleted* |