Quote:
Originally Posted by Death1300
pawn Код:
new string[128], name[MAX_PLAYER_NAME+1]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), "%s (%d): %s", name, playerid, text);
It should look like Andre02(2): text if you used it correctly under the correct function. To get the users ID, use "playerid". I've shown a valid example shown above.
|
i should add that pawn where under OnPlayerText ? because i copied and pasted the pawn that you added there and it didnt add the ID near the name.