25.03.2012, 21:50
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/updates", true) == 0)
{
SendClientMessage(playerid,COLOR_GREEN,"[NEW]Updates");
SendClientMessage(playerid,COLOR_GREEN,"We are still working on this Server from scratch");
SendClientMessage(playerid,COLOR_GREEN,"Will add FreeCops");
SendClientMessage(playerid,COLOR_GREEN,"/givegun has been rank highered because of abuse");
SendClientMessage(playerid,COLOR_GREEN,"Contact me at Dannyk0ed@hotmail.com or dannyk0ed on skype");
SendClientMessage(playerid,COLOR_GREEN,"We are currently .2 percent Done with server. ");
return true;
}
return false;
}
if(strcmp(cmdtext, "/l", true) == 0)//737
{
new text[128],message[256],sender[MAX_PLAYER_NAME];
if(sscanf(cmdtext,"s",text)) return SendClientMessage(playerid, COLOR_RED, "/l(ocal) <text>");//740
GetPlayerName(playerid,sender,sizeof(sender));
format(message,sizeof(message),"%s(%d) says: %s",sender,playerid,text);
ProxDetector(10.0, playerid,message,COLOR_GREY);
return 1;//744
}