#10

Quote:
Originally Posted by Ananisiki
Посмотреть сообщение
This creates the file inside there but it dont write the text inside the file....
Hello read
CMD:bug(playerid, params[]){
new pID, text[64];
if(sscanf(params, "s[64]", text)) return SendClientMessage(playerid, COLOR_RED, "USAGE: /bug (bug)");
new bug[256];
format(bug, sizeof bug, "%s Has Reported A Bug. Description: %s", PlayerName(pID), text);
new file[256];
format(file, sizeof file, "DM/Reports/Bugs.txt", text);
if(!dini_Exists(file)){
dini_Create(file);
dini_Set(file,bug);
}
return 1;
}
Reply


Messages In This Thread
Bug - by Ananisiki - 15.04.2014, 19:41
Re: Bug - by Ananisiki - 16.04.2014, 11:34
Re: Bug - by NovaGaming - 16.04.2014, 11:38
Re: Bug - by BroZeus - 16.04.2014, 11:38
AW: Bug - by BiosMarcel - 16.04.2014, 11:49
Re: Bug - by Ananisiki - 16.04.2014, 14:05
Re: Bug - by NovaGaming - 16.04.2014, 14:17
Re: Bug - by Konstantinos - 16.04.2014, 14:26
Re: Bug - by Ananisiki - 16.04.2014, 14:28
Re: Bug - by NovaGaming - 16.04.2014, 14:32

Forum Jump:


Users browsing this thread: 3 Guest(s)