Advertisement
Guest User

Dumbass

a guest
Nov 26th, 2014
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.41 KB | None | 0 0
  1. 15.44 - DumbFuck - HL2RP here!: Clothing items!
  2. 15.48 - Kurochi: what
  3. 15.48 - Kurochi: Confetti! :D
  4. 15.49 - DumbFuck - HL2RP here!: well we have clothing items and not all of them work
  5. 15.49 - DumbFuck - HL2RP here!: so im trying to fix it
  6. 15.49 - DumbFuck - HL2RP here!: and i realised why i never do shit like this
  7. 15.52 - DumbFuck - HL2RP here!: so much code
  8. 15.55 - Kurochi: lol it's nothing
  9. 15.56 - DumbFuck - HL2RP here!: why does it need so much
  10. 15.56 - DumbFuck - HL2RP here!: why cant it just
  11. 15.56 - Kurochi: it's not too much code
  12. 15.56 - Kurochi: I mean, what
  13. 15.56 - DumbFuck - HL2RP here!: set.bodygroup = 1
  14. set.subgroup = 3
  15. 15.56 - Kurochi: set.subgr wha
  16. 15.56 - DumbFuck - HL2RP here!: if that was lua
  17. 15.56 - Kurochi: What is "set"
  18. 15.56 - DumbFuck - HL2RP here!: it would be so easy
  19. 15.56 - DumbFuck - HL2RP here!: why does it need
  20. 15.57 - DumbFuck - HL2RP here!: 2000 lines
  21. 15.57 - Kurochi: What are you talking baout
  22. 15.57 - Kurochi: CW Clothing items
  23. 15.57 - Kurochi: Or you're making your own framework ll
  24. 15.57 - Kurochi: It sounds more like your own framework
  25. 15.57 - DumbFuck - HL2RP here!: what
  26. 15.58 - Kurochi: xD
  27. 15.58 - Kurochi: 2000 lines, waht are you even talking about because I didn't get it yet
  28. 15.58 - Kurochi: I thought I got it
  29. 15.58 - Kurochi: but then you said "set.bodygroup"
  30. 15.58 - DumbFuck - HL2RP here!: local ITEM = Clockwork.item:New();
  31. ITEM.name = "Gloves";
  32. ITEM.model = "models/props_junk/cardboard_box004a.mdl";
  33. ITEM.weight = 0.1;
  34. ITEM.useText = "Wear";
  35. ITEM.category = "Clothing";
  36. ITEM.description = "A pair of nice black gloves. These things can take some punishment.";
  37. ITEM.customFunctions = {"Remove"};
  38. ITEM.access = "v";
  39. ITEM.business = true;
  40.  
  41. local bodyGroup = 3;
  42.  
  43.  
  44. -- Called when a player drops the item.
  45. function ITEM:OnDrop(player, position)
  46.  
  47.  
  48. local target = player
  49. local targetBodyGroups = target:GetCharacterData("BodyGroups") or {};
  50. local bodyGroupState = 0;
  51. local model = target:GetModel();
  52.  
  53. if( bodyGroup < target:GetNumBodyGroups() )then
  54. targetBodyGroups[model] = targetBodyGroups[model] or {};
  55.  
  56. if( bodyGroupState == 0 )then
  57. targetBodyGroups[model][tostring(bodyGroup)] = nil;
  58. else
  59. targetBodyGroups[model][tostring(bodyGroup)] = bodyGroupState;
  60. end;
  61.  
  62. target:SetBodygroup(bodyGroup, bodyGroupState);
  63.  
  64. target:SetCharacterData("BodyGroups", targetBodyGroups);
  65.  
  66. end;
  67. return true
  68.  
  69. end;
  70.  
  71.  
  72. -- Called when a player uses the item.
  73. function ITEM:OnUse(player, itemEntity)
  74. if (player:Alive() and !player:IsRagdolled()) then
  75. if (!self.CanPlayerWear or self:CanPlayerWear(player, itemEntity) != false) then
  76.  
  77. local target = player
  78. local targetBodyGroups = target:GetCharacterData("BodyGroups") or {};
  79. local bodyGroupState = 1;
  80.  
  81. local mo
  82. 15.58 - DumbFuck - HL2RP here!: why the fuck would it need that much code
  83. 15.58 - Kurochi: First, if (!self.CanPlayerWear or self:CanPlayerWear(player, itemEntity) != false) then
  84. 15.59 - Kurochi: Is already called before OnUse
  85. 15.59 - DumbFuck - HL2RP here!: if.equip = return set.bodygroup = 1, set.subgroup = 4
  86. 15.59 - DumbFuck - HL2RP here!: I should invent my own coding language
  87. 15.59 - DumbFuck - HL2RP here!: it would be the easiest shit ever
  88. 15.59 - Kurochi: if (player:Alive() and !player:IsRagdolled()) then
  89. This can go inside CanPlayerWear
  90. 15.59 - DumbFuck - HL2RP here!: see
  91. 15.59 - DumbFuck - HL2RP here!: why all that shit
  92. 15.59 - Kurochi: DUDE do yo urealize how much you're confusing me by putting shitty code like if.equip = return
  93. 15.59 - DumbFuck - HL2RP here!: who needs all that
  94. 15.59 - DumbFuck - HL2RP here!: "shitty code"
  95. 16.00 - DumbFuck - HL2RP here!: if shit worked like that
  96. 16.00 - DumbFuck - HL2RP here!: clockwork would be one file
  97. 16.00 - Kurochi: if.equip = return
  98. 16.00 - DumbFuck - HL2RP here!: lol
  99. 16.00 - Kurochi: Do you even realize
  100. 16.00 - Kurochi: What the fuck does that mean lol
  101. 16.00 - Kurochi: "if.equip
  102. 16.00 - DumbFuck - HL2RP here!: no
  103. 16.00 - Kurochi: If is a directive
  104. 16.00 - DumbFuck - HL2RP here!: because im not a coder
  105. 16.00 - Kurochi: you can't index a directive
  106. 16.00 - DumbFuck - HL2RP here!: it means
  107. 16.00 - DumbFuck - HL2RP here!: if the fucking item is equipped
  108. 16.00 - Kurochi: .equip is an index
  109. 16.00 - DumbFuck - HL2RP here!: it fucking returns to set bodygroup
  110. 16.00 - DumbFuck - HL2RP here!: and subgroup
  111. 16.00 - Kurochi: you can't use = inside an if statement because it's an assignment
  112. 16.00 - DumbFuck - HL2RP here!: wow
  113. 16.00 - DumbFuck - HL2RP here!: okay
  114. 16.00 - DumbFuck - HL2RP here!: just forget it
  115. 16.00 - Kurochi: And you can't assign anythign to return
  116. 16.00 - DumbFuck - HL2RP here!: youre clearly not seeing
  117. 16.00 - DumbFuck - HL2RP here!: what im saying to you
  118. 16.00 - Kurochi: I'm seeing
  119. 16.01 - Kurochi: I' mseeing so much shit
  120. 16.01 - DumbFuck - HL2RP here!: no youre not
  121. 16.01 - Kurochi: though
  122. 16.01 - Kurochi: If code was like that it would make no sense
  123. 16.01 - DumbFuck - HL2RP here!: you think you are but youre not
  124. 16.01 - DumbFuck - HL2RP here!: you think im trying to code lua
  125. 16.01 - Kurochi: I do, what are you trying to code
  126. 16.01 - DumbFuck - HL2RP here!: nothing
  127. 16.01 - DumbFuck - HL2RP here!: because i cant code
  128. 16.01 - Kurochi: Then let's assume that was a programming language
  129. 16.01 - DumbFuck - HL2RP here!: but if i was going to invent my own fucking coding language
  130. 16.01 - DumbFuck - HL2RP here!: i would do it like that
  131. 16.01 - Kurochi: It would not work
  132. 16.01 - DumbFuck - HL2RP here!: of course it would
  133. 16.01 - Kurochi: It wouldn'0t
  134. 16.01 - Kurochi: DUD
  135. 16.01 - Kurochi: E
  136. 16.01 - Kurochi: You think you know what you typed
  137. 16.01 - Kurochi: But you don't
  138. 16.02 - Kurochi: I'm going to start talking like you do
  139. 16.02 - Kurochi: You think you know, you think you think
  140. 16.02 - Kurochi: But you don't
  141. 16.02 - Kurochi: Alright?
  142. 16.02 - DumbFuck - HL2RP here!: no
  143. 16.02 - Kurochi: Fuck
  144. 16.02 - DumbFuck - HL2RP here!: you dont know
  145. 16.02 - DumbFuck - HL2RP here!: what im talking about
  146. 16.02 - Kurochi: I do
  147. 16.02 - Kurochi: "IF ONLY IT WERE THIS EASY"
  148. 16.02 - DumbFuck - HL2RP here!: you keep assuming im trying to adhere
  149. 16.02 - DumbFuck - HL2RP here!: to some pre-set set of rules
  150. 16.02 - DumbFuck - HL2RP here!: made for coding
  151. 16.02 - Kurochi: Why do you thin
  152. 16.02 - Kurochi: THose pre-set rules
  153. 16.02 - Kurochi: Were made
  154. 16.02 - Kurochi: Because they're broken as fuck?
  155. 16.02 - DumbFuck - HL2RP here!: Doesn't fucking matter man
  156. 16.02 - Kurochi: It does
  157. 16.02 - DumbFuck - HL2RP here!: That's not the point
  158. 16.02 - DumbFuck - HL2RP here!: NO
  159. 16.02 - Kurochi: Let's not re-invent the wheel
  160. 16.02 - DumbFuck - HL2RP here!: it doesnt
  161. 16.02 - DumbFuck - HL2RP here!: It's not the point.
  162. 16.03 - DumbFuck - HL2RP here!: Yeah not like we already have
  163. 16.03 - DumbFuck - HL2RP here!: 5000 languages
  164. 16.03 - DumbFuck - HL2RP here!: to code shit in
  165. 16.03 - DumbFuck - HL2RP here!: what is one more, right?
  166. 16.03 - DumbFuck - HL2RP here!: re-inventing the wheel.
  167. 16.03 - Kurochi: But that fucking thing you typed xD
  168. 16.03 - DumbFuck - HL2RP here!: it would make sense
  169. 16.03 - Kurochi: No it's not
  170. 16.03 - DumbFuck - HL2RP here!: if I was coding shit
  171. 16.03 - DumbFuck - HL2RP here!: and I made my own fucking coding language
  172. 16.03 - DumbFuck - HL2RP here!: that would be how easy it'd be
  173. 16.03 - DumbFuck - HL2RP here!: because it should'nt require
  174. 16.03 - Kurochi: very hard
  175. 16.03 - DumbFuck - HL2RP here!: 50 lines of code
  176. 16.03 - Kurochi: Because making your own programming language
  177. 16.03 - DumbFuck - HL2RP here!: to fucking
  178. 16.03 - DumbFuck - HL2RP here!: change my skin
  179. 16.03 - Kurochi: Would take you 4 years
  180. 16.03 - Kurochi: Before you could actually code a clothing item
  181. 16.04 - Kurochi: in 5 minutes
  182. 16.04 - DumbFuck - HL2RP here!: does
  183. 16.04 - DumbFuck - HL2RP here!: "hypothetical"
  184. 16.04 - DumbFuck - HL2RP here!: not exist in italy
  185. 16.04 - Kurochi: So 4 years and 5 minutes before you code a clothing item
  186. 16.04 - DumbFuck - HL2RP here!: sounds like it
  187. 16.04 - Kurochi: IT does, but you're saying nonsense
  188. 16.04 - DumbFuck - HL2RP here!: No I'm not.
  189. 16.04 - DumbFuck - HL2RP here!: It's just nonsense to you
  190. 16.04 - DumbFuck - HL2RP here!: because you're adhering to the pre-set rules
  191. 16.04 - Kurochi: That are prefectly logical and make sense
  192. 16.04 - Kurochi: I adhere to paradigms
  193. 16.04 - DumbFuck - HL2RP here!: You're basically telling me
  194. 16.04 - DumbFuck - HL2RP here!: I can't put the steeringwheel
  195. 16.05 - DumbFuck - HL2RP here!: on the right side of a car
  196. 16.05 - DumbFuck - HL2RP here!: because according to the rules
  197. 16.05 - DumbFuck - HL2RP here!: it has to be in the left
  198. 16.05 - Kurochi: That's still logical to put it on the right side
  199. 16.05 - Kurochi: It doesn't fucking matter
  200. 16.05 - Kurochi: But if.equip = return
  201. 16.05 - Kurochi: Like dude
  202. 16.05 - Kurochi: If ISent that to any other programmer
  203. 16.05 - Kurochi: ANd tell him what you told me
  204. 16.05 - Kurochi: He would beat the shit out of ME
  205. 16.05 - Kurochi: not YOU
  206. 16.06 - DumbFuck - HL2RP here!: okay okay okay
  207. 16.06 - DumbFuck - HL2RP here!: let me try to explain this to you
  208. 16.06 - Kurochi: After what you said, I want to beat the shit out of myself
  209. 16.06 - DumbFuck - HL2RP here!: so it might make sense
  210. 16.06 - DumbFuck - HL2RP here!: in my hypothetical coding language
  211. 16.06 - Kurochi: That doesn't make sense
  212. 16.06 - Kurochi: Go on
  213. 16.06 - DumbFuck - HL2RP here!: if.equip means
  214. 16.06 - Kurochi: Nothing
  215. 16.06 - DumbFuck - HL2RP here!: if the fucking item
  216. 16.06 - DumbFuck - HL2RP here!: is equipped
  217. 16.06 - Kurochi: why would you put a dot
  218. 16.06 - Kurochi: Besides you can arlready do
  219. 16.06 - DumbFuck - HL2RP here!: = means then
  220. 16.06 - Kurochi: if equip then
  221. 16.06 - DumbFuck - HL2RP here!: because
  222. 16.06 - DumbFuck - HL2RP here!: if i just went ifequip
  223. 16.07 - DumbFuck - HL2RP here!: what if I need "if" for something else?
  224. 16.07 - Kurochi: What
  225. 16.07 - Kurochi: if AND?
  226. 16.07 - Kurochi: if equip and not broken then
  227. 16.07 - Kurochi: you can do that and it works perfectly
  228. 16.07 - Kurochi: That's legit lua
  229. 16.07 - DumbFuck - HL2RP here!: what
  230. 16.07 - Kurochi: 16.07 - Kurochi: if equip and not broken then
  231. 16.07 - Kurochi: AKA
  232. 16.08 - Kurochi: if equip == true and broken != false then
  233. 16.08 - DumbFuck - HL2RP here!: yeah that makes no sense to me
  234. 16.08 - DumbFuck - HL2RP here!: if equip and not broken then
  235. 16.08 - Kurochi: AKA if equip and !broken then
  236. 16.08 - Kurochi: *** broken == false (in the second AKA)
  237. 16.08 - DumbFuck - HL2RP here!: yeah that
  238. 16.08 - DumbFuck - HL2RP here!: makes no sense
  239. 16.08 - DumbFuck - HL2RP here!: to me
  240. 16.08 - Kurochi: Learn to code
  241. 16.08 - DumbFuck - HL2RP here!: no
  242. 16.08 - DumbFuck - HL2RP here!: I have more important things
  243. 16.08 - DumbFuck - HL2RP here!: to use my brain for
  244. 16.08 - Kurochi: You can't expect something to make sense
  245. 16.08 - Kurochi: If you don't learn it first
  246. 16.09 - DumbFuck - HL2RP here!: I'm not asking you to teach me to code
  247. 16.09 - Kurochi: I'm not teaching you coe
  248. 16.09 - Kurochi: I don't even want to teach you coe
  249. 16.09 - Kurochi: *Cde
  250. 16.09 - Kurochi: * *CEPODEP
  251. 16.09 - Kurochi: Right
  252. 16.09 - Kurochi: ****************** C O D E
  253. 16.09 - Kurochi: W o w t h i s t y p i n g i s s o c o o l
  254. 16.09 - DumbFuck - HL2RP here!: my fucking point was
  255. 16.10 - DumbFuck - HL2RP here!: if = IF something happens
  256. 16.10 - DumbFuck - HL2RP here!: Equip = The action of equipping it
  257. 16.10 - DumbFuck - HL2RP here!: = = Then do
  258. 16.10 - Kurochi: That is so unpractical, but whatever you wish
  259. 16.10 - DumbFuck - HL2RP here!: set. = set something
  260. 16.10 - DumbFuck - HL2RP here!: bodygroup means bodygroup
  261. 16.10 - DumbFuck - HL2RP here!: subgroup means subgroup
  262. 16.10 - DumbFuck - HL2RP here!: how is that impratical
  263. 16.10 - DumbFuck - HL2RP here!: if coding worked like that
  264. 16.10 - DumbFuck - HL2RP here!: this plugin
  265. 16.11 - DumbFuck - HL2RP here!: would only be
  266. 16.11 - Kurochi: COmputers wouldn't exist
  267. 16.11 - DumbFuck - HL2RP here!: one line
  268. 16.11 - Kurochi: WIndows 8 would be a stone with sticks glued onto it
  269. 16.11 - DumbFuck - HL2RP here!: isnt it already
  270. 16.11 - Kurochi: MS-DOS being just the stone
  271. 16.11 - DumbFuck - HL2RP here!: windows 8 is shit
  272. 16.11 - DumbFuck - HL2RP here!: lol
  273. 16.11 - Kurochi: It's not too bad
  274. 16.11 - DumbFuck - HL2RP here!: it is theres no desktop
  275. 16.11 - Kurochi: It's faster than 7, but you can add your own start menu
  276. 16.11 - DumbFuck - HL2RP here!: and everything is icons
  277. 16.11 - Kurochi: What
  278. 16.11 - DumbFuck - HL2RP here!: and buttons
  279. 16.11 - Kurochi: Ther eis a desktop
  280. 16.12 - DumbFuck - HL2RP here!: ok kuro
  281. 16.12 - DumbFuck - HL2RP here!: let me
  282. 16.12 - DumbFuck - HL2RP here!: prove to you
  283. 16.12 - DumbFuck - HL2RP here!: how fucking easy my shit would be
  284. 16.12 - Kurochi: I made a screenshot, I'll show you how I set my Win 8 up
  285. 16.12 - Kurochi: http://gyazo.com/30a7d452d7ead4247b284b6604c55b67
  286. 16.12 - DumbFuck - HL2RP here!: give me something
  287. 16.12 - DumbFuck - HL2RP here!: that needs to happen
  288. 16.12 - DumbFuck - HL2RP here!: in my "language"
  289. 16.12 - DumbFuck - HL2RP here!: and i will fucking make it
  290. 16.12 - DumbFuck - HL2RP here!: and it will be easy
  291. 16.12 - DumbFuck - HL2RP here!: and not take 50 .lua files
  292. 16.12 - Kurochi: Create your programming language
  293. 16.12 - Kurochi: Have at least 1000 people coding it fluently
  294. 16.12 - Kurochi: Then come back to me
  295. 16.12 - Kurochi: and I'll admit it was a good idea
  296. 16.13 - Kurochi: Deal?
  297. 16.13 - Kurochi: I'm being honest right here
  298. 16.13 - Kurochi: IF you do that
  299. 16.13 - Kurochi: I'll learn your progralling language
  300. 16.13 - Kurochi: *programming
  301. 16.13 - DumbFuck - HL2RP here!: no because i dont want to make one because the requires me to fucking learn shit
  302. 16.13 - DumbFuck - HL2RP here!: and im not interesting in learning how to fucking talk with my computer
  303. 16.13 - DumbFuck - HL2RP here!: because I need my fucking brain for more important shit
  304. 16.13 - DumbFuck - HL2RP here!: like medschool
  305. 16.13 - DumbFuck - HL2RP here!: and psychiatry
  306. 16.13 - DumbFuck - HL2RP here!: i know basic html
  307. 16.13 - DumbFuck - HL2RP here!: thats all i need
  308. 16.13 - Kurochi: RIght, maybe that last path may be of more use to you than computers16.15 - DumbFuck - HL2RP here!: yes
  309. 16.15 - DumbFuck - HL2RP here!: computers dont suck dick
  310. 16.15 - DumbFuck - HL2RP here!: or make me dinner
  311. 16.15 - DumbFuck - HL2RP here!: people do
  312. 16.15 - DumbFuck - HL2RP here!: basically im learning human programming language
  313. 16.15 - DumbFuck - HL2RP here!: thats a good way to put it
  314. 16.15 - DumbFuck - HL2RP here!: fuck you lua
  315. 16.15 - Kurochi: Do you want ot learn psychiatry
  316. 16.15 - Kurochi: So that people sucks your dick
  317. 16.15 - DumbFuck - HL2RP here!: No I want to learn psychiatry so I can open a private clinic
  318. 16.15 - DumbFuck - HL2RP here!: then I can use my money
  319. 16.16 - DumbFuck - HL2RP here!: to get people to suck my dick
  320. 16.16 - Kurochi: To have people suck your dkc
  321. 16.16 - Kurochi: Yep16.16 - DumbFuck - HL2RP here!: and make me dinner
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement