GetPlayerNameEx
#7

Quote:
Originally Posted by Miguel
Посмотреть сообщение
Probably:
pawn Код:
#define GetPlayerNameEx(%0,%1,%2) GetPlayerName(%0, %1, %2); for(new i = 0; i != %2; i ++) if(%1[i] == '_') %1[i] = ' '
Although I wouldn't know if that works...
The addendum of "Ex" in the function name implies that it has additional features to existing behavior, a function that replaces underscores with spaces would indeed be very useful for role playing servers, but it should be named "GetPlayerNormalizedName" or something similar.
Reply


Messages In This Thread
GetPlayerNameEx - by Silentzx - 13.11.2011, 22:09
Re: GetPlayerNameEx - by BlackWolf120 - 13.11.2011, 22:12
Re: GetPlayerNameEx - by park4bmx - 13.11.2011, 22:13
Re: GetPlayerNameEx - by [HiC]TheKiller - 13.11.2011, 22:18
Re: GetPlayerNameEx - by Silentzx - 13.11.2011, 22:50
Re: GetPlayerNameEx - by Miguel - 13.11.2011, 23:23
Re: GetPlayerNameEx - by RussellK - 13.11.2011, 23:30
Re: GetPlayerNameEx - by Silentzx - 13.11.2011, 23:36
Re: GetPlayerNameEx - by Chrillzen - 13.11.2011, 23:42
Re: GetPlayerNameEx - by Miguel - 15.11.2011, 13:31

Forum Jump:


Users browsing this thread: 2 Guest(s)