Author Topic: Weapon Mod  (Read 1731 times)

0 Members and 1 Guest are viewing this topic.

Offline Hydro

  • Major(1)
  • Posts: 31
Weapon Mod
« on: March 12, 2008, 03:16:09 am »
Script Name: Weapon Mod (I couldn't find better name :f)
Script Description: Server Admin may change weapons' parameters using commands.
Original Author(s): Hydro (I used KeYDoN's function xsplit)
Core Version: 2.6.3
Code: http://nopaste.com/p/aqJEd2L7kb

Commands:
  • "/weapon X" - Select current weapon (type "/weapon" to see list of available values of "X")
  • "/file Y" - Select current ini file with weapon mod (default: weapons.ini)
  • "/winfo X" - If X is null, it shows parameters of current weapon in current file, if X is not null, it shows parameters of X weapon in current file
  • "/switch A B" - Changes value of parameter A of current weapon in current file to B, for example: "/switch Ammo 50"
  • "/reset Y" - Restores default weapon mod in file Y (if file Y doesn't exist, it creates file Y), if Y is null it restores weapon mod in current file

Dont forget use command '/loadwep'
Have Fun ;d
« Last Edit: March 12, 2008, 03:18:34 am by Hydro »

Offline frosty

  • Flagrunner
  • ****
  • Posts: 601
  • Uber Desert Eagle ^^
Re: Weapon Mod
« Reply #1 on: April 26, 2008, 06:42:40 am »
very nice, much easier to use than the fistbox version
check out my server! click here

If at first you don't succeed, Improvise! :D