It Online Show ID not Playername (ID)
#4

Quote:
Originally Posted by ddnbb
Посмотреть сообщение
pawn Код:
format(str, sizeof(str), "%s (ID: %d)\n", PlayerName2(i), i);
PS. string size 512? change it to like 64...
Thanks man its working now.
I also have same problem but this time the ID doesn't show
Код:
if(!strlen(params[strlen(tmp2)+1]))
format(string,sizeof(string),"%s has Frozen %s",adminname,playername);
else format(string,sizeof(string),"%s has Frozen %s | Reason: %s",adminname,playername,params[strlen(tmp)+1]);
I think the purpose of 512.. what if they are around 20 players in jailed? and their names are long.
Reply


Messages In This Thread
It Online Show ID not Playername (ID) - by kbalor - 13.08.2012, 17:49
Re: It Online Show ID not Playername (ID) - by ddnbb - 13.08.2012, 17:58
Re: It Online Show ID not Playername (ID) - by Jefff - 13.08.2012, 18:05
Re: It Online Show ID not Playername (ID) - by kbalor - 13.08.2012, 18:06
Re: It Online Show ID not Playername (ID) - by kbalor - 13.08.2012, 18:10
Re: It Online Show ID not Playername (ID) - by Jefff - 13.08.2012, 18:13
Re: It Online Show ID not Playername (ID) - by ddnbb - 13.08.2012, 18:14
Re: It Online Show ID not Playername (ID) - by kbalor - 13.08.2012, 18:30
Re: It Online Show ID not Playername (ID) - by Kindred - 13.08.2012, 18:32

Forum Jump:


Users browsing this thread: 1 Guest(s)