Quote:
Originally Posted by AK978
v1.1 (error update).
v1.2 (fixed).
Code:
stock GetWeaponId(const String:weapon[]){
for(new i = 0; i < MAXWEAPON; i++){
if(StrEqual(weapon, WeaponNames[i],false)
|| StrEqual(weapon, WeaponNames2[i],false)){
return i;
}
}
return -1;
}
I don't know how to use your vip.
|
拥有ADMFLAG_KICK权限的玩家,无需使用命令!kickback_add,直接拿起武 器就有击退效果.
Players with ADMFLAG_KICK permission do not need to use the command! kickback_add, directly pick up the weapon to have a knockback effect.
没有DMFLAG_KICK权限的玩家,无法使用击退效果.
Players without DMFLAG_KICK permission cannot use the knockback effect.
1.2版本是拥有ADMFLAG_KICK权限的玩家开启以后,所有玩家包括BOT都可以使用. 这个功能太强大了,我只想给拥有ADMFLAG_KICK权限的玩家使用.
Version 1.2. After the player with ADMFLAG_KICK permission is turned on, all players including BOT can be used. This function is too powerful,I just want to use it for players who have ADMFLAG_KICK permission.
__________________