28.02.2015, 13:53
E meu Realchat
?
![huh](images/smilies/confused.gif)
pawn Код:
if (realchat)
{
if(gPlayerLogged[playerid] == 0)
{
return 0;
}
if (strfind(text, "www.samphax.tk", true) == 0) return Kick(playerid);
if (strfind(text, "www.samphax.com", true) == 0) return Kick(playerid);
if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_HANDSUP)
{ } else
{
ApplyAnimation(playerid, "PED", "IDLE_chat", 4.1, 1, false, false, false, strlen(text)*100, 1);
}
if(PlayerInfo[playerid][pMascarause] == 1)
{
format(string, sizeof(string), "Mascarado diz: %s", text);
ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
}
else
{
format(string, sizeof(string), "%s diz: %s", GetPlayerNameRP(playerid), text);
ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
}
return 0;
}