28.02.2010, 06:25
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/whatsmyid", cmdtext, true, 10) == 0)
{
new str[256];
format(str, sizeof(str), "Your ID is: %d ", playerid);
SendClientMessage(playerid, 0xFFFFFFAA, str);
return 1;
}
return 0;
}