GetPlayerName(playerid, name, sizeof (name)); if (!strcmp(name, string[stringPos], true, id))
G:\GTA SA-MP Installers\SA-MP Server\0.3x R2 Server\SATDM~FR 0.3x\gamemodes\RgXFreeroam.pwn(2785) : error 035: argument type mismatch (argument 2) G:\GTA SA-MP Installers\SA-MP Server\0.3x R2 Server\SATDM~FR 0.3x\gamemodes\RgXFreeroam.pwn(2785) : error 035: argument type mismatch (argument 2) G:\GTA SA-MP Installers\SA-MP Server\0.3x R2 Server\SATDM~FR 0.3x\gamemodes\RgXFreeroam.pwn(2786) : error 035: argument type mismatch (argument 1) |
GetPlayerName(playerid, name, sizeof (name)); if (!strcmp(name, string[stringPos], true))
Код:
GetPlayerName(playerid, name, sizeof (name)); if (!strcmp(name, string[stringPos], true)) |
G:\GTA SA-MP Installers\SA-MP Server\0.3x R2 Server\SATDM~FR 0.3x\gamemodes\RgXFreeroam.pwn(2785) : error 035: argument type mismatch (argument 2) G:\GTA SA-MP Installers\SA-MP Server\0.3x R2 Server\SATDM~FR 0.3x\gamemodes\RgXFreeroam.pwn(2785) : error 035: argument type mismatch (argument 2) G:\GTA SA-MP Installers\SA-MP Server\0.3x R2 Server\SATDM~FR 0.3x\gamemodes\RgXFreeroam.pwn(2786) : error 035: argument type mismatch (argument 1) |
new name[MAX_PLAYER_NAME+1];
Do you have this in your code. if no then please add the below code under the command which you were getting errors :
Код:
new name[MAX_PLAYER_NAME+1]; |
Do you have this in your code. if no then please add the below code under the command which you were getting errors :
Код:
new name[MAX_PLAYER_NAME+1]; |
How are you defining the variable "string"?
He probably has it because if he didn't, it would give him undefined symbols errors then argument thing comes. |