Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock Speech(playerid, text[])
- {
- if(!PlayerInfo[playerid][pLogin]) return 1;
- if(PlayerInfo[playerid][pMuteTime]) return SendClientMessage(playerid,CGRAY,"Ó Âàñ áàí ÷àòà");
- if(Getstringa(text,"xD")) return MeAction(playerid,"ñìå¸òñÿ") & 0;
- if((Getstringa(text,"çäðàâèÿ") || Getstringa(text,"q")) && (PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pMember] == 19 || PlayerInfo[playerid][pMember] == 27)) return MeAction(playerid,"îòäàë(-à) âîèíñêîå ïðèâåòñòâèå") & 0;
- if(Getstringa(text,":D")) return MeAction(playerid,"õîõî÷åò âî âåñü ãîëîñ") & 0;
- if(Getstringa(text,")")) return MeAction(playerid,"óëûáàåòñÿ") & 0;
- if(Getstringa(text,"))")) return MeAction(playerid,"ñìå¸òñÿ") & 0;
- if(Getstringa(text,"(")) return MeAction(playerid,"ðàññòðîèëñÿ(-àñü)") & 0;
- if(Getstringa(text,"((")) return MeAction(playerid, "ñèëüíî ðàññòðîèëñÿ(-àñü)") & 0;
- if((Getstringa(text,"qq") || Getstringa(text,"êó")) && PlayerInfo[playerid][pMember] == 12) return MeAction(playerid, "ïîêàçàë(à) ðàñïàëüöîâêó Ballas Gang") & 0;
- if((Getstringa(text,"qq") || Getstringa(text,"êó")) && PlayerInfo[playerid][pMember] == 13) return MeAction(playerid, "ïîêàçàë(à) ðàñïàëüöîâêó Vagos Gang") & 0;
- if((Getstringa(text,"qq") || Getstringa(text,"êó")) && PlayerInfo[playerid][pMember] == 15) return MeAction(playerid, "ïîêàçàë(à) ðàñïàëüöîâêó Grove Street Gang") & 0;
- if((Getstringa(text,"qq") || Getstringa(text,"êó")) && PlayerInfo[playerid][pMember] == 17) return MeAction(playerid, "ïîêàçàë(à) ðàñïàëüöîâêó Aztec Gang") & 0;
- if((Getstringa(text,"qq") || Getstringa(text,"êó")) && PlayerInfo[playerid][pMember] == 18) return MeAction(playerid, "ïîêàçàë(à) ðàñïàëüöîâêó The Rifa Gang") & 0;
- if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT && PlayerTied{playerid} == false && !GetPVarInt(playerid, "PlayerCuffedTime"))
- {
- ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,0,1,1,1,1,1);
- SetTimerEx("AnimClear", 3000, 0, "d", playerid);
- }
- if(GetPVarInt(playerid, "gag")) return SendClientMessage(playerid, COLOR_LIGHTRED, "Ó Âàñ êëÿï, âû íå ìîæåòå ãîâîðèòü!") & 0;
- new mes[128];
- if(GetPVarInt(playerid, "MaskPlayer")) {
- if(PlayerInfo[playerid][pSettings] & sPlayerIDChat) format(mes,sizeof(mes),"- {7a7667}%s"WHITE": %s",PlayerInfo[playerid][pNames],text);
- else format(mes,sizeof(mes),"- {7a7667}%s"WHITE"[%d]: %s",PlayerInfo[playerid][pNames],playerid,text);
- }
- else {
- if(PlayerInfo[playerid][pSettings] & sPlayerIDChat) format(mes,sizeof(mes),"- {%s}%s"WHITE": %s",GetFractionColor[PlayerInfo[playerid][pMember]],PlayerInfo[playerid][pNames],text);
- else format(mes,sizeof(mes),"- {%s}%s"WHITE"[%d]: %s",GetFractionColor[PlayerInfo[playerid][pMember]],PlayerInfo[playerid][pNames],playerid,text);
- }
- GetPlayerPos(playerid,PlayerPos[playerid][0],PlayerPos[playerid][1],PlayerPos[playerid][2]);
- if(PlayerPos[playerid][0] == 0.0 || PlayerPos[playerid][1] == 0.0 || PlayerPos[playerid][2] == 0.0) return 0;
- tforeach(i)
- {
- if (GetPlayerVirtualWorld(playerid) != GetPlayerVirtualWorld(i) || GetPlayerInterior(playerid) != GetPlayerInterior(i)) continue;
- if(!PlayerToPoint(14.0,i,PlayerPos[playerid][0],PlayerPos[playerid][1],PlayerPos[playerid][2])) continue;
- new color = PlayerToPoint(4.0,i,PlayerPos[playerid][0],PlayerPos[playerid][1],PlayerPos[playerid][2]) ? (0xFFFFFFFF) : PlayerToPoint(8.0,i,PlayerPos[playerid][0],PlayerPos[playerid][1],PlayerPos[playerid][2]) ? (0xCCCCCCFF) : (0xAAAAAAFF);
- if(IsPlayerInAnyVehicle(playerid) && (GetPVarInt(playerid, "VehicleEnters") == GetPVarInt(i, "tipster_vehicle") - 1) && GetPVarInt(i,"tipster_type") == 2)
- {
- new str[128];
- format(str,128,"[TIPSTER] %s", mes);
- SendClientMessage(i,color,str);
- }
- else SendClientMessage(i,color,mes);
- }
- SetPlayerChatBubble(playerid, text, COLOR_WHITE, 20.0, 10000);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement