noweaopons.lua

Discussions about ET modding (sdk code, player/weapon modeling)

Moderators: Forum moderators, developers

Post Reply
crazyfrag
Posts: 105
Joined: Fri Oct 01, 2004 1:17 pm

noweaopons.lua

Post by crazyfrag »

hello

if downloaded the noweapons.lua from 2good4you
i want to get it working with headshot mod so that u can only use luger!
the probleme is. if u pick up ammo u habe the thompson/mp40 again!

is it possible to get it workin with a 2 seconds call from the lua that deletes the ammo again and again? so that u have ammo 4 luger put the mp is still empty!


Mfg crazyfrag
McSteve
Posts: 113
Joined: Tue Sep 12, 2006 7:41 am

Post by McSteve »

GhosT:McSteve
Ghostworks Gaming Community
crazyfrag
Posts: 105
Joined: Fri Oct 01, 2004 1:17 pm

Post by crazyfrag »

oh n1 thx

and the vote thing is it possible ?

if vote on -> load the luamodule
off -> unload
McSteve
Posts: 113
Joined: Tue Sep 12, 2006 7:41 am

Post by McSteve »

Easiest way to allow for the voting of lua_modules is by having configs load them. They require a map restart to load anyway, so it seems sensible.
GhosT:McSteve
Ghostworks Gaming Community
crazyfrag
Posts: 105
Joined: Fri Oct 01, 2004 1:17 pm

Post by crazyfrag »

yeah this is a possible way!
but its shit that u must restart the map for a lua to load in!

but i want if its possible wih a button with: Luger off attention map restart
cause somebody votes off and then all stats are gone :-) -> vsp stats
Post Reply