Hi
I tried made command for one thing but istn working...
amx_testcmd "Steam Id"
Then it should add steam id in one file, it just add ^n
code:
PHP Code:
public cmd_add_costum_ban(id, level, cid)
{
if(cmd_access(id, level, cid, 2))
{
new new_steam_id[35]
read_argv(1, new_steam_id, 34)
formatex(new_steam_id, 34, "^n%s", new_steam_id)
new File = fopen(path, "wt")
fprintf(File, new_steam_id)
fclose(File)
new players[32], num
get_players(players, num)
if(num)
{
new user = players[num]
new steamid[35]
get_user_authid(user, steamid, 34)
if(equal(new_steam_id, steamid))
// code
}
}
}
__________________