Welcome, Guest. Please login or register.
Did you miss your activation email?
November 10, 2024, 05:02:26 AM
Home Help Login Register
News: Zombie Master 2 discussion

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Enlighten Me With Lua Knowledge?
Pages: [1]
Author Topic: Enlighten Me With Lua Knowledge?  (Read 5865 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.008 seconds with 18 queries.