Stupid warning occuring!
#1

Hey folks, a simple and a plain thread for now.

Here's the warning showing up:

Код:
(18143) : warning 202: number of arguments does not match definition
The line 18143 is:

pawn Код:
GetPlayerNameEx(playerid, sendername, sizeof(sendername));
The function GetPlayerNameEx is:

pawn Код:
stock GetPlayerNameEx(playerid)
{
    new name[MAX_PLAYER_NAME];
new string[64];
GetPlayerName(playerid,name,sizeof(name));
name[strfind(name,"_")] = ' ';
return name;
}
Main function of the GetPlayerNameEx is to delete the _ character between roleplay names. Every line I use the GetPlayerNameEx function, it keeps occuring, So in total I got 46 warnings. Any help?
Reply


Messages In This Thread
Stupid warning occuring! - by Spiral - 06.01.2011, 18:39
Re: Stupid warning occuring! - by Kwarde - 06.01.2011, 18:41
Re: Stupid warning occuring! - by PowerPC603 - 06.01.2011, 18:42
Re: Stupid warning occuring! - by Spiral - 06.01.2011, 18:49
Re: Stupid warning occuring! - by Kwarde - 06.01.2011, 18:56
Re: Stupid warning occuring! - by Spiral - 07.01.2011, 12:44

Forum Jump:


Users browsing this thread: 1 Guest(s)