daily pastebin goal
36%
SHARE
TWEET

Untitled

a guest Aug 12th, 2017 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import es
  2. import random
  3. import playerlib
  4.  
  5. terrorist_no_admin = ["player/b4p/b4p_snowtrooper/b4p_snowtrooper"]
  6. terrorist_is_admin = ["player/b4p/b4p_vader/b4p_vader"]
  7.  
  8. counterterrorist_no_admin = ["player/b4p/b4p_chewbacca/b4p_chewbacca","player/b4p/b4p_bobafett/b4p_bobafett","player/b4p/b4p_tusken/b4p_tusken"]
  9. counterterrorist_is_admin = ["player/b4p/b4p_yoda/b4p_yoda"]
  10.  
  11. admins = ["STEAM_0:0:13654823","STEAM_0:0:936599","STEAM_0:0:22135263"]
  12.  
  13. def load():
  14.     run_downloads()
  15.    
  16. def es_map_start():
  17.     run_downloads()
  18.  
  19. def player_spawn(ev):
  20.     team = int(ev['es_userteam'])
  21.     steamid = ev['es_steamid']
  22.     if steamid in admins and team == 2: playerlib.getPlayer(ev['userid']).setModel(random.choice(terrorist_is_admin))
  23.     elif steamid in admins and team == 3: playerlib.getPlayer(ev['userid']).setModel(random.choice(counterterrorist_is_admin))
  24.     elif steamid not in admins and team == 2: playerlib.getPlayer(ev['userid']).setModel(random.choice(terrorist_no_admin))
  25.     elif steamid not in admins and team == 3: playerlib.getPlayer(ev['userid']).setModel(random.choice(counterterrorist_no_admin))
  26.  
  27. def run_downloads():
  28.     es.stringtable("downloadables","models/player/b4p/b4p_chewbacca/b4p_chewbacca.dx80.vtx")
  29.     es.stringtable("downloadables","models/player/b4p/b4p_chewbacca/b4p_chewbacca.dx90.vtx")
  30.     es.stringtable("downloadables","models/player/b4p/b4p_chewbacca/b4p_chewbacca.mdl")
  31.     es.stringtable("downloadables","models/player/b4p/b4p_chewbacca/b4p_chewbacca.phy")
  32.     es.stringtable("downloadables","models/player/b4p/b4p_chewbacca/b4p_chewbacca.sw.vxt")
  33.     es.stringtable("downloadables","models/player/b4p/b4p_chewbacca/b4p_chewbacca.vvd")
  34.     es.stringtable("downloadables","materials/models/player/b4p/chewbacca/chewbacca_1sided.vmt")
  35.     es.stringtable("downloadables","materials/models/player/b4p/chewbacca/chewbacca_1sided.vtf")
  36.     es.stringtable("downloadables","materials/models/player/b4p/chewbacca/chewbacca_2sided.vmt")
  37.     es.stringtable("downloadables","materials/models/player/b4p/chewbacca/chewbacca_2sided.vtf")
  38.     es.stringtable("downloadables","materials/models/player/b4p/chewbacca/chewbacca_body.vmt")
  39.     es.stringtable("downloadables","materials/models/player/b4p/chewbacca/chewbacca_body.vtf")
  40.     es.stringtable("downloadables","materials/models/player/b4p/chewbacca/chewbacca_head.vmt")
  41.     es.stringtable("downloadables","materials/models/player/b4p/chewbacca/chewbacca_head.vtf")
  42.     es.stringtable("downloadables","materials/models/player/b4p/chewbacca/chewbacca_sprites.vmt")
  43.     es.stringtable("downloadables","materials/models/player/b4p/chewbacca/chewbacca_sprites.vtf")
  44.     es.stringtable("downloadables","models/player/b4p/b4p_stormt/b4p_stormt.dx80.vtx")
  45.     es.stringtable("downloadables","models/player/b4p/b4p_stormt/b4p_stormt.dx90.vtx")
  46.     es.stringtable("downloadables","models/player/b4p/b4p_stormt/b4p_stormt.mdl")
  47.     es.stringtable("downloadables","models/player/b4p/b4p_stormt/b4p_stormt.phy")
  48.     es.stringtable("downloadables","models/player/b4p/b4p_stormt/b4p_stormt.sw.vxt")
  49.     es.stringtable("downloadables","models/player/b4p/b4p_stormt/b4p_stormt.vvd")
  50.     es.stringtable("downloadables","materials/models/player/b4p/stormt/armor.vmt")
  51.     es.stringtable("downloadables","materials/models/player/b4p/stormt/armor.vtf")
  52.     es.stringtable("downloadables","materials/models/player/b4p/stormt/helmet.vmt")
  53.     es.stringtable("downloadables","materials/models/player/b4p/stormt/helmet.vtf")
  54.     es.stringtable("downloadables","materials/models/player/b4p/stormt/shoulder.vmt")
  55.     es.stringtable("downloadables","materials/models/player/b4p/stormt/shoulder.vtf")
  56.     es.stringtable("downloadables","materials/models/player/b4p/stormt/torso_legs.vmt")
  57.     es.stringtable("downloadables","materials/models/player/b4p/stormt/torso_legs.vtf")
  58.     es.stringtable("downloadables","models\player\b4p\b4p_bobafett\b4p_bobafett.dx80.vtx")
  59.     es.stringtable("downloadables","models\player\b4p\b4p_bobafett\b4p_bobafett.dx90.vtx")
  60.     es.stringtable("downloadables","models\player\b4p\b4p_bobafett\b4p_bobafett.mdl")
  61.     es.stringtable("downloadables","models\player\b4p\b4p_bobafett\b4p_bobafett.phy")
  62.     es.stringtable("downloadables","models\player\b4p\b4p_bobafett\b4p_bobafett.sw.vtx")
  63.     es.stringtable("downloadables","models\player\b4p\b4p_bobafett\b4p_bobafett.vvd")
  64.     es.stringtable("downloadables","materials\models\player\b4p\bobafett\boba_body.vmt")
  65.     es.stringtable("downloadables","materials\models\player\b4p\bobafett\boba_body.vtf")
  66.     es.stringtable("downloadables","materials\models\player\b4p\bobafett\boba_hands.vmt")
  67.     es.stringtable("downloadables","materials\models\player\b4p\bobafett\boba_hands.vtf")
  68.     es.stringtable("downloadables","materials\models\player\b4p\bobafett\boba_head_revised.vmt")
  69.     es.stringtable("downloadables","materials\models\player\b4p\bobafett\boba_head_revised.vtf")
  70.     es.stringtable("downloadables","materials\models\player\b4p\bobafett\boba_jetpack.vmt")
  71.     es.stringtable("downloadables","materials\models\player\b4p\bobafett\boba_jetpack.vtf")
  72.     es.stringtable("downloadables","models\player\b4p\b4p_vader\b4p_vader.dx80.vtx")
  73.     es.stringtable("downloadables","models\player\b4p\b4p_vader\b4p_vader.dx90.vtx")
  74.     es.stringtable("downloadables","models\player\b4p\b4p_vader\b4p_vader.mdl")
  75.     es.stringtable("downloadables","models\player\b4p\b4p_vader\b4p_vader.phy")
  76.     es.stringtable("downloadables","models\player\b4p\b4p_vader\b4p_vader.sw.vtx")
  77.     es.stringtable("downloadables","models\player\b4p\b4p_vader\b4p_vader.vvd")
  78.     es.stringtable("downloadables","materials\models\player\b4p\vader\alnewhope.vmt")
  79.     es.stringtable("downloadables","materials\models\player\b4p\vader\alnewhope.vtf")
  80.     es.stringtable("downloadables","materials\models\player\b4p\vader\beltxtras.vmt")
  81.     es.stringtable("downloadables","materials\models\player\b4p\vader\beltxtras.vtf")
  82.     es.stringtable("downloadables","materials\models\player\b4p\vader\darthshing.vmt")
  83.     es.stringtable("downloadables","materials\models\player\b4p\vader\darthshing.vtf")
  84.     es.stringtable("downloadables","materials\models\player\b4p\vader\dbreather.vmt")
  85.     es.stringtable("downloadables","materials\models\player\b4p\vader\dbreather.vtf")
  86.     es.stringtable("downloadables","materials\models\player\b4p\vader\dcape.vmt")
  87.     es.stringtable("downloadables","materials\models\player\b4p\vader\dcape.vtf")
  88.     es.stringtable("downloadables","materials\models\player\b4p\vader\handhope.vmt")
  89.     es.stringtable("downloadables","materials\models\player\b4p\vader\handhope.vtf")
  90.     es.stringtable("downloadables","materials\models\player\b4p\vader\headhope.vmt")
  91.     es.stringtable("downloadables","materials\models\player\b4p\vader\headhope.vtf")
  92.     es.stringtable("downloadables","materials\models\player\b4p\vader\helmethope.vmt")
  93.     es.stringtable("downloadables","materials\models\player\b4p\vader\helmethope.vtf")
  94.     es.stringtable("downloadables","materials\models\player\b4p\vader\hipsvader.vmt")
  95.     es.stringtable("downloadables","materials\models\player\b4p\vader\hipsvader.vtf")
  96.     es.stringtable("downloadables","materials\models\player\b4p\vader\legsvader.vmt")
  97.     es.stringtable("downloadables","materials\models\player\b4p\vader\legsvader.vtf")
  98.     es.stringtable("downloadables","materials\models\player\b4p\vader\shoulderhope.vmt")
  99.     es.stringtable("downloadables","materials\models\player\b4p\vader\shoulderhope.vtf")
  100.     es.stringtable("downloadables","materials\models\player\b4p\vader\torsovader.vmt")
  101.     es.stringtable("downloadables","materials\models\player\b4p\vader\torsovader.vtf")
  102.     es.stringtable("downloadables","materials\models\player\b4p\vader\vaderface.vmt")
  103.     es.stringtable("downloadables","materials\models\player\b4p\vader\vaderface.vtf")
  104.     es.stringtable("downloadables","models\player\b4p\b4p_yoda\b4p_yoda.dx80.vtx")
  105.     es.stringtable("downloadables","models\player\b4p\b4p_yoda\b4p_yoda.dx90.vtx")
  106.     es.stringtable("downloadables","models\player\b4p\b4p_yoda\b4p_yoda.mdl")
  107.     es.stringtable("downloadables","models\player\b4p\b4p_yoda\b4p_yoda.phy")
  108.     es.stringtable("downloadables","models\player\b4p\b4p_yoda\b4p_yoda.sw.vtx")
  109.     es.stringtable("downloadables","models\player\b4p\b4p_yoda\b4p_yoda.vvd")
  110.     es.stringtable("downloadables","materials\models\player\b4p\yoda\yoda_body.vmt")
  111.     es.stringtable("downloadables","materials\models\player\b4p\yoda\yoda_body.vtf")
  112.     es.stringtable("downloadables","materials\models\player\b4p\yoda\yoda_body_normal.vtf")
  113.     es.stringtable("downloadables","materials\models\player\b4p\yoda\yoda_head.vmt")
  114.     es.stringtable("downloadables","materials\models\player\b4p\yoda\yoda_head.vtf")
  115.     es.stringtable("downloadables","materials\models\player\b4p\yoda\yoda_head_normal.vtf")
  116.     es.stringtable("downloadables","models\player\b4p\b4p_tusken\b4p_tusken.dx80.vtx")
  117.     es.stringtable("downloadables","models\player\b4p\b4p_tusken\b4p_tusken.dx90.vtx")
  118.     es.stringtable("downloadables","models\player\b4p\b4p_tusken\b4p_tusken.mdl")
  119.     es.stringtable("downloadables","models\player\b4p\b4p_tusken\b4p_tusken.phy")
  120.     es.stringtable("downloadables","models\player\b4p\b4p_tusken\b4p_tusken.sw.vtx")
  121.     es.stringtable("downloadables","models\player\b4p\b4p_tusken\b4p_tusken.vvd")
  122.     es.stringtable("downloadables","materials\models\player\b4p\tusken\body.vmt")
  123.     es.stringtable("downloadables","materials\models\player\b4p\tusken\body.vtf")
  124.     es.stringtable("downloadables","materials\models\player\b4p\tusken\face.vmt")
  125.     es.stringtable("downloadables","materials\models\player\b4p\tusken\face.vtf")
  126.     es.stringtable("downloadables","materials\models\player\b4p\tusken\hands.vmt")
  127.     es.stringtable("downloadables","materials\models\player\b4p\tusken\hands.vtf")
  128.     es.stringtable("downloadables","materials\models\player\b4p\tusken\head.vmt")
  129.     es.stringtable("downloadables","materials\models\player\b4p\tusken\head.vtf")
  130.     es.stringtable("downloadables","materials\models\player\b4p\tusken\pockets.vmt")
  131.     es.stringtable("downloadables","materials\models\player\b4p\tusken\pockets.vtf")
RAW Paste Data
Top