30.01.2012, 13:13
How can i make use of them D:
Well the code
Help please
Well the code
pawn Код:
CMD:l(playerid, params[])
{
if(gPlayerLogged{playerid} == 0)
{
SendClientMessageEx(playerid, COLOR_GREY, "You're not logged in.");
return 1;
}
if(isnull(params)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: (/l)ow [close chat]");
new string[128];
format(string, sizeof(string), "%s says quietly: %s", GetPlayerNameEx(playerid), params);
ProxDetector(5.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
format(string, sizeof(string), "(quietly) %s", params);
SetPlayerChatBubble(playerid,string,COLOR_WHITE,5.0,5000);
if(PlayerInfo[playerid][pBugged] == 1)
{
format(string, sizeof(string), "(bug) %s says quietly: %s", GetPlayerNameEx(playerid), params);
SendBugMessage(2, COLOR_LIGHTGREEN, string);
}
return 1;
}
CMD:b(playerid, params[])
{
if(gPlayerLogged{playerid} == 0)
{
SendClientMessageEx(playerid, COLOR_GREY, "You're not logged in.");
return 1;
}
if(isnull(params)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /b [local ooc chat]");
new string[128];
format(string, sizeof(string), "%s: (( %s ))", GetPlayerNameEx(playerid), params);
ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
return 1;
}