HELP PLEASE [argument type mismatch (argument 2)] -
ReScape - 16.10.2016
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.
Re: help with an cmd -
ReScape - 17.10.2016
CAN ANY ONE HELP ME PLEASE?
Re: help with an cmd -
ThatFag - 17.10.2016
Which are line errors
Re: help with an cmd -
ReScape - 17.10.2016
how can I know?
Re: help with an cmd -
ThatFag - 17.10.2016
At pawno every line has a number
check it on your left side.
Re: help with an cmd -
ReScape - 17.10.2016
how can I know which line has the error??
Re: help with an cmd -
MrCesar - 17.10.2016
Quote:
Originally Posted by ReScape
how can I know which line has the error??
|
Copy paste the text you recive when compiling.
Re: help with an cmd -
ReScape - 17.10.2016
C:\Users\Adam Assi\Desktop\GLRP\gamemodes\GLRP.pwn(42917) : error 035: argument type mismatch (argument 2)
C:\Users\Adam Assi\Desktop\GLRP\gamemodes\GLRP.pwn(42933) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Re: help with an cmd -
ReScape - 17.10.2016
is this what you need?
Re: help with an cmd -
Gotham - 17.10.2016
We need the lines of errors too!
Show us line:42917 , 42933