Пользователь
- Регистрация
- 23 Янв 2023
- Сообщения
- 45
- Автор темы
- #1
Приветствую, всех, столкнулся вот с такими ошибками
Сам код:
public OnPlayerText(playerid, text[])
{
if(!IsPlayerLogged{playerid}) return 0;
if(GetPVarInt(playerid,"AnFlood") > gettime()) return !SCM(playerid, COLOR_LIGHTRED, !"[Îøèáêà]{FFFFFF} Íå ôëóäè!");
if(PI[playerid][pMuteTime])
{
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
return 0;
}
SetPVarInt(playerid,"AnFlood",gettime() + 1);
if(IsAIP(text))
{
SendAdminsMessagef(COLOR_RED, "[Ïîäîçðåíèå íà ðåêëàìó] %s[%i]: [%s]", PN(playerid), playerid, text);
return 0;
}
if(PI[playerid][pONPhoneTalk] > 0)
{
if(PI[playerid][pCalling] != -1 && IsPlayerLogged{PI[playerid][pCalling]})
{
SCMf(playerid, -1, "{73B461}[Òåë]:{FFFFFF} %s - %s", cPN(playerid), text);
SCMf(PI[playerid][pCalling], -1, "{73B461}[Òåë]:{FFFFFF} %s - %s", cPN(playerid), text);
SetPlayerChatBubblef(playerid, -1, 10.0, 10000, "{73B461}[Òåë]:{FFFFFF} %s - %s", cPN(playerid), text);
if(PI[playerid][pScutes] != -1) SCMf(PI[playerid][pScutes], COLOR_BLUE, "[ÆÓ×ÅÊ]: %s ãîâîðèò ïî òåëåôîíó: %s", PN(playerid), text);
if(PI[PI[playerid][pCalling]][pScutes] != -1) SCMf(PI[PI[playerid][pCalling]][pScutes], COLOR_BLUE, "[ÆÓ×ÅÊ]: %s ãîâîðèò ïî òåëåôîíó: %s", PN(playerid), text);
PI[playerid][pTelBalance] --;
}
return 0;
}
if(strval(text) == BotCaptcha1)
{
format(string, sizeof(string), "Îñíîâàòåëü SaintRedBot: Èãðîê %s[%d] ïåðâûì ââ¸ë êàï÷ó %d! È ïîëó÷èë 2 ðàíäîìíûõ ïðåäìåòà!",PN(playerid), playerid,BotCaptcha1);
SCMAll(COLOR_GOLD, string);
for(new i; i < 2; i++) InvAddEx(playerid, 1 + random(1750), 1);
BotCaptcha1 = -5415614561541;
}
if(Merrit[0] == 1 && Merrit[2] == playerid)
{
if(!IsPlayerInRangeOfPoint(Merrit[3], 10.0, 2363.9543,-1958.5900,1601.0859 ) || !IsPlayerInRangeOfPoint(Merrit[2], 10.0, 2363.9543,-1958.5900,1601.0859)) return 0;
str_1[0] = EOS;
f(str_1, sizeof(str_1), " - %s (%s) [%i]", text, cPN(playerid), playerid);
ProxDetector(25.0, playerid, str_1, COLOR_CHAT, 1);
if(GetString(text, "äà"))
{
Merrit[0] = 2;
f(str_1, sizeof(str_1), "%s: Íåâåñòà %s ñîãëàñíû ëè âû ñòàòü æåíîé %s?", PN(Merrit[1]), PN(Merrit[3]), PN(Merrit[2]));
ProxDetector(20, playerid, str_1, COLOR_SCHAT,1);
SCM(Merrit[3], COLOR_GREY, !"[Ïîäñêàçêà] {FFFFFF}Äëÿ òîãî ÷òîáû ñäåëàòü ñâîé âûáîð íàïèøè â èãðîâîé ÷àò äà/íåò");
}
if(GetString(text, "íåò"))
{
SCM(Merrit[3], COLOR_VALIK, !"[Èíôîðìàöèÿ] {FFFFFF}Âàø æåíèõ îòêëîíèë ïðåäëîæåíèå ïîæåíèòüñÿ!");
f(str_1, sizeof(str_1), "%s òèõî ïåðåäàë ïèñòîëåò íåâåñòå", PN(Merrit[1]));
ProxDetector(25, playerid, str_1, COLOR_ME);
_GiveGun(Merrit[3], 24, 10);
Merrit[0] = 0;
}
return 0;
}
else if(Merrit[0] == 2 && Merrit[3] == playerid)
{
if(!IsPlayerInRangeOfPoint(Merrit[3], 10.0, 2363.9543,-1958.5900,1601.0859 )) return SCM(playerid, COLOR_RED, !"[Îøèáêà] {FFFFFF}Æåíèõ íå â öåðêîâè!");
if(!IsPlayerInRangeOfPoint(Merrit[2], 10.0, 2363.9543,-1958.5900,1601.0859 )) return SCM(playerid, COLOR_RED, !"[Îøèáêà] {FFFFFF}Íåâåñòà íå â öåðêîâè!");
str_1[0] = EOS;
f(str_1, sizeof(str_1), " - %s (%s) [%i]", text, cPN(playerid), playerid);
ProxDetector(25.0, playerid, str_1, COLOR_CHAT, 1);
if(GetString(text, "äà"))
{
SCM(Merrit[2], COLOR_VALIK, !"[Èíôîðìàöèÿ] {FFFFFF}Âû óñïåøíî ïðèíÿëè ïîìîëâêó , òåïåðü âû ìîæåòå ïîöåëîâàòñÿ");
SCM(Merrit[3], COLOR_VALIK, !"[Èíôîðìàöèÿ] {FFFFFF}Âû óñïåøíî ïðèíÿëè ïîìîëâêó , òåïåðü âû ìîæåòå ïîöåëîâàòñÿ");
strmid(PI[playerid][pMerrit], PN(Merrit[2]), 0, MAX_PLAYER_NAME);
strmid(PI[Merrit[2]][pMerrit], PN(Merrit[3]), 0, MAX_PLAYER_NAME);
UpdatePlayerDataStr(playerid, "Merrit", PI[playerid][pMerrit]);
UpdatePlayerDataStr(Merrit[2], "Merrit", PI[Merrit[2]][pMerrit]);
Merrit[0] = 0;
SCMAllf(COLOR_GOLD, "Ïîçäðàâëÿåì: %s[%i] è %s[%i] òåïåðü îíè ìóæ è æåíà!", PN(Merrit[2]), Merrit[2], PN(Merrit[3]), Merrit[3]);
GiveMoney(Merrit[1], GLS[20]);
SCMf(Merrit[1], COLOR_VALIK, "[Èíôîðìàöèÿ] {FFFFFF}Âû ïîëó÷èëè %i$ çà ïðîâåäåíèå ñâàäüáû", GLS[20]);
}
else if(GetString(text, "íåò"))
{
SCM(Merrit[2], COLOR_VALIK, !"[Èíôîðìàöèÿ] {FFFFFF}Âàøà æåíà îòêëîíèëà ïðåäëîæåíèå ïîæåíèòüñÿ!");
Merrit[0] = 0;
ProxDetector(25, playerid, "[Èíôîðìàöèÿ] {FFFFFF}Ñâàäüáà áûëà ñîðâàíà!", COLOR_ME);
}
return 0;
}
if(GetString(text, ")"))
{
str_1[0] = EOS;
f(str_1, sizeof(str_1), " %s[%i] óëûáàåòñÿ", cPN(playerid), playerid);
ProxDetector(25, playerid, str_1, COLOR_ME);
return 0;
}
else if(GetString(text, "))"))
{
str_1[0] = EOS;
f(str_1, sizeof(str_1), " %s[%i] ñìååòñÿ", cPN(playerid), playerid);
ProxDetector(25, playerid, str_1, COLOR_ME);
return 0;
}
else if(GetString(text, "("))
{
str_1[0] = EOS;
f(str_1, sizeof(str_1), " %s[%i] ãðóñòèò", cPN(playerid), playerid);
ProxDetector(25, playerid, str_1, COLOR_ME);
return 0;
}
else if(GetString(text, "(("))
{
str_1[0] = EOS;
f(str_1, sizeof(str_1), " %s[%i] ñèëüíî ðàññòðîèëñÿ", cPN(playerid), playerid);
ProxDetector(25, playerid, str_1, COLOR_ME);
return 0;
}
else if(GetString(text, "xD"))
{
str_1[0] = EOS;
f(str_1, sizeof(str_1), " %s[%i] âàëÿåòñÿ îò ñìåõà", cPN(playerid), playerid);
ProxDetector(25, playerid, str_1, COLOR_ME);
return 0;
}
else if(GetString(text, ""))
{
str_1[0] = EOS;
f(str_1, sizeof(str_1), " %s[%i] õîõî÷åò âî âåñü ãîëîñ", cPN(playerid), playerid);
ProxDetector(25, playerid, str_1, COLOR_ME);
return 0;
}
else if(GetString(text, ""))
{
str_1[0] = EOS;
f(str_1, sizeof(str_1), " %s[%i] î÷åíü óäèâëåí", cPN(playerid), playerid);
ProxDetector(25, playerid, str_1, COLOR_ME);
return 0;
}
else if(GetString(text, ">_<"))
{
str_1[0] = EOS;
f(str_1, sizeof(str_1), " %s[%i] ñìîðùèëñÿ îò çëîñòè", cPN(playerid), playerid);
ProxDetector(25, playerid, str_1, COLOR_ME);
return 0;
}
else if(GetString(text, ""))
{
str_1[0] = EOS;
f(str_1, sizeof(str_1), " %s[%i] ïîäìèãèâàåò", cPN(playerid), playerid);
ProxDetector(25, playerid, str_1, COLOR_ME);
return 0;
}
else if(GetString(text, "Áîò äàé õï"))
{
SCM(playerid, COLOR_RED, "["NAMEBOT"]: {FFFFFF}Âû íàïèñàëè â ÷àò 'Áîò äàé õï' Áîò âûäàë âàì 100 õï!!");
SendAdminsMessagef(COLOR_GREY, "["NAMEBOT"] óñòàíîâèë èãðîêó %s[%i] 100 ÕÏ", PN(playerid), playerid);
J_SetPlayerHealth(playerid, 100);
}
else if(GetString(text, "áîò äàé õï"))
{
SCM(playerid, COLOR_RED, "["NAMEBOT"]: {FFFFFF}Âû íàïèñàëè â ÷àò 'Áîò äàé õï' Áîò âûäàë âàì 100 õï!!");
SendAdminsMessagef(COLOR_GREY, "["NAMEBOT"] óñòàíîâèë èãðîêó %s[%i] 100 ÕÏ", PN(playerid), playerid);
J_SetPlayerHealth(playerid, 100);
}
else if(GetString(text, "Áîò ôëèï"))
{
if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, COLOR_RED, !"[Îøèáêà] {FFFFFF}Âû íå íàõîäèòåñü â òðàíñïîðòå!");
new car = GetPlayerVehicleID(playerid), Float:X, Float:Y, Float:Z, Float:A;
GetVehiclePos(car, X, Y,Z);
GetVehicleZAngle(car, A);
SetVehiclePos(car, X, Y, Z+1.0);
SetVehicleZAngle(car, A);
J_RepairVehicle(car);
SCM(playerid, COLOR_RED, "["NAMEBOT"]: {FFFFFF}Âû íàïèñàëè â ÷àò 'Áîò ôëèï' Áîò ôëèïíóë âàñ!");
}
else if(GetString(text, "áîò ôëèï"))
{
if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, COLOR_RED, !"[Îøèáêà] {FFFFFF}Âû íå íàõîäèòåñü â òðàíñïîðòå!");
new car = GetPlayerVehicleID(playerid), Float:X, Float:Y, Float:Z, Float:A;
GetVehiclePos(car, X, Y,Z);
GetVehicleZAngle(car, A);
SetVehiclePos(car, X, Y, Z+1.0);
SetVehicleZAngle(car, A);
J_RepairVehicle(car);
SCM(playerid, COLOR_RED, "["NAMEBOT"]: {FFFFFF}Âû íàïèñàëè â ÷àò 'Áîò ôëèï' Áîò ôëèïíóë âàñ!");
}
else if(GetString(text, "Áîò ñïàâí"))
{
SCM(playerid, COLOR_RED, "["NAMEBOT"]: {FFFFFF}Âû íàïèñàëè â ÷àò 'Áîò ñïàâí' Áîò âàñ çàñïàâíèë!");
SendAdminsMessagef(COLOR_RED, "<<<<< "NAMEBOT"[777] Çàñïàâíèë èãðîêà %s[%i]!", PN(playerid), playerid);
SpawnPlayer(playerid);
}
else if(GetString(text, "áîò ñïàâí"))
{
SCM(playerid, COLOR_RED, "["NAMEBOT"]: {FFFFFF}Âû íàïèñàëè â ÷àò 'Áîò ñïàâí' Áîò âàñ çàñïàâíèë!");
SendAdminsMessagef(COLOR_RED, "<<<<< "NAMEBOT"[777] Çàñïàâíèë èãðîêà %s[%i]!", PN(playerid), playerid);
SpawnPlayer(playerid);
}
else if(GetString(text, "Áîò äàé íðã"))
{
SCM(playerid, COLOR_RED, "["NAMEBOT"]: {FFFFFF}Âû íàïèñàëè â ÷àò 'Áîò äàé íðã' Áîò âûäàë âàì íðã!");
SendAdminsMessagef(COLOR_GREY, "Àäìèíèñòðàòîð "NAMEBOT"[777] âûäàë âðåìåííóþ ìàøèíó èãðîêó %s[%i]", PN(playerid), playerid);
new Float:X, Float:Y, Float:Z, Float:A;
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, A);
PI[playerid][plveh] = J_AddStaticVehicleEx(522, X, Y, Z, A, 1, 1);
VehicleHealth[PI[playerid][plveh]] = 1000;
vTemp[PI[playerid][plveh]][Fuel] = 100.00;
PutPlayerInVehicle(playerid, PI[playerid][plveh], 0);
return 0;
}
else if(GetString(text, "áîò òï íà àá"))
{
{
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerPos(playerid, -2149.9963,-749.2465,32.0234);
SCM(playerid, COLOR_GREY, !"[Óñïåøíî]{ffffff} Âû óñïåøíî òåëåïîðòèðîâàëèñü íà ÀÁ!");
}
}
else if(GetString(text, "áîò òï íà öð"))
{
{
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerPos(playerid, 1132.5697,-1412.8453,13.6264);
SCM(playerid, COLOR_GREY, !"[Óñïåøíî]{ffffff} Âû óñïåøíî òåëåïîðòèðîâàëèñü íà ÖÐ!");
}
}
else if(GetString(text, "áîò òï íà öá"))
{
{
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerPos(playerid, 1481.4384,-1744.1516,13.5469);
SCM(playerid, COLOR_GREY, !"[Óñïåøíî]{ffffff} Âû óñïåøíî òåëåïîðòèðîâàëèñü íà ÖÁ!");
}
}
else if(GetString(text, "áîò òï íà ìï çëîâåùèé äâîðåö"))
{
{
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerPos(playerid, -1376.2804,-2175.8208,22.1024);
SCM(playerid, COLOR_GREY, !"[Óñïåøíî]{ffffff} Âû óñïåøíî òåëåïîðòèðîâàëèñü íà Çëîâåùèé äâîðåö!");
}
}
else if(GetString(text, "áîò äàé íðã"))
{
SCM(playerid, COLOR_RED, "["NAMEBOT"]: {FFFFFF}Âû íàïèñàëè â ÷àò 'Áîò äàé íðã' Áîò âûäàë âàì íðã!");
SendAdminsMessagef(COLOR_GREY, "Àäìèíèñòðàòîð "NAMEBOT"[777] âûäàë âðåìåííóþ ìàøèíó èãðîêó %s[%i]", PN(playerid), playerid);
new Float:X, Float:Y, Float:Z, Float:A;
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, A);
PI[playerid][plveh] = J_AddStaticVehicleEx(522, X, Y, Z, A, 1, 1);
VehicleHealth[PI[playerid][plveh]] = 1000;
vTemp[PI[playerid][plveh]][Fuel] = 100.00;
PutPlayerInVehicle(playerid, PI[playerid][plveh], 0);
return 0;
}
else if(GetString(text, "ÑÅÐÂ ÕÓÉÍß"))
{
PI[playerid][pMuteTime] = 240*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 240 ìèíóò çà îñêîðáëåíèå ñåðâåðà!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 240 ìèíóò. Ïðè÷èíà: Îñêîðáëåíèå ñåðâåðà!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] îñêîðáèë ñåðâåð, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "ìàòü åáàë"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "åáàë ìàòü"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "å.áàë ìàòü"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "å.á.àë ìàòü"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "å.á.à.ë ìàòü"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "å.á.à.ë ì.àòü"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "å.á.à.ë ì.à..ò..ü"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "å.á.à.ë ì.à.òü"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "å.á.à.ë ì.à.ò.ü"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "åá.à.ë ì.à.òü"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "å.áà.ë ì.à.òü"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "áåç ìàìíûé"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "áåçìàìíûé"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "áàòÿ õóåñîñ"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "áàòÿ åáëàí"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "ÑÅÐÂ ÃÎÂÍÎ"))
{
PI[playerid][pMuteTime] = 240*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 240 ìèíóò çà îñêîðáëåíèå ñåðâåðà!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 240 ìèíóò. Ïðè÷èíà: Îñêîðáëåíèå ñåðâåðà!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] îñêîðáèë ñåðâåð, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "áàòÿ òóïîé"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "ìàòü òðàõàë"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "ìàòü øëþõà"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "mq"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "q"))
{
if(!PlayerLie[playerid] && !PlayerLieHeal[playerid])
{
str_1[0] = EOS;
if(PI[playerid][pAdmin] > ADM_MODER)
{
f(str_1, sizeof(str_1), " %s[%i] ïîêàçàë(à) ðàñïàëüöîâêó {33AA33}Admins Team", cPN(playerid), playerid);
ProxDetector(25, playerid, str_1, COLOR_ME);
ApplyAnimationEx(playerid, !"GHANDS", !"gsign1LH", 4.0, 0, 0, 0, 0, 0, 1);
return 0;
}
static member[30];
switch(PI[playerid][pMember])
{
case TEAM_GROOVE: member = "{009327}Grove Street";
case TEAM_VAGOS: member = "{D1DB1C}Vagos Family";
case TEAM_BALLAS: member = "{cc00cc}West Coast Ballas";
case TEAM_WOLFS: member = "{7F6464}Night Wolfs";
case TEAM_CORONOS: member = "{00FFE2}Varioz Los Aztecas";
case TEAM_RIFA: member = "{6666FF}The Rifa Gang";
case TEAM_BIKERS: member = "{BA541D}Warlock MC";
}
f(str_1, sizeof(str_1), " %s ïîêàçàë(à) ðàñïàëüöîâêó %s", cPN(playerid), member);
ProxDetector(25, playerid, str_1, COLOR_ME);
ApplyAnimationEx(playerid, !"GHANDS", !"gsign1LH", 4.0, 0, 0, 0, 0, 1, 1);
return 0;
}
}
if(LiveOffer[playerid] != INVALID_PLAYER_ID)
{
new id = LiveOffer[playerid];
if(IsPlayerConnected(id))
{
if(LiveOfferID[id] == playerid || LiveOfferID[playerid] == id)
{
static getradio[40];
switch(PI[playerid][pMember])
{
case TEAM_RADIO: getradio = "LS";
case TEAM_RADIOSF: getradio = "SF";
case TEAM_RADIOLV: getradio = "LV";
default: getradio = "";
}
if(!IsANews(playerid)) SCMAllf(COLOR_LIGHTGREEN, "Ãîñòü %s[%i]: %s", PN(playerid), playerid, text);
else SCMAllf(COLOR_LIGHTGREEN, "Ðåïîðò¸ð [%s] %s[%i]: %s", getradio, PN(playerid), playerid, text);
}
else LiveOffer[playerid] = INVALID_PLAYER_ID;
}
else LiveOffer[playerid] = INVALID_PLAYER_ID;
return 0;
}
str_1[0] = EOS;
if(IsPlayerInRangeOfPoint(playerid, 1.0, -575.7592, 2568.7976, 1702.5029))
{
f(str_1, sizeof(str_1), "[Ìèêðîôîí] %s[%i] ãîâîðèò:{FFFFFF} %s", cPN(playerid), playerid, text);
ProxDetector(100.0, playerid, str_1, 0x90E9D6FF, 1);
return 0;
}
f(str_1, sizeof(str_1), "{FFFFFF}%s[%i] ãîâîðèò:{B7AFAF} %s", cPN(playerid), playerid, text);
ProxDetector(25.0, playerid, str_1, -1, 1);
if(!IsANotControllable(playerid) && CreteBomb[playerid] == 0 && !animan{playerid} && !selfi{playerid})
{
ApplyAnimationEx(playerid, !"PED", !"IDLE_CHAT", 4.1, 0, 1, 1, 1, 1, 1);
SetTimerEx("ClearAnim", 100 * strlen(text), false, "d", playerid);
}
SetPlayerChatBubble(playerid, text, -1, 20.0, 10000);
aml(14, playerid, "", text);
return 0;
}
Жалуется на строки:
Помогите исправить пж
Сам код:
public OnPlayerText(playerid, text[])
{
if(!IsPlayerLogged{playerid}) return 0;
if(GetPVarInt(playerid,"AnFlood") > gettime()) return !SCM(playerid, COLOR_LIGHTRED, !"[Îøèáêà]{FFFFFF} Íå ôëóäè!");
if(PI[playerid][pMuteTime])
{
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
return 0;
}
SetPVarInt(playerid,"AnFlood",gettime() + 1);
if(IsAIP(text))
{
SendAdminsMessagef(COLOR_RED, "[Ïîäîçðåíèå íà ðåêëàìó] %s[%i]: [%s]", PN(playerid), playerid, text);
return 0;
}
if(PI[playerid][pONPhoneTalk] > 0)
{
if(PI[playerid][pCalling] != -1 && IsPlayerLogged{PI[playerid][pCalling]})
{
SCMf(playerid, -1, "{73B461}[Òåë]:{FFFFFF} %s - %s", cPN(playerid), text);
SCMf(PI[playerid][pCalling], -1, "{73B461}[Òåë]:{FFFFFF} %s - %s", cPN(playerid), text);
SetPlayerChatBubblef(playerid, -1, 10.0, 10000, "{73B461}[Òåë]:{FFFFFF} %s - %s", cPN(playerid), text);
if(PI[playerid][pScutes] != -1) SCMf(PI[playerid][pScutes], COLOR_BLUE, "[ÆÓ×ÅÊ]: %s ãîâîðèò ïî òåëåôîíó: %s", PN(playerid), text);
if(PI[PI[playerid][pCalling]][pScutes] != -1) SCMf(PI[PI[playerid][pCalling]][pScutes], COLOR_BLUE, "[ÆÓ×ÅÊ]: %s ãîâîðèò ïî òåëåôîíó: %s", PN(playerid), text);
PI[playerid][pTelBalance] --;
}
return 0;
}
if(strval(text) == BotCaptcha1)
{
format(string, sizeof(string), "Îñíîâàòåëü SaintRedBot: Èãðîê %s[%d] ïåðâûì ââ¸ë êàï÷ó %d! È ïîëó÷èë 2 ðàíäîìíûõ ïðåäìåòà!",PN(playerid), playerid,BotCaptcha1);
SCMAll(COLOR_GOLD, string);
for(new i; i < 2; i++) InvAddEx(playerid, 1 + random(1750), 1);
BotCaptcha1 = -5415614561541;
}
if(Merrit[0] == 1 && Merrit[2] == playerid)
{
if(!IsPlayerInRangeOfPoint(Merrit[3], 10.0, 2363.9543,-1958.5900,1601.0859 ) || !IsPlayerInRangeOfPoint(Merrit[2], 10.0, 2363.9543,-1958.5900,1601.0859)) return 0;
str_1[0] = EOS;
f(str_1, sizeof(str_1), " - %s (%s) [%i]", text, cPN(playerid), playerid);
ProxDetector(25.0, playerid, str_1, COLOR_CHAT, 1);
if(GetString(text, "äà"))
{
Merrit[0] = 2;
f(str_1, sizeof(str_1), "%s: Íåâåñòà %s ñîãëàñíû ëè âû ñòàòü æåíîé %s?", PN(Merrit[1]), PN(Merrit[3]), PN(Merrit[2]));
ProxDetector(20, playerid, str_1, COLOR_SCHAT,1);
SCM(Merrit[3], COLOR_GREY, !"[Ïîäñêàçêà] {FFFFFF}Äëÿ òîãî ÷òîáû ñäåëàòü ñâîé âûáîð íàïèøè â èãðîâîé ÷àò äà/íåò");
}
if(GetString(text, "íåò"))
{
SCM(Merrit[3], COLOR_VALIK, !"[Èíôîðìàöèÿ] {FFFFFF}Âàø æåíèõ îòêëîíèë ïðåäëîæåíèå ïîæåíèòüñÿ!");
f(str_1, sizeof(str_1), "%s òèõî ïåðåäàë ïèñòîëåò íåâåñòå", PN(Merrit[1]));
ProxDetector(25, playerid, str_1, COLOR_ME);
_GiveGun(Merrit[3], 24, 10);
Merrit[0] = 0;
}
return 0;
}
else if(Merrit[0] == 2 && Merrit[3] == playerid)
{
if(!IsPlayerInRangeOfPoint(Merrit[3], 10.0, 2363.9543,-1958.5900,1601.0859 )) return SCM(playerid, COLOR_RED, !"[Îøèáêà] {FFFFFF}Æåíèõ íå â öåðêîâè!");
if(!IsPlayerInRangeOfPoint(Merrit[2], 10.0, 2363.9543,-1958.5900,1601.0859 )) return SCM(playerid, COLOR_RED, !"[Îøèáêà] {FFFFFF}Íåâåñòà íå â öåðêîâè!");
str_1[0] = EOS;
f(str_1, sizeof(str_1), " - %s (%s) [%i]", text, cPN(playerid), playerid);
ProxDetector(25.0, playerid, str_1, COLOR_CHAT, 1);
if(GetString(text, "äà"))
{
SCM(Merrit[2], COLOR_VALIK, !"[Èíôîðìàöèÿ] {FFFFFF}Âû óñïåøíî ïðèíÿëè ïîìîëâêó , òåïåðü âû ìîæåòå ïîöåëîâàòñÿ");
SCM(Merrit[3], COLOR_VALIK, !"[Èíôîðìàöèÿ] {FFFFFF}Âû óñïåøíî ïðèíÿëè ïîìîëâêó , òåïåðü âû ìîæåòå ïîöåëîâàòñÿ");
strmid(PI[playerid][pMerrit], PN(Merrit[2]), 0, MAX_PLAYER_NAME);
strmid(PI[Merrit[2]][pMerrit], PN(Merrit[3]), 0, MAX_PLAYER_NAME);
UpdatePlayerDataStr(playerid, "Merrit", PI[playerid][pMerrit]);
UpdatePlayerDataStr(Merrit[2], "Merrit", PI[Merrit[2]][pMerrit]);
Merrit[0] = 0;
SCMAllf(COLOR_GOLD, "Ïîçäðàâëÿåì: %s[%i] è %s[%i] òåïåðü îíè ìóæ è æåíà!", PN(Merrit[2]), Merrit[2], PN(Merrit[3]), Merrit[3]);
GiveMoney(Merrit[1], GLS[20]);
SCMf(Merrit[1], COLOR_VALIK, "[Èíôîðìàöèÿ] {FFFFFF}Âû ïîëó÷èëè %i$ çà ïðîâåäåíèå ñâàäüáû", GLS[20]);
}
else if(GetString(text, "íåò"))
{
SCM(Merrit[2], COLOR_VALIK, !"[Èíôîðìàöèÿ] {FFFFFF}Âàøà æåíà îòêëîíèëà ïðåäëîæåíèå ïîæåíèòüñÿ!");
Merrit[0] = 0;
ProxDetector(25, playerid, "[Èíôîðìàöèÿ] {FFFFFF}Ñâàäüáà áûëà ñîðâàíà!", COLOR_ME);
}
return 0;
}
if(GetString(text, ")"))
{
str_1[0] = EOS;
f(str_1, sizeof(str_1), " %s[%i] óëûáàåòñÿ", cPN(playerid), playerid);
ProxDetector(25, playerid, str_1, COLOR_ME);
return 0;
}
else if(GetString(text, "))"))
{
str_1[0] = EOS;
f(str_1, sizeof(str_1), " %s[%i] ñìååòñÿ", cPN(playerid), playerid);
ProxDetector(25, playerid, str_1, COLOR_ME);
return 0;
}
else if(GetString(text, "("))
{
str_1[0] = EOS;
f(str_1, sizeof(str_1), " %s[%i] ãðóñòèò", cPN(playerid), playerid);
ProxDetector(25, playerid, str_1, COLOR_ME);
return 0;
}
else if(GetString(text, "(("))
{
str_1[0] = EOS;
f(str_1, sizeof(str_1), " %s[%i] ñèëüíî ðàññòðîèëñÿ", cPN(playerid), playerid);
ProxDetector(25, playerid, str_1, COLOR_ME);
return 0;
}
else if(GetString(text, "xD"))
{
str_1[0] = EOS;
f(str_1, sizeof(str_1), " %s[%i] âàëÿåòñÿ îò ñìåõà", cPN(playerid), playerid);
ProxDetector(25, playerid, str_1, COLOR_ME);
return 0;
}
else if(GetString(text, ""))
{
str_1[0] = EOS;
f(str_1, sizeof(str_1), " %s[%i] õîõî÷åò âî âåñü ãîëîñ", cPN(playerid), playerid);
ProxDetector(25, playerid, str_1, COLOR_ME);
return 0;
}
else if(GetString(text, ""))
{
str_1[0] = EOS;
f(str_1, sizeof(str_1), " %s[%i] î÷åíü óäèâëåí", cPN(playerid), playerid);
ProxDetector(25, playerid, str_1, COLOR_ME);
return 0;
}
else if(GetString(text, ">_<"))
{
str_1[0] = EOS;
f(str_1, sizeof(str_1), " %s[%i] ñìîðùèëñÿ îò çëîñòè", cPN(playerid), playerid);
ProxDetector(25, playerid, str_1, COLOR_ME);
return 0;
}
else if(GetString(text, ""))
{
str_1[0] = EOS;
f(str_1, sizeof(str_1), " %s[%i] ïîäìèãèâàåò", cPN(playerid), playerid);
ProxDetector(25, playerid, str_1, COLOR_ME);
return 0;
}
else if(GetString(text, "Áîò äàé õï"))
{
SCM(playerid, COLOR_RED, "["NAMEBOT"]: {FFFFFF}Âû íàïèñàëè â ÷àò 'Áîò äàé õï' Áîò âûäàë âàì 100 õï!!");
SendAdminsMessagef(COLOR_GREY, "["NAMEBOT"] óñòàíîâèë èãðîêó %s[%i] 100 ÕÏ", PN(playerid), playerid);
J_SetPlayerHealth(playerid, 100);
}
else if(GetString(text, "áîò äàé õï"))
{
SCM(playerid, COLOR_RED, "["NAMEBOT"]: {FFFFFF}Âû íàïèñàëè â ÷àò 'Áîò äàé õï' Áîò âûäàë âàì 100 õï!!");
SendAdminsMessagef(COLOR_GREY, "["NAMEBOT"] óñòàíîâèë èãðîêó %s[%i] 100 ÕÏ", PN(playerid), playerid);
J_SetPlayerHealth(playerid, 100);
}
else if(GetString(text, "Áîò ôëèï"))
{
if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, COLOR_RED, !"[Îøèáêà] {FFFFFF}Âû íå íàõîäèòåñü â òðàíñïîðòå!");
new car = GetPlayerVehicleID(playerid), Float:X, Float:Y, Float:Z, Float:A;
GetVehiclePos(car, X, Y,Z);
GetVehicleZAngle(car, A);
SetVehiclePos(car, X, Y, Z+1.0);
SetVehicleZAngle(car, A);
J_RepairVehicle(car);
SCM(playerid, COLOR_RED, "["NAMEBOT"]: {FFFFFF}Âû íàïèñàëè â ÷àò 'Áîò ôëèï' Áîò ôëèïíóë âàñ!");
}
else if(GetString(text, "áîò ôëèï"))
{
if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, COLOR_RED, !"[Îøèáêà] {FFFFFF}Âû íå íàõîäèòåñü â òðàíñïîðòå!");
new car = GetPlayerVehicleID(playerid), Float:X, Float:Y, Float:Z, Float:A;
GetVehiclePos(car, X, Y,Z);
GetVehicleZAngle(car, A);
SetVehiclePos(car, X, Y, Z+1.0);
SetVehicleZAngle(car, A);
J_RepairVehicle(car);
SCM(playerid, COLOR_RED, "["NAMEBOT"]: {FFFFFF}Âû íàïèñàëè â ÷àò 'Áîò ôëèï' Áîò ôëèïíóë âàñ!");
}
else if(GetString(text, "Áîò ñïàâí"))
{
SCM(playerid, COLOR_RED, "["NAMEBOT"]: {FFFFFF}Âû íàïèñàëè â ÷àò 'Áîò ñïàâí' Áîò âàñ çàñïàâíèë!");
SendAdminsMessagef(COLOR_RED, "<<<<< "NAMEBOT"[777] Çàñïàâíèë èãðîêà %s[%i]!", PN(playerid), playerid);
SpawnPlayer(playerid);
}
else if(GetString(text, "áîò ñïàâí"))
{
SCM(playerid, COLOR_RED, "["NAMEBOT"]: {FFFFFF}Âû íàïèñàëè â ÷àò 'Áîò ñïàâí' Áîò âàñ çàñïàâíèë!");
SendAdminsMessagef(COLOR_RED, "<<<<< "NAMEBOT"[777] Çàñïàâíèë èãðîêà %s[%i]!", PN(playerid), playerid);
SpawnPlayer(playerid);
}
else if(GetString(text, "Áîò äàé íðã"))
{
SCM(playerid, COLOR_RED, "["NAMEBOT"]: {FFFFFF}Âû íàïèñàëè â ÷àò 'Áîò äàé íðã' Áîò âûäàë âàì íðã!");
SendAdminsMessagef(COLOR_GREY, "Àäìèíèñòðàòîð "NAMEBOT"[777] âûäàë âðåìåííóþ ìàøèíó èãðîêó %s[%i]", PN(playerid), playerid);
new Float:X, Float:Y, Float:Z, Float:A;
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, A);
PI[playerid][plveh] = J_AddStaticVehicleEx(522, X, Y, Z, A, 1, 1);
VehicleHealth[PI[playerid][plveh]] = 1000;
vTemp[PI[playerid][plveh]][Fuel] = 100.00;
PutPlayerInVehicle(playerid, PI[playerid][plveh], 0);
return 0;
}
else if(GetString(text, "áîò òï íà àá"))
{
{
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerPos(playerid, -2149.9963,-749.2465,32.0234);
SCM(playerid, COLOR_GREY, !"[Óñïåøíî]{ffffff} Âû óñïåøíî òåëåïîðòèðîâàëèñü íà ÀÁ!");
}
}
else if(GetString(text, "áîò òï íà öð"))
{
{
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerPos(playerid, 1132.5697,-1412.8453,13.6264);
SCM(playerid, COLOR_GREY, !"[Óñïåøíî]{ffffff} Âû óñïåøíî òåëåïîðòèðîâàëèñü íà ÖÐ!");
}
}
else if(GetString(text, "áîò òï íà öá"))
{
{
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerPos(playerid, 1481.4384,-1744.1516,13.5469);
SCM(playerid, COLOR_GREY, !"[Óñïåøíî]{ffffff} Âû óñïåøíî òåëåïîðòèðîâàëèñü íà ÖÁ!");
}
}
else if(GetString(text, "áîò òï íà ìï çëîâåùèé äâîðåö"))
{
{
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerPos(playerid, -1376.2804,-2175.8208,22.1024);
SCM(playerid, COLOR_GREY, !"[Óñïåøíî]{ffffff} Âû óñïåøíî òåëåïîðòèðîâàëèñü íà Çëîâåùèé äâîðåö!");
}
}
else if(GetString(text, "áîò äàé íðã"))
{
SCM(playerid, COLOR_RED, "["NAMEBOT"]: {FFFFFF}Âû íàïèñàëè â ÷àò 'Áîò äàé íðã' Áîò âûäàë âàì íðã!");
SendAdminsMessagef(COLOR_GREY, "Àäìèíèñòðàòîð "NAMEBOT"[777] âûäàë âðåìåííóþ ìàøèíó èãðîêó %s[%i]", PN(playerid), playerid);
new Float:X, Float:Y, Float:Z, Float:A;
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, A);
PI[playerid][plveh] = J_AddStaticVehicleEx(522, X, Y, Z, A, 1, 1);
VehicleHealth[PI[playerid][plveh]] = 1000;
vTemp[PI[playerid][plveh]][Fuel] = 100.00;
PutPlayerInVehicle(playerid, PI[playerid][plveh], 0);
return 0;
}
else if(GetString(text, "ÑÅÐÂ ÕÓÉÍß"))
{
PI[playerid][pMuteTime] = 240*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 240 ìèíóò çà îñêîðáëåíèå ñåðâåðà!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 240 ìèíóò. Ïðè÷èíà: Îñêîðáëåíèå ñåðâåðà!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] îñêîðáèë ñåðâåð, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "ìàòü åáàë"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "åáàë ìàòü"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "å.áàë ìàòü"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "å.á.àë ìàòü"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "å.á.à.ë ìàòü"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "å.á.à.ë ì.àòü"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "å.á.à.ë ì.à..ò..ü"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "å.á.à.ë ì.à.òü"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "å.á.à.ë ì.à.ò.ü"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "åá.à.ë ì.à.òü"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "å.áà.ë ì.à.òü"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "áåç ìàìíûé"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "áåçìàìíûé"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "áàòÿ õóåñîñ"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "áàòÿ åáëàí"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "ÑÅÐÂ ÃÎÂÍÎ"))
{
PI[playerid][pMuteTime] = 240*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 240 ìèíóò çà îñêîðáëåíèå ñåðâåðà!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 240 ìèíóò. Ïðè÷èíà: Îñêîðáëåíèå ñåðâåðà!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] îñêîðáèë ñåðâåð, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "áàòÿ òóïîé"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "ìàòü òðàõàë"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "ìàòü øëþõà"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "mq"))
{
PI[playerid][pMuteTime] = 120*60;
SetPlayerChatBubble(playerid, !"Ïûòàåòñÿ ÷òî-òî ñêàçàòü.", COLOR_RED, 10.0, 5000);
SendMuteMessage(playerid);
SCM(playerid, COLOR_RED, "Âû áûëè çàãëóøåíû íà 120 ìèíóò çà Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!");
SCMAllf(COLOR_LIGHTRED, "Àäìèíèñòðàòîð "NAMEBOT"[777] çàãðóøèë èãðîêà %s[%i] íà 120 ìèíóò. Ïðè÷èíà: Óïîìèíàíèå/Îñêîðáëåíèå ðîäíè!", PN(playerid), playerid);
SendAdminsMessagef(COLOR_GREY, "[A] Èãðîê %s[%i] ïîïûòàëñÿ óïîìÿíóòü/îñêîðáèòü ðîäíþ, çà ÷òî áûë íàêàçàí àâòîìàòè÷åñêè!", PN(playerid), playerid);
return 0;
}
else if(GetString(text, "q"))
{
if(!PlayerLie[playerid] && !PlayerLieHeal[playerid])
{
str_1[0] = EOS;
if(PI[playerid][pAdmin] > ADM_MODER)
{
f(str_1, sizeof(str_1), " %s[%i] ïîêàçàë(à) ðàñïàëüöîâêó {33AA33}Admins Team", cPN(playerid), playerid);
ProxDetector(25, playerid, str_1, COLOR_ME);
ApplyAnimationEx(playerid, !"GHANDS", !"gsign1LH", 4.0, 0, 0, 0, 0, 0, 1);
return 0;
}
static member[30];
switch(PI[playerid][pMember])
{
case TEAM_GROOVE: member = "{009327}Grove Street";
case TEAM_VAGOS: member = "{D1DB1C}Vagos Family";
case TEAM_BALLAS: member = "{cc00cc}West Coast Ballas";
case TEAM_WOLFS: member = "{7F6464}Night Wolfs";
case TEAM_CORONOS: member = "{00FFE2}Varioz Los Aztecas";
case TEAM_RIFA: member = "{6666FF}The Rifa Gang";
case TEAM_BIKERS: member = "{BA541D}Warlock MC";
}
f(str_1, sizeof(str_1), " %s ïîêàçàë(à) ðàñïàëüöîâêó %s", cPN(playerid), member);
ProxDetector(25, playerid, str_1, COLOR_ME);
ApplyAnimationEx(playerid, !"GHANDS", !"gsign1LH", 4.0, 0, 0, 0, 0, 1, 1);
return 0;
}
}
if(LiveOffer[playerid] != INVALID_PLAYER_ID)
{
new id = LiveOffer[playerid];
if(IsPlayerConnected(id))
{
if(LiveOfferID[id] == playerid || LiveOfferID[playerid] == id)
{
static getradio[40];
switch(PI[playerid][pMember])
{
case TEAM_RADIO: getradio = "LS";
case TEAM_RADIOSF: getradio = "SF";
case TEAM_RADIOLV: getradio = "LV";
default: getradio = "";
}
if(!IsANews(playerid)) SCMAllf(COLOR_LIGHTGREEN, "Ãîñòü %s[%i]: %s", PN(playerid), playerid, text);
else SCMAllf(COLOR_LIGHTGREEN, "Ðåïîðò¸ð [%s] %s[%i]: %s", getradio, PN(playerid), playerid, text);
}
else LiveOffer[playerid] = INVALID_PLAYER_ID;
}
else LiveOffer[playerid] = INVALID_PLAYER_ID;
return 0;
}
str_1[0] = EOS;
if(IsPlayerInRangeOfPoint(playerid, 1.0, -575.7592, 2568.7976, 1702.5029))
{
f(str_1, sizeof(str_1), "[Ìèêðîôîí] %s[%i] ãîâîðèò:{FFFFFF} %s", cPN(playerid), playerid, text);
ProxDetector(100.0, playerid, str_1, 0x90E9D6FF, 1);
return 0;
}
f(str_1, sizeof(str_1), "{FFFFFF}%s[%i] ãîâîðèò:{B7AFAF} %s", cPN(playerid), playerid, text);
ProxDetector(25.0, playerid, str_1, -1, 1);
if(!IsANotControllable(playerid) && CreteBomb[playerid] == 0 && !animan{playerid} && !selfi{playerid})
{
ApplyAnimationEx(playerid, !"PED", !"IDLE_CHAT", 4.1, 0, 1, 1, 1, 1, 1);
SetTimerEx("ClearAnim", 100 * strlen(text), false, "d", playerid);
}
SetPlayerChatBubble(playerid, text, -1, 20.0, 10000);
aml(14, playerid, "", text);
return 0;
}
Жалуется на строки:
Помогите исправить пж