06.08.2014, 12:34
Hello dear Scripters! I've got a little problem with Pawno! Here's the piece of code:
And here's the NameGet stock function:
Finally the warning:
I have no clue what's the problem!
Код:
SendClientMessage(playerid, COLOR_BLUE, "Esi sveicināts Defaq %s!",NAMEGET(playerid));
Код:
stock NAMEGET(playerid)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
for(new i = 0; i < MAX_PLAYER_NAME; i++)
{
if(name[i] == '_') name[i] = ' ';
}
return name;
}
Код:
warning 202: number of arguments does not match definition



Maybe this was dumb, but I'm new to Pawno