lili2009 发表于 2010-5-3 08:34:18

custom_frags_and_deaths.amxx

Custom Frags And Deaths
by Arion

Description:
This plugin allows admins with the defined access level (Default ADMIN_BAN) to set a player's frags and deaths.


Commands:
amx_setfrags <nick> <frags>
example: amx_setfrags Arion 47
Will set Arion's frags to 47


amx_setdeaths <nick> <deaths>
example: amx_setdeaths Arion 28
Will set Arion's deaths to GUESS WHAT?


To change everyone's frags or deaths, put * instead of the nick/authid:
amx_setfrags * <frags>
example: amx_setfrags * 11
Will set everyone's frags to 11
You can use * wildcard in all commands


To change frags or deaths of one team only:
amx_setdeaths @T <deaths>
amx_setscore @CT <frags> <deaths>
Self explanatory..


To change frags or deaths of players who have a specific argument on name:
amx_setfrags !ARGUMENT <frags>
example: amx_setfrags ! 8
Will set the frags of all players who have in their nick to 8


Frags and Deaths could be any integer value between -32768 and 32767

Changes takes effect when player kills or die, or at new round.
页: [1]
查看完整版本: custom_frags_and_deaths.amxx