11.06.2016, 19:29
You need to actually use it. For instance:
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.
pawn Код:
public OnPlayerConnect(playerid){
new string[50];
format(string, sizeof(string), "Welcome, %s.", RemoveUnderScore(playerid));
SendClientMessage(playerid, -1, string);
return 1;
}