The Script is made for Scoutknifez or Awpknifez Server
Config:
Its only Made for Scout OR Awp
[code]####################
##Made by Crazfrog##
####################
################
##Start Config##
################
# Do the Player use Scout or Awp
# 0=Scout 1=Awp
cr_weapon = 1
# Do the PLayer use Knife
# 0=No 1=Yes
cr_knife = 0
##############
##End Config##
##############[/code]
[code]import es
import weaponlib
def weapon_zoom(ev):
userid = int(ev['userid'])
handle = es.getplayerhandle(userid)
for weapon in weaponlib.getWeaponList('#all'):
for index in weapon.indexlist:
if es.getindexprop(index, 'CBaseEntity.m_hOwnerEntity') == handle:
es.server.queuecmd("es_xremove %s" % index)
scoutawp(ev)
def scoutawp(ev):
userid = int(ev['userid'])
if cr_knife == 0:
pass
else:
es.server.queuecmd('es_xgive %s %s' % (userid, "weapon_knife"))
if cr_weapon == 0:
es.server.queuecmd('es_xgive %s %s' % (userid, "weapon_scout"))
else:
es.server.queuecmd('es_xgive %s %s' % (userid, "weapon_awp"))[/code]
Its my second Script so there can (there are) misstakes
Hope you like it
-Crazyfrog
Installation
• Unzip Nozoom and install it (Keep folderstructure intact)
• Write
[code]es_load nozooom[/code]
into your autoexec
Version Notes For v1.0
Updated on: 2012-01-05 19:17:34 EST by Crazyfrog (View Zip Contents)