[HELP] yini write ip
#1

Hello I have a command banip and I define path /IPBans/%s.ini

know how can I when I banip in command to put that open ip beacuse I don't use id or playerid I use in sscanf ip

and I try like this but it says invalid expression

new INI:File = INI_Open(IPPath(ip)));
Reply
#2

pawn Код:
#define  IPPath(%1) "/IPBans/%1.ini"
And use the code you are currently using for opening file.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)