Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2024, 08:37:40 PM
Home Help Login Register
News: Trouble in Terrorist Town? Site here, forum here.

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Enlighten Me With Lua Knowledge?
Pages: [1]
Author Topic: Enlighten Me With Lua Knowledge?  (Read 5877 times)
IceDood
Poster

Posts: 2


« on: December 06, 2011, 03:08:53 AM »

Hey guys, I gave the traitors a weapon that I would prefer not to drop when they died.  Now clearly I'm not very lua savvy, but supposedly this can be prevented somehow with the SWEP:OnDrop function.  However, I've been banging and banging at this (may I remind you with very little lua knowledge) all day with no results to show for it.  Please show sympathy upon this wretched soul!
Mr. Gash
Poster

Posts: 382


www.nonerdsjustgeeks.com


« Reply #1 on: December 06, 2011, 04:22:47 AM »


function SWEP:OnDrop()
self:Remove()
end
IceDood
Poster

Posts: 2


« Reply #2 on: December 06, 2011, 04:36:06 AM »

*bows before thee*
Anonymous
Poster

Posts: 126


« Reply #3 on: December 07, 2011, 04:34:04 PM »

Gash, out of interest are you fluent in LUA?

Pages: [1]
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Enlighten Me With Lua Knowledge? « previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.009 seconds with 18 queries.