05.07.2017, 00:25
Intro
hello ill be showing in this tutorial how to make a simple chat for players only white with displaying playername the player id and the player text
do this
hello ill be showing in this tutorial how to make a simple chat for players only white with displaying playername the player id and the player text
Code:
public OnPlayerText(playerid, text[])
Code:
new str[128], playername[MAX_PLAYER_NAME]; GetPlayerName(playername, sizeof(playername)); format(str, sizeof(str), "%s (%i): %s ",playername, playerid, text); SendClientMessageToAll(-1,str); return 0; < if you return 0 this will send the costum made message