17.04.2014, 20:55
This in the public
This is the error line
This is the error:
This is the stock of 'NickName':
PHP код:
public OnPlayerText(playerid, text[])
{
new Text[144];
format(String,sizeof(String),"%s says: %s",NickName,Text);
SendClientMessage(playerid,-1,String);
return 1;
}
PHP код:
format(String,sizeof(String),"%s says: %s",NickName,Text);
PHP код:
error 076: syntax error in the expression, or invalid function call
PHP код:
stock NickName(playerid)
{
new nick[MAX_STRING];
GetPlayerName(playerid, nick, sizeof(nick));
nick = strreplace("_", " ", nick);
return nick;
}