16.10.2016, 19:47
(
Последний раз редактировалось ReScape; 16.10.2016 в 20:08.
Причина: no reason
)
return 1;
}
IRP:reportidea(playerid, var[])
{
if(!Logged(playerid)) return NoLogin(playerid);
if(sscanf(var, "s[128]", var)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /reportidea [text]");
if(AntiAdv(playerid, var)) return 1;
if(strlen(var) > 12
return SendClientMessage(playerid, COLOR_GREY, "Maximum characters limit is 128.");
new File: file = fopen("ideas.cfg", io_append), string[128];
format(string, sizeof(string), "[%s] %s\r\n", GetName(playerid), var);
fwrite(file, string);
fclose(file);
SendClientMessage(playerid, COLOR_ORANGE, "Your idea report has been saved, scripters will check it once possible.");
format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has reported a idea, /ideas to view it. (Inform Roy about it ASAP)", GetName(playerid));
SendAdminMessage(COLOR_DARKRED, 1, string);
return 1;
}
IRP:reportbug(playerid, var[])
{
if(!Logged(playerid)) return NoLogin(playerid);
if(sscanf(var, "s[128]", var)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /reportbug [text]");
if(AntiAdv(playerid, var)) return 1;
if(strlen(var) > 12
return SendClientMessage(playerid, COLOR_GREY, "Maximum characters limit is 128.");
new File: file = fopen("bug.cfg", io_append), string[128];
format(string, sizeof(string), "[%s] %s\r\n", GetName(playerid), var);
fwrite(file, string);
fclose(file);
SendClientMessage(playerid, COLOR_ORANGE, "Your bug report has been saved, scripters will check it once possible.");
format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has reported a bug, /bugs to view it. (Inform Roy about it ASAP)", GetName(playerid));
SendAdminMessage(COLOR_DARKRED, 1, string);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
ERRORS ARE:
_____________________________________
GLRP.pwn(42792) : error 035: argument type mismatch (argument 2)
GLRP.pwn(4280
: error 035: argument type mismatch (argument 2)
2 Errors.
}
IRP:reportidea(playerid, var[])
{
if(!Logged(playerid)) return NoLogin(playerid);
if(sscanf(var, "s[128]", var)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /reportidea [text]");
if(AntiAdv(playerid, var)) return 1;
if(strlen(var) > 12

new File: file = fopen("ideas.cfg", io_append), string[128];
format(string, sizeof(string), "[%s] %s\r\n", GetName(playerid), var);
fwrite(file, string);
fclose(file);
SendClientMessage(playerid, COLOR_ORANGE, "Your idea report has been saved, scripters will check it once possible.");
format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has reported a idea, /ideas to view it. (Inform Roy about it ASAP)", GetName(playerid));
SendAdminMessage(COLOR_DARKRED, 1, string);
return 1;
}
IRP:reportbug(playerid, var[])
{
if(!Logged(playerid)) return NoLogin(playerid);
if(sscanf(var, "s[128]", var)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /reportbug [text]");
if(AntiAdv(playerid, var)) return 1;
if(strlen(var) > 12

new File: file = fopen("bug.cfg", io_append), string[128];
format(string, sizeof(string), "[%s] %s\r\n", GetName(playerid), var);
fwrite(file, string);
fclose(file);
SendClientMessage(playerid, COLOR_ORANGE, "Your bug report has been saved, scripters will check it once possible.");
format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has reported a bug, /bugs to view it. (Inform Roy about it ASAP)", GetName(playerid));
SendAdminMessage(COLOR_DARKRED, 1, string);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
ERRORS ARE:
_____________________________________
GLRP.pwn(42792) : error 035: argument type mismatch (argument 2)
GLRP.pwn(4280

2 Errors.