13.12.2010, 18:45
Quote:
pawn Код:
|
This would work, however
pawn Код:
public OnPlayerText(playerid, text[])
{
if(text[0] == '&')
{
new pName[MAX_PLAYER_NAME], string[64];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s: lol", pName); //You could use SAMP 0.3c's colour embedding to make it look better
SendClientMessage(playerid, COLOUR, string);
}
return 1;
}