18.03.2013, 20:23
pawn Код:
if(PlayerInfo[playerid][pMuted] == 1)
{
SendClientMessage(playerid, TEAM_CYAN_COLOR, "You cannot speak, you have been silenced");
return 1;
}
if(PlayerInfo[playerid][pMaskuse] == 1)
format(string, sizeof(string), "* %s takes out a cellphone.",sendername);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USECELLPHONE);
ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
new phonenumb = strval(tmp);
if(phonenumb == 115)
if(PlayerInfo[playerid][pMaskuse] == 0)
format(string, sizeof(string), "* Stranger takes out a cellphone.");
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USECELLPHONE);
ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
if(phonenumb == 115)
{