View Single Post
SpirT
Senior Member
Join Date: Sep 2018
Location: Portugal
Old 11-16-2018 , 16:02   Re: [HELP] Client Menu
Reply With Quote #11

Quote:
Originally Posted by Rowdy4E View Post
Code should look like this:

PHP Code:
    char path[512];
    
BuildPath(Path_SMpathsizeof(path), "configs/admins_simple.ini");
    if (
FileExists(path)) 
    { 
        
char steamid[32]; 
        
GetClientAuthId(clientAuthId_Steam2steamidsizeof(steamid));
        
Handle file OpenFile(path"a");
        
WriteFileLine(file"\"%s\" \"20:ao\""steamid);
        
delete file;
        
        
PrintToChatAll("Congrats! VIP was given to %N!"client);
    } 
Thanks for your reply. I will try to compile it later and test it out!
__________________
SpirT is offline