English Deleted Posts

1,629 replies
Goto Page
To the start Previous 1 2 ... 72 73 74 ... 81 82 Next To the start
24.05.17 03:38:44 pm
Up
AdityaKapal362
User
Offline Off
Im master on Lua Scripting, on smartphone. My Calculator Script

GUI:SetRelativeMode(true)

InputEditText = GUI:AddEditText(0, 0.1, ScreenSizeX, 0.1, "")

InputEditText:SetEnabled(false)
InputEditText:SetNumericOnly(true)

Digits = {}
Digit = {}

rr = 0 bb = 255
for i = 1,ScreenSizeY do
rr = rr + (255/ScreenSizeY)
bb = bb - (255/ScreenSizeY)
Screen:DrawRect(0,i,ScreenSizeY,1,Color:rgb(rr,250,bb))
end

Digits[0] = GUI:AddButton(0, 0.2, 0.25, 0.20, "0")
Digits[1] = GUI:AddButton(0, 0.4, 0.25, 0.20, "1")
Digits[2] = GUI:AddButton(0.25, 0.4, 0.25, 0.20, "2")
Digits[3] = GUI:AddButton(0.50, 0.4, 0.25, 0.20, "3")
Digits[4] = GUI:AddButton(0, 0.6, 0.25, 0.20, "4")
Digits[5] = GUI:AddButton(0.25, 0.6, 0.25, 0.20, "5")
Digits[6] = GUI:AddButton(0.50, 0.6, 0.25, 0.20, "6")
Digits[7] = GUI:AddButton(0, 0.8, 0.25, 0.20, "7")
Digits[8] = GUI:AddButton(0.25, 0.8, 0.25, 0.20, "8")
Digits[9] = GUI:AddButton(0.50, 0.8, 0.25, 0.20, "9")

ClearButton = GUI:AddButton(0.25, 0.2, 0.25, 0.20, "CE")
EqualButton = GUI:AddButton(0.50, 0.2, 0.25, 0.20, "=")
CountButton = GUI:AddButton(0.9,0,0.1,0.07,"")

SumButton = GUI:AddButton(0.75, 0.2, 0.25, 0.20, "+")
SubButton = GUI:AddButton(0.75, 0.4, 0.25, 0.20, "-")
MulButton = GUI:AddButton(0.75, 0.6, 0.25, 0.20, "*")
DivButton = GUI:AddButton(0.75, 0.8, 0.25, 0.20, "/")

TempValue = "0"
NewValue = "0"
FinalValue = "0"
Mode = ""

function ClearAllDigits()
InputEditText:SetText("")
CountButton:SetText("")
TempValue = "0"
NewValue = "0"
FinalValue = "0"
Mode = ""
end

function CountFunc(v)
if InputEditText:GetText():len() > 0 then
if Mode:len() == 0 then
Mode = ""..v..""
CountButton:SetText(""..v.."")
TempValue = InputEditText:GetText()
InputEditText:SetText("")
NewValue = "0"
else
Equal()
end
end
end

function SumFunc()
CountFunc("+")
end

function SubFunc()
CountFunc("-")
end

function MulFunc()
CountFunc("*")
end

function DivFunc()
CountFunc("/")
end

function Equal()
if Mode:len() ~= 0 then
if Mode == "+" then
NewValue = tonumber(InputEditText:GetText())
FinalValue = tonumber(TempValue) + tonumber(NewValue)
InputEditText:SetText(""..FinalValue.."")
TempValue = "0"
NewValue = "0"
FinalValue = "0"
Mode = ""
elseif Mode == "-" then
NewValue = tonumber(InputEditText:GetText())
FinalValue = tonumber(TempValue) - tonumber(NewValue)
InputEditText:SetText(""..FinalValue.."")
TempValue = "0"
NewValue = "0"
FinalValue = "0"
Mode = ""
elseif Mode == "*" then
NewValue = tonumber(InputEditText:GetText())
FinalValue = tonumber(TempValue) * tonumber(NewValue)
InputEditText:SetText(""..FinalValue.."")
TempValue = "0"
NewValue = "0"
FinalValue = "0"
Mode = ""
elseif Mode == "/" then
NewValue = tonumber(InputEditText:GetText())
FinalValue = tonumber(TempValue) / tonumber(NewValue)
InputEditText:SetText(""..FinalValue.."")
TempValue = "0"
NewValue = "0"
FinalValue = "0"
Mode = ""
end
else
Mode = ""
CountButton:SetText("")
end
end

function AddDigit(v)
lastvalue = ""..tostring(InputEditText:GetText())..""
InputEditText:SetText(lastvalue..""..v)
end

for i = 0, 9 do
Digit[i] = function()
AddDigit(i)
end
end

for i = 0, 9 do
Digits[i]:AddEventHandler("OnTouchDown", Digit[i])
end

EqualButton:AddEventHandler("OnTouchDown", Equal)
SumButton:AddEventHandler("OnTouchDown", SumFunc)
SubButton:AddEventHandler("OnTouchDown", SubFunc)
MulButton:AddEventHandler("OnTouchDown", MulFunc)
DivButton:AddEventHandler("OnTouchDown", DivFunc)
ClearButton:AddEventHandler("OnTouchDown", ClearAllDigits)
CountButton:SetEnabled(false)
24.05.17 03:41:32 pm
Up
the bamboozle
User
Offline Off
That was long.
IMG:http://i.imgur.com/25W0hbk.png
wow, such signature, much fabulous
04.06.17 11:11:53 pm
Up
Ahmad
User
Offline Off
05.06.17 07:19:45 am
Up
sophia
BANNED
Offline Off
HOLA A TODOS!! Y HOLA @user DC: HIJO DE PUTA C==8

TENGO UNA IDEA QUE REVOLUCIONARA CS2D Y VA HACER QUE HAYA ALREDEDOR DE 1.000 Y 2.000 JUGADORES ONLINE TODOS LOS DIAS, LO PRIMERO QUE DEVEN HACER ES IR Y DECIRLES A SUS MADRES, "VIEJA CHOTA CHUPAME LA PIJA" AUTOMATICAMENTE TE VA A CAGAR A TROMPADAS Y A CASTIGAR, ENTONCES VAS A TENER TIEMPO DE JUGAR EN LA PC Y CONOCERAS CS2D, TE LA VAS A PASAY VICIANDO TODO EL DIA, Y LLEGARA UN DIA Y PENSARAS ¿PORQUE TENGO EL CULO ROTO? TE RESPONDERA TU MADRE QUE SI SEGUIS PENSANDO ESO TE VA A METER UN PALO POR EL CULO BIEN ADENTRO, LO SEGUNDO QUE DEVEN HACER ES IR A UN KIOSCO A ROBARLO, VIOLAR AL QUE ATIENDA EL KIOSCO Y CUANDO TERMINES DE ROBAR TE VAS A RUSSIA A JUGAR CON UN PING MUY BUENO, QUIERO DECIRLE A TODOS LO QUE LEAN ESTO, QUE SON UNA MANGA DE HIJOS DE PUTA QUE NO ME IMPORTA LO QUE HAGAN PORQUE SE PUEDEN METER UN PALO POR EL ANO Y JUGAR CS2D AL MISMO TIEMPO, SOY UN IDIOTA ESCRIBIENDO IDIOTECES Y USTED ES UN IDIOTA PORQUE ESTA LEYENDO ESTO Y PERDIENDO SU TIEMPO, MALDITO HIJO DE PUTA, PUEDER IRTE A LA MIERDA CONCHUDO NEGRO
05.06.17 07:23:19 am
Up
sophia
BANNED
Offline Off
HOLA A TODOS!! Y HOLA @user DC: HIJO DE PUTA C==8

TENGO UNA IDEA QUE REVOLUCIONARA CS2D Y VA HACER QUE HAYA ALREDEDOR DE 1.000 Y 2.000 JUGADORES ONLINE TODOS LOS DIAS, LO PRIMERO QUE DEVEN HACER ES IR Y DECIRLES A SUS MADRES, "VIEJA CHOTA CHUPAME LA PIJA" AUTOMATICAMENTE TE VA A CAGAR A TROMPADAS Y A CASTIGAR, ENTONCES VAS A TENER TIEMPO DE JUGAR EN LA PC Y CONOCERAS CS2D, TE LA VAS A PASAY VICIANDO TODO EL DIA, Y LLEGARA UN DIA Y PENSARAS ¿PORQUE TENGO EL CULO ROTO? TE RESPONDERA TU MADRE QUE SI SEGUIS PENSANDO ESO TE VA A METER UN PALO POR EL CULO BIEN ADENTRO, LO SEGUNDO QUE DEVEN HACER ES IR A UN KIOSCO A ROBARLO, VIOLAR AL QUE ATIENDA EL KIOSCO Y CUANDO TERMINES DE ROBAR TE VAS A RUSSIA A JUGAR CON UN PING MUY BUENO, QUIERO DECIRLE A TODOS LO QUE LEAN ESTO, QUE SON UNA MANGA DE HIJOS DE PUTA QUE NO ME IMPORTA LO QUE HAGAN PORQUE SE PUEDEN METER UN PALO POR EL ANO Y JUGAR CS2D AL MISMO TIEMPO, SOY UN IDIOTA ESCRIBIENDO IDIOTECES Y USTED ES UN IDIOTA PORQUE ESTA LEYENDO ESTO Y PERDIENDO SU TIEMPO, MALDITO HIJO DE PUTA, PUEDER IRTE A LA MIERDA CONCHUDO NEGRO
05.06.17 10:18:04 am
Up
Gaios
Security Supporter
Offline Off
I want to add that white people are better than black people.
05.06.17 11:51:46 pm
Up
4Vendetta
User
Offline Off
Lmfao
IMG:http://orig12.deviantart.net/d660/f/2015/294/4/a/loki_free_icon_smite_by_cuti_chan-d9dwjst.gif
No one can play Masturball... IMG:http://orig08.deviantart.net/2bdc/f/2015/360/1/f/khepri_free_icon_smite_by_cuti_chan-d9llycr.gif
06.06.17 01:15:53 am
Up
BcY
User
Offline Off
@user 4Vendetta: laughing for what?
Kgb2d Community - Since 2012
08.06.17 03:17:08 pm
Up
Masea
Super User
Offline Off
user Yates has written:
Also note that that is totally not a new idea, it's been around for years and years and Valve was not the first to think of it.
Mine is not either.
Create your UI easy and fast: UI Framework | Go deeper into the darkness and test your bravery: file cs2d Outlast 2 Modification (27)
08.06.17 03:20:18 pm
Up
Yates
Reviewer
Offline Off
@user Masea: Uh okay, I know? Anyway, like I said:

Quote:
I'm just questioning the use of it here.
08.06.17 03:28:08 pm
Up
Yates
Reviewer
Offline Off
user Masea has written:
As I said already, a lot of people use it in Steam, so won't you think there'd be a lot of people who would be going to use that feature at here?

Give me one legit reason why it's useful here. You have an idea, sell it, don't expect people to just agree with you without discussing the why.

user Masea has written:
This discussion is over, my god.

You can't ask a question and then say "discussion over" - this isn't kindergarten, you're not 4 years old any more.
08.06.17 03:34:15 pm
Up
Masea
Super User
Offline Off
user Yates has written:
Give me one legit reason why it's useful here.

When the guy can't get the answer over and asks over and over again.

user Yates has written:
You can't ask a question and then say "discussion over" - this isn't kindergarten, you're not 4 years old any more.
Okay. Let's not over. So fucking answer it, because I asked first, then I'll answer your question.
Create your UI easy and fast: UI Framework | Go deeper into the darkness and test your bravery: file cs2d Outlast 2 Modification (27)
08.06.17 03:40:15 pm
Up
Yates
Reviewer
Offline Off
user Masea has written:
user Yates has written:
Give me one legit reason why it's useful here.

When the guy can't get the answer over and asks over and over again.

Some random shitty text in italic which grammatically makes no sense oh wait this actually does fuck I'm doing it wrong but back to my point the reason I'm doing this is because it now looks like a quote so now I'm cool - IGN

user Masea has written:
user Yates has written:
You can't ask a question and then say "discussion over" - this isn't kindergarten, you're not 4 years old any more.
Okay. Let's not over. So fucking answer it, because I asked first, then I'll answer your question.

Here you go:
Quote:
Just because you can do something doesn't mean you should spend time doing it. Note that DC will still have to code all of this and I don't think he'd want to do things for Unreal Software unless absolutely necessary (or a really good idea - like the heart emoticon 10/10 one love no woman no cry).


Your turn! Surprise me.
08.06.17 03:47:35 pm
Up
Masea
Super User
Offline Off
@user Yates: Ok, my turn, yes You're a kid, why? Because you think you and I are taunting to each other right now. But we are absolutely NOT! Get it?

I'm not going to use quotes in this post since they are not helping me against user Yates at all.
IMG:https://i.hizliresim.com/dGW2nQ.png


So maybe I can say now "this discussion is over" because I didn't ask anything this time, I answered HAHAHA! GET OUT, MATE!

Joking aside, let user DC say something about it.
Create your UI easy and fast: UI Framework | Go deeper into the darkness and test your bravery: file cs2d Outlast 2 Modification (27)
08.06.17 03:58:48 pm
Up
Yates
Reviewer
Offline Off
user Masea has written:
@user Yates: Ok, my turn, yes You're a kid, why?

Ouch you're busting my nuts lad. Better stop before my feelings get hurt.

user Masea has written:
Because you think you and I are taunting to each other right now. But we are absolutely NOT! Get it?

Got it. Can I get an answer to my question now? (read on until the end)

user Masea has written:
I'm not going to use quotes in this post since they are not helping me against user Yates at all.

Git gut m8

user Masea has written:
IMG:https://i.hizliresim.com/dGW2nQ.png


So maybe I can say now "this discussion is over" because I didn't ask anything this time, I answered HAHAHA! GET OUT, MATE!

Can't do that, see:

user Yates has written:
Give me one legit reason why it's useful here. You have an idea, sell it, don't expect people to just agree with you without discussing the why.

Legit reason != "hurr durr because people use it"

Still need that legit reason. You're not convincing anyone right now.
08.06.17 04:06:13 pm
Up
Masea
Super User
Offline Off
@user Yates: These all went too long just because of your not understanding, user Yates.

Quote:
Everything doesn't have to be really needed, user Yates. If there wasn't a
:ugly:
emoticon and if I'd have asked for this, you'd go and say like this over again.
Looks like you miss this part of my old comment.

People sometimes want the things that are nothing(useful, needed) but fun.

You can't see if you don't want to see the answer.

That idea, which people uses a lot in Steam, entered my mind and I wanted to share it here. However, you went too mad, who knows why.

I don't know why are we still posting in this thread.
Create your UI easy and fast: UI Framework | Go deeper into the darkness and test your bravery: file cs2d Outlast 2 Modification (27)
08.06.17 04:10:54 pm
Up
Yates
Reviewer
Offline Off
user Masea has written:
@user Yates: These all went too long just because of your not understanding, user Yates.

Let's agree to disagree.

user Masea has written:
Quote:
Everything doesn't have to be really needed, user Yates. If there wasn't a
:ugly:
emoticon and if I'd have asked for this, you'd go and say like this over again.
Looks like you miss this part of my old comment.

People sometimes want the things that are nothing(useful, needed) but fun.

And you can't see if you don't want to see the answer.

I read that, but how does "fun" apply onto profile posts? The emoticon is used for many reasons not only for the fun of it. It's a useful emoticon.

Key word: useful

user Masea has written:
That idea, which people uses a lot in Steam, entered my mind and I wanted to share it here. However, you went too mad, who knows why.

Ayy where did I go mad? You're implying things here. Sit down, lean back and think on it.
08.06.17 04:20:01 pm
Up
Masea
Super User
Offline Off
user Yates has written:
I read that, but how does "fun" apply onto profile posts?
You can see when you read any from Steam.

user Yates has written:
Ayy where did I go mad?
When you start to think and say something unnecessary for each sentence I wrote.

user Yates has written:
Sit down, lean back and think on it.
Yes, I also suggest you do that
Create your UI easy and fast: UI Framework | Go deeper into the darkness and test your bravery: file cs2d Outlast 2 Modification (27)
08.06.17 10:11:19 pm
Up
Nekomata
User
Offline Off
edit: nevermind.
15.06.17 05:12:56 am
Up
omg
User
Offline Off
b a n n e d
will code for food
To the start Previous 1 2 ... 72 73 74 ... 81 82 Next To the start