SA-MP Forums Archive
LARP fix: RemoveUnderScore help pleasee - 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)
+--- Thread: LARP fix: RemoveUnderScore help pleasee (/showthread.php?tid=407753)



LARP fix: RemoveUnderScore help pleasee - slerox - 15.01.2013

So, basicaly at that gamemode it shows _ on the names when you do /do, /me, or talk.

So I have few questions, and I will be really glad if you will responde to all of them.

I started using that stock: http://pastebin.com/iFsfXfSY

1. How do I do that when you talk, it won't show _
2. on that part: http://pastebin.com/g5YW8KKU I have a problem, can anyone please show me how to use it along with the RemoveUnderScore?
3. Is there any simply way to fix all of them? currently all of the commands which uses the name shows _ by sendername, I usually replace sendername with RemoveUnderScore.


-Thanks for who's helping, and please responde these three answers and not only one.



Re: LARP fix: RemoveUnderScore help pleasee - park4bmx - 15.01.2013

using that stock
i will show u an example with 1 of your methods of getting their name

with the stock
pawn Код:
new sendername[MAX_PLAYER_NAME];
sendername[i] = RemoveUnderScore(i);
withought the stock(the method that is in the postbin)
pawn Код:
new sendername[MAX_PLAYER_NAME];
GetPlayerName(i, sendername, sizeof(sendername));



Re: LARP fix: RemoveUnderScore help pleasee - slerox - 15.01.2013

A friend helped me eventually,
used that one: new sendername[MAX_PLAYER_NAME];
sendername = RemoveUnderScore(i);

thank you anyways mate