08.02.2011, 21:09
Use the strfind function on the name of the person, for example:
After that code is executed, the name variable will now contain a space where there used to be an _.
This is only an example, you likely need to adapt it for your script.
pawn Код:
new name[24];
GetPlayerName(playerid,name,24);
name[strfind(name,"_")] = ' ';
This is only an example, you likely need to adapt it for your script.