01.04.2012, 04:48
Ok, im trying to make an IG Admin command creator.
But heres my problem, when i go to save the command name, it comes out like this
Here is my code, saving the command. This is just a small piece(unfinished) just to see if it would work properly, and.. it didnt.
I see what im doing wrong, i just dont know how to correct it..
Any help is appreciated!
+REP for anyone that helps!
But heres my problem, when i go to save the command name, it comes out like this
pawn Код:
CMD:%s(playerid, params[]) = testcmd
pawn Код:
new string[128];
new INI:File = INI_Open("Commands/Commands.txt");
format(string, sizeof(string), "CMD:%s(playerid, params[])", inputtext);
INI_WriteString(File, string, inputtext);
INI_Close(File);
Any help is appreciated!
+REP for anyone that helps!