26.02.2010, 18:10
Fastest
https://sampwiki.blast.hk/wiki/Strfind
pawn Код:
new name[MAX_PLAYER_NAME];
new string[128];
GetPlayerName(playerid,name,sizeof(name));
new pos = strfind(name, "_");
if(pos != -1) name[pos] = ' ';
format(string,sizeof(string),"Hi %s",name);
SendClientMessage(playerid,some_color,string);