01.01.2011, 20:16
pawn Код:
if (strcmp("/sf", cmdtext, true, 10) == 0)
{
CMDMessageToAll(playerid,"SF");
//bla bla
return 1;
}
pawn Код:
stock CMDMessageToAll(playerid,command[])
{
new string[128]; GetPlayerName(playerid,string,sizeof(string));
format(string,sizeof(string),"[Teleport]: %s has gone to: /%s",string,command);
return SendClientMessageToAll(0xFFFF00AA,string);
}