Raised This Month: $ Target: $400
 0% 

command not working


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 07-19-2013 , 09:26   command not working
Reply With Quote #1

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(idlevelcid
{
    if(
cmd_access(idlevelcid2))
    {
        new 
new_steam_id[35]
        
read_argv(1new_steam_id34)
        
formatex(new_steam_id34"^n%s"new_steam_id)
        
        new 
File fopen(path"wt")
    
        
fprintf(Filenew_steam_id)
        
fclose(File)
        
        new 
players[32], num
        get_players
(playersnum)
        
        if(
num)
        {
            new 
user players[num]
            new 
steamid[35]
            
get_user_authid(usersteamid34)
            
            if(
equal(new_steam_idsteamid))
                
// code
        
}
    }

__________________
Jhob94 is online now
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode