SA-MP Forums Archive
Taking '_' out of RP names. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Taking '_' out of RP names. (/showthread.php?tid=153142)



Taking '_' out of RP names. - Smithy - 07.06.2010

I was just wondering what's the method for taking the _'s out of roleplay names. So instead of it saying: Jason_Carlos says... It'll say Jason Carlos says.

Thanks in advance.


Re: Taking '_' out of RP names. - Baff - 07.06.2010

http://forum.sa-mp.com/index.php?top...3637#msg873637

i hope it helped =)


Re: Taking '_' out of RP names. - RyDeR` - 07.06.2010

pawn Код:
new
    pName[20] = "Jason_Carlos"
;
pName[strfind(pName, "_", true)] = ' ';