Problem str_replace
#4

Quote:
Originally Posted by blanic
Посмотреть сообщение
warning 203: symbol is never used: "RemoveUnderScore"

why?
You need to actually use it. For instance:

pawn Код:
public OnPlayerConnect(playerid){
    new string[50];
    format(string, sizeof(string), "Welcome, %s.", RemoveUnderScore(playerid));
    SendClientMessage(playerid, -1, string);
    return 1;
}
You must replace all of your "GetName" with "RemoveUnderScore", or to make it easier, rename the function "RemoveUnderScore" to "GetName" and remove your older one.
Reply


Messages In This Thread
Problem str_replace - by blanic - 11.06.2016, 19:15
Re: Problem str_replace - by iGetty - 11.06.2016, 19:17
Re: Problem str_replace - by blanic - 11.06.2016, 19:25
Re: Problem str_replace - by iGetty - 11.06.2016, 19:29

Forum Jump:


Users browsing this thread: 4 Guest(s)