搜索
查看: 1492|回复: 0

无金钱上限源代码

[复制链接]
发表于 2005-6-17 10:08:47 | 显示全部楼层 |阅读模式 来自 中国–湖南–郴州
***********************************************
* (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>

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注个册吧

×
游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表