无金钱上限源代码
************************************************ (c) Copyright 2000-2002, EJ
* This file is provided as is (no warranties).
************************************************
* Ported by Burnzy
*Visit www.burnsdesign.org
************************************************
* This plugin uses real money and plays by CS rules. (accept for money limits of course!)
*
* If you want to change default start money and max money:
* Place amx_startmoney and amx_maxmoney with proper ammounts in appropriate server cfg files.
*
* amx_startmoney 55000
* amx_maxmoney 250000
*
* Do not use command amx_money or a plugin that changes peoples money (strange,but not fatal?,things may happen)
*
* Use: amx_um {@team, #userid, or name(partial allowed)} <ammount>
*
*Not that any mod makers would do this but why not...
*For mod makers use server commands: set_user_um <id> <ammount> <flash = 0> (flash = 1 if only id and ammount sent)
*
*In your code you would use it like this: server_cmd("set_user_um %d %d 0",id,ammount) or server_cmd("set_user_um %d %d",id,ammount)
*You can also do set_user_um <id> to set player id's money to 0
*
*I was going to do a dumb(with a cvar) way to get_user_um but gonna put it off till I figure a better way.
*
***********************************************
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
页:
[1]