L 11/25/2010 - 15:08:03: Start of error session.
L 11/25/2010 - 15:08:03: Info (map "35hp") (file "addons/amxmodx/logs/error_20101125.log")
L 11/25/2010 - 15:08:03: Function "Poczatek_Rundy" was not found
L 11/25/2010 - 15:08:03: [AMXX] Run time error 19 (plugin "blokada_awp.amxx") - debug not enabled!
L 11/25/2010 - 15:08:03: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
Sma:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fakemeta>
#define PLUGIN "No awp"
#define VERSION "1.0"
#define AUTHOR "no name"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_logevent("Poczatek_Rundy", 2, "1=Round_Start")
register_clcmd("CSW_AWP","block")
}
public block() return PLUGIN_HANDLED
public Poczatek_Rundy(){
for(new i=1;i<33;i++){
if(is_user_alive(i)){
client_cmd(i,"slot2")
if(get_user_team(i) == 1){
fm_strip_user_gun(i,CSW_AWP)
}
else if(get_user_team(i) == 2){
fm_strip_user_gun(i,CSW_AWP)
}
}
}
}