06.01.2011, 18:39
Hey folks, a simple and a plain thread for now.
Here's the warning showing up:
The line 18143 is:
The function GetPlayerNameEx is:
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?
Here's the warning showing up:
Код:
(18143) : warning 202: number of arguments does not match definition
pawn Код:
GetPlayerNameEx(playerid, sendername, sizeof(sendername));
pawn Код:
stock GetPlayerNameEx(playerid)
{
new name[MAX_PLAYER_NAME];
new string[64];
GetPlayerName(playerid,name,sizeof(name));
name[strfind(name,"_")] = ' ';
return name;
}