Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 15.44 - DumbFuck - HL2RP here!: Clothing items!
- 15.48 - Kurochi: what
- 15.48 - Kurochi: Confetti! :D
- 15.49 - DumbFuck - HL2RP here!: well we have clothing items and not all of them work
- 15.49 - DumbFuck - HL2RP here!: so im trying to fix it
- 15.49 - DumbFuck - HL2RP here!: and i realised why i never do shit like this
- 15.52 - DumbFuck - HL2RP here!: so much code
- 15.55 - Kurochi: lol it's nothing
- 15.56 - DumbFuck - HL2RP here!: why does it need so much
- 15.56 - DumbFuck - HL2RP here!: why cant it just
- 15.56 - Kurochi: it's not too much code
- 15.56 - Kurochi: I mean, what
- 15.56 - DumbFuck - HL2RP here!: set.bodygroup = 1
- set.subgroup = 3
- 15.56 - Kurochi: set.subgr wha
- 15.56 - DumbFuck - HL2RP here!: if that was lua
- 15.56 - Kurochi: What is "set"
- 15.56 - DumbFuck - HL2RP here!: it would be so easy
- 15.56 - DumbFuck - HL2RP here!: why does it need
- 15.57 - DumbFuck - HL2RP here!: 2000 lines
- 15.57 - Kurochi: What are you talking baout
- 15.57 - Kurochi: CW Clothing items
- 15.57 - Kurochi: Or you're making your own framework ll
- 15.57 - Kurochi: It sounds more like your own framework
- 15.57 - DumbFuck - HL2RP here!: what
- 15.58 - Kurochi: xD
- 15.58 - Kurochi: 2000 lines, waht are you even talking about because I didn't get it yet
- 15.58 - Kurochi: I thought I got it
- 15.58 - Kurochi: but then you said "set.bodygroup"
- 15.58 - DumbFuck - HL2RP here!: local ITEM = Clockwork.item:New();
- ITEM.name = "Gloves";
- ITEM.model = "models/props_junk/cardboard_box004a.mdl";
- ITEM.weight = 0.1;
- ITEM.useText = "Wear";
- ITEM.category = "Clothing";
- ITEM.description = "A pair of nice black gloves. These things can take some punishment.";
- ITEM.customFunctions = {"Remove"};
- ITEM.access = "v";
- ITEM.business = true;
- local bodyGroup = 3;
- -- Called when a player drops the item.
- function ITEM:OnDrop(player, position)
- local target = player
- local targetBodyGroups = target:GetCharacterData("BodyGroups") or {};
- local bodyGroupState = 0;
- local model = target:GetModel();
- if( bodyGroup < target:GetNumBodyGroups() )then
- targetBodyGroups[model] = targetBodyGroups[model] or {};
- if( bodyGroupState == 0 )then
- targetBodyGroups[model][tostring(bodyGroup)] = nil;
- else
- targetBodyGroups[model][tostring(bodyGroup)] = bodyGroupState;
- end;
- target:SetBodygroup(bodyGroup, bodyGroupState);
- target:SetCharacterData("BodyGroups", targetBodyGroups);
- end;
- return true
- end;
- -- Called when a player uses the item.
- function ITEM:OnUse(player, itemEntity)
- if (player:Alive() and !player:IsRagdolled()) then
- if (!self.CanPlayerWear or self:CanPlayerWear(player, itemEntity) != false) then
- local target = player
- local targetBodyGroups = target:GetCharacterData("BodyGroups") or {};
- local bodyGroupState = 1;
- local mo
- 15.58 - DumbFuck - HL2RP here!: why the fuck would it need that much code
- 15.58 - Kurochi: First, if (!self.CanPlayerWear or self:CanPlayerWear(player, itemEntity) != false) then
- 15.59 - Kurochi: Is already called before OnUse
- 15.59 - DumbFuck - HL2RP here!: if.equip = return set.bodygroup = 1, set.subgroup = 4
- 15.59 - DumbFuck - HL2RP here!: I should invent my own coding language
- 15.59 - DumbFuck - HL2RP here!: it would be the easiest shit ever
- 15.59 - Kurochi: if (player:Alive() and !player:IsRagdolled()) then
- This can go inside CanPlayerWear
- 15.59 - DumbFuck - HL2RP here!: see
- 15.59 - DumbFuck - HL2RP here!: why all that shit
- 15.59 - Kurochi: DUDE do yo urealize how much you're confusing me by putting shitty code like if.equip = return
- 15.59 - DumbFuck - HL2RP here!: who needs all that
- 15.59 - DumbFuck - HL2RP here!: "shitty code"
- 16.00 - DumbFuck - HL2RP here!: if shit worked like that
- 16.00 - DumbFuck - HL2RP here!: clockwork would be one file
- 16.00 - Kurochi: if.equip = return
- 16.00 - DumbFuck - HL2RP here!: lol
- 16.00 - Kurochi: Do you even realize
- 16.00 - Kurochi: What the fuck does that mean lol
- 16.00 - Kurochi: "if.equip
- 16.00 - DumbFuck - HL2RP here!: no
- 16.00 - Kurochi: If is a directive
- 16.00 - DumbFuck - HL2RP here!: because im not a coder
- 16.00 - Kurochi: you can't index a directive
- 16.00 - DumbFuck - HL2RP here!: it means
- 16.00 - DumbFuck - HL2RP here!: if the fucking item is equipped
- 16.00 - Kurochi: .equip is an index
- 16.00 - DumbFuck - HL2RP here!: it fucking returns to set bodygroup
- 16.00 - DumbFuck - HL2RP here!: and subgroup
- 16.00 - Kurochi: you can't use = inside an if statement because it's an assignment
- 16.00 - DumbFuck - HL2RP here!: wow
- 16.00 - DumbFuck - HL2RP here!: okay
- 16.00 - DumbFuck - HL2RP here!: just forget it
- 16.00 - Kurochi: And you can't assign anythign to return
- 16.00 - DumbFuck - HL2RP here!: youre clearly not seeing
- 16.00 - DumbFuck - HL2RP here!: what im saying to you
- 16.00 - Kurochi: I'm seeing
- 16.01 - Kurochi: I' mseeing so much shit
- 16.01 - DumbFuck - HL2RP here!: no youre not
- 16.01 - Kurochi: though
- 16.01 - Kurochi: If code was like that it would make no sense
- 16.01 - DumbFuck - HL2RP here!: you think you are but youre not
- 16.01 - DumbFuck - HL2RP here!: you think im trying to code lua
- 16.01 - Kurochi: I do, what are you trying to code
- 16.01 - DumbFuck - HL2RP here!: nothing
- 16.01 - DumbFuck - HL2RP here!: because i cant code
- 16.01 - Kurochi: Then let's assume that was a programming language
- 16.01 - DumbFuck - HL2RP here!: but if i was going to invent my own fucking coding language
- 16.01 - DumbFuck - HL2RP here!: i would do it like that
- 16.01 - Kurochi: It would not work
- 16.01 - DumbFuck - HL2RP here!: of course it would
- 16.01 - Kurochi: It wouldn'0t
- 16.01 - Kurochi: DUD
- 16.01 - Kurochi: E
- 16.01 - Kurochi: You think you know what you typed
- 16.01 - Kurochi: But you don't
- 16.02 - Kurochi: I'm going to start talking like you do
- 16.02 - Kurochi: You think you know, you think you think
- 16.02 - Kurochi: But you don't
- 16.02 - Kurochi: Alright?
- 16.02 - DumbFuck - HL2RP here!: no
- 16.02 - Kurochi: Fuck
- 16.02 - DumbFuck - HL2RP here!: you dont know
- 16.02 - DumbFuck - HL2RP here!: what im talking about
- 16.02 - Kurochi: I do
- 16.02 - Kurochi: "IF ONLY IT WERE THIS EASY"
- 16.02 - DumbFuck - HL2RP here!: you keep assuming im trying to adhere
- 16.02 - DumbFuck - HL2RP here!: to some pre-set set of rules
- 16.02 - DumbFuck - HL2RP here!: made for coding
- 16.02 - Kurochi: Why do you thin
- 16.02 - Kurochi: THose pre-set rules
- 16.02 - Kurochi: Were made
- 16.02 - Kurochi: Because they're broken as fuck?
- 16.02 - DumbFuck - HL2RP here!: Doesn't fucking matter man
- 16.02 - Kurochi: It does
- 16.02 - DumbFuck - HL2RP here!: That's not the point
- 16.02 - DumbFuck - HL2RP here!: NO
- 16.02 - Kurochi: Let's not re-invent the wheel
- 16.02 - DumbFuck - HL2RP here!: it doesnt
- 16.02 - DumbFuck - HL2RP here!: It's not the point.
- 16.03 - DumbFuck - HL2RP here!: Yeah not like we already have
- 16.03 - DumbFuck - HL2RP here!: 5000 languages
- 16.03 - DumbFuck - HL2RP here!: to code shit in
- 16.03 - DumbFuck - HL2RP here!: what is one more, right?
- 16.03 - DumbFuck - HL2RP here!: re-inventing the wheel.
- 16.03 - Kurochi: But that fucking thing you typed xD
- 16.03 - DumbFuck - HL2RP here!: it would make sense
- 16.03 - Kurochi: No it's not
- 16.03 - DumbFuck - HL2RP here!: if I was coding shit
- 16.03 - DumbFuck - HL2RP here!: and I made my own fucking coding language
- 16.03 - DumbFuck - HL2RP here!: that would be how easy it'd be
- 16.03 - DumbFuck - HL2RP here!: because it should'nt require
- 16.03 - Kurochi: very hard
- 16.03 - DumbFuck - HL2RP here!: 50 lines of code
- 16.03 - Kurochi: Because making your own programming language
- 16.03 - DumbFuck - HL2RP here!: to fucking
- 16.03 - DumbFuck - HL2RP here!: change my skin
- 16.03 - Kurochi: Would take you 4 years
- 16.03 - Kurochi: Before you could actually code a clothing item
- 16.04 - Kurochi: in 5 minutes
- 16.04 - DumbFuck - HL2RP here!: does
- 16.04 - DumbFuck - HL2RP here!: "hypothetical"
- 16.04 - DumbFuck - HL2RP here!: not exist in italy
- 16.04 - Kurochi: So 4 years and 5 minutes before you code a clothing item
- 16.04 - DumbFuck - HL2RP here!: sounds like it
- 16.04 - Kurochi: IT does, but you're saying nonsense
- 16.04 - DumbFuck - HL2RP here!: No I'm not.
- 16.04 - DumbFuck - HL2RP here!: It's just nonsense to you
- 16.04 - DumbFuck - HL2RP here!: because you're adhering to the pre-set rules
- 16.04 - Kurochi: That are prefectly logical and make sense
- 16.04 - Kurochi: I adhere to paradigms
- 16.04 - DumbFuck - HL2RP here!: You're basically telling me
- 16.04 - DumbFuck - HL2RP here!: I can't put the steeringwheel
- 16.05 - DumbFuck - HL2RP here!: on the right side of a car
- 16.05 - DumbFuck - HL2RP here!: because according to the rules
- 16.05 - DumbFuck - HL2RP here!: it has to be in the left
- 16.05 - Kurochi: That's still logical to put it on the right side
- 16.05 - Kurochi: It doesn't fucking matter
- 16.05 - Kurochi: But if.equip = return
- 16.05 - Kurochi: Like dude
- 16.05 - Kurochi: If ISent that to any other programmer
- 16.05 - Kurochi: ANd tell him what you told me
- 16.05 - Kurochi: He would beat the shit out of ME
- 16.05 - Kurochi: not YOU
- 16.06 - DumbFuck - HL2RP here!: okay okay okay
- 16.06 - DumbFuck - HL2RP here!: let me try to explain this to you
- 16.06 - Kurochi: After what you said, I want to beat the shit out of myself
- 16.06 - DumbFuck - HL2RP here!: so it might make sense
- 16.06 - DumbFuck - HL2RP here!: in my hypothetical coding language
- 16.06 - Kurochi: That doesn't make sense
- 16.06 - Kurochi: Go on
- 16.06 - DumbFuck - HL2RP here!: if.equip means
- 16.06 - Kurochi: Nothing
- 16.06 - DumbFuck - HL2RP here!: if the fucking item
- 16.06 - DumbFuck - HL2RP here!: is equipped
- 16.06 - Kurochi: why would you put a dot
- 16.06 - Kurochi: Besides you can arlready do
- 16.06 - DumbFuck - HL2RP here!: = means then
- 16.06 - Kurochi: if equip then
- 16.06 - DumbFuck - HL2RP here!: because
- 16.06 - DumbFuck - HL2RP here!: if i just went ifequip
- 16.07 - DumbFuck - HL2RP here!: what if I need "if" for something else?
- 16.07 - Kurochi: What
- 16.07 - Kurochi: if AND?
- 16.07 - Kurochi: if equip and not broken then
- 16.07 - Kurochi: you can do that and it works perfectly
- 16.07 - Kurochi: That's legit lua
- 16.07 - DumbFuck - HL2RP here!: what
- 16.07 - Kurochi: 16.07 - Kurochi: if equip and not broken then
- 16.07 - Kurochi: AKA
- 16.08 - Kurochi: if equip == true and broken != false then
- 16.08 - DumbFuck - HL2RP here!: yeah that makes no sense to me
- 16.08 - DumbFuck - HL2RP here!: if equip and not broken then
- 16.08 - Kurochi: AKA if equip and !broken then
- 16.08 - Kurochi: *** broken == false (in the second AKA)
- 16.08 - DumbFuck - HL2RP here!: yeah that
- 16.08 - DumbFuck - HL2RP here!: makes no sense
- 16.08 - DumbFuck - HL2RP here!: to me
- 16.08 - Kurochi: Learn to code
- 16.08 - DumbFuck - HL2RP here!: no
- 16.08 - DumbFuck - HL2RP here!: I have more important things
- 16.08 - DumbFuck - HL2RP here!: to use my brain for
- 16.08 - Kurochi: You can't expect something to make sense
- 16.08 - Kurochi: If you don't learn it first
- 16.09 - DumbFuck - HL2RP here!: I'm not asking you to teach me to code
- 16.09 - Kurochi: I'm not teaching you coe
- 16.09 - Kurochi: I don't even want to teach you coe
- 16.09 - Kurochi: *Cde
- 16.09 - Kurochi: * *CEPODEP
- 16.09 - Kurochi: Right
- 16.09 - Kurochi: ****************** C O D E
- 16.09 - Kurochi: W o w t h i s t y p i n g i s s o c o o l
- 16.09 - DumbFuck - HL2RP here!: my fucking point was
- 16.10 - DumbFuck - HL2RP here!: if = IF something happens
- 16.10 - DumbFuck - HL2RP here!: Equip = The action of equipping it
- 16.10 - DumbFuck - HL2RP here!: = = Then do
- 16.10 - Kurochi: That is so unpractical, but whatever you wish
- 16.10 - DumbFuck - HL2RP here!: set. = set something
- 16.10 - DumbFuck - HL2RP here!: bodygroup means bodygroup
- 16.10 - DumbFuck - HL2RP here!: subgroup means subgroup
- 16.10 - DumbFuck - HL2RP here!: how is that impratical
- 16.10 - DumbFuck - HL2RP here!: if coding worked like that
- 16.10 - DumbFuck - HL2RP here!: this plugin
- 16.11 - DumbFuck - HL2RP here!: would only be
- 16.11 - Kurochi: COmputers wouldn't exist
- 16.11 - DumbFuck - HL2RP here!: one line
- 16.11 - Kurochi: WIndows 8 would be a stone with sticks glued onto it
- 16.11 - DumbFuck - HL2RP here!: isnt it already
- 16.11 - Kurochi: MS-DOS being just the stone
- 16.11 - DumbFuck - HL2RP here!: windows 8 is shit
- 16.11 - DumbFuck - HL2RP here!: lol
- 16.11 - Kurochi: It's not too bad
- 16.11 - DumbFuck - HL2RP here!: it is theres no desktop
- 16.11 - Kurochi: It's faster than 7, but you can add your own start menu
- 16.11 - DumbFuck - HL2RP here!: and everything is icons
- 16.11 - Kurochi: What
- 16.11 - DumbFuck - HL2RP here!: and buttons
- 16.11 - Kurochi: Ther eis a desktop
- 16.12 - DumbFuck - HL2RP here!: ok kuro
- 16.12 - DumbFuck - HL2RP here!: let me
- 16.12 - DumbFuck - HL2RP here!: prove to you
- 16.12 - DumbFuck - HL2RP here!: how fucking easy my shit would be
- 16.12 - Kurochi: I made a screenshot, I'll show you how I set my Win 8 up
- 16.12 - Kurochi: http://gyazo.com/30a7d452d7ead4247b284b6604c55b67
- 16.12 - DumbFuck - HL2RP here!: give me something
- 16.12 - DumbFuck - HL2RP here!: that needs to happen
- 16.12 - DumbFuck - HL2RP here!: in my "language"
- 16.12 - DumbFuck - HL2RP here!: and i will fucking make it
- 16.12 - DumbFuck - HL2RP here!: and it will be easy
- 16.12 - DumbFuck - HL2RP here!: and not take 50 .lua files
- 16.12 - Kurochi: Create your programming language
- 16.12 - Kurochi: Have at least 1000 people coding it fluently
- 16.12 - Kurochi: Then come back to me
- 16.12 - Kurochi: and I'll admit it was a good idea
- 16.13 - Kurochi: Deal?
- 16.13 - Kurochi: I'm being honest right here
- 16.13 - Kurochi: IF you do that
- 16.13 - Kurochi: I'll learn your progralling language
- 16.13 - Kurochi: *programming
- 16.13 - DumbFuck - HL2RP here!: no because i dont want to make one because the requires me to fucking learn shit
- 16.13 - DumbFuck - HL2RP here!: and im not interesting in learning how to fucking talk with my computer
- 16.13 - DumbFuck - HL2RP here!: because I need my fucking brain for more important shit
- 16.13 - DumbFuck - HL2RP here!: like medschool
- 16.13 - DumbFuck - HL2RP here!: and psychiatry
- 16.13 - DumbFuck - HL2RP here!: i know basic html
- 16.13 - DumbFuck - HL2RP here!: thats all i need
- 16.13 - Kurochi: RIght, maybe that last path may be of more use to you than computers16.15 - DumbFuck - HL2RP here!: yes
- 16.15 - DumbFuck - HL2RP here!: computers dont suck dick
- 16.15 - DumbFuck - HL2RP here!: or make me dinner
- 16.15 - DumbFuck - HL2RP here!: people do
- 16.15 - DumbFuck - HL2RP here!: basically im learning human programming language
- 16.15 - DumbFuck - HL2RP here!: thats a good way to put it
- 16.15 - DumbFuck - HL2RP here!: fuck you lua
- 16.15 - Kurochi: Do you want ot learn psychiatry
- 16.15 - Kurochi: So that people sucks your dick
- 16.15 - DumbFuck - HL2RP here!: No I want to learn psychiatry so I can open a private clinic
- 16.15 - DumbFuck - HL2RP here!: then I can use my money
- 16.16 - DumbFuck - HL2RP here!: to get people to suck my dick
- 16.16 - Kurochi: To have people suck your dkc
- 16.16 - Kurochi: Yep16.16 - DumbFuck - HL2RP here!: and make me dinner
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement