Discussions about ET modding (sdk code, player/weapon modeling)
Moderators: Forum moderators , developers
crazyfrag
Posts: 105 Joined: Fri Oct 01, 2004 1:17 pm
Post
by crazyfrag » Fri Feb 08, 2008 6:22 am
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 » Fri Feb 08, 2008 6:58 am
GhosT:McSteve
Ghostworks Gaming Community
crazyfrag
Posts: 105 Joined: Fri Oct 01, 2004 1:17 pm
Post
by crazyfrag » Fri Feb 08, 2008 7:02 am
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 » Fri Feb 08, 2008 7:14 am
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 » Fri Feb 08, 2008 7:30 am
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