ID Doesnt show
#1

When recieving a pm , /ask , whisper etc... The player's ID doesn't show up beside his name , what was the function for it ?
Reply
#2

Do you mean that the message doesn't get formatted the right way?

When you're formatting a message and you want to insert a playerid in it, use %u.

Btw I found a bug, when you try to put %u in > [] ([%u]) it doesn't format it the right way and if this happens to you try using %i instead of %u.
Reply
#3

use,
PHP код:
format(pmstrsizeof(pmstr), "[PM From %s[%d]] %s",PlayerNameplayeridparams); 
You have to use "%d" modifier and playerid to display the player's ID
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)