Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(strcmp(cmd, "/blowing", true) == 0)
- {
- if(PlayerInfo[playerid][pMember] == 0 && PlayerInfo[playerid][pLeader] == 0)return SendClientMessage(playerid, COLOR_GREY, "Ты лошара.");
- if(JustReported[playerid] == 1)return SendClientMessage(playerid, COLOR_GREY, "Хрен знает что тут написано.");
- new Float:Pos[3],strings[255],stringblow[255],i;
- tmp = strtok(cmdtext, idx);
- if(!strlen(tmp))return SendClientMessage(playerid, COLOR_PURPLE, " Èñïîëüçóéòå: /blowing [playerid/PartOfName]");
- new playa = ReturnUser(tmp);
- if(!IsPlayerConnected(playa))return SendClientMessage(playerid, COLOR_GREY, "Вот же хуйня, этот мудак не в сети.");
- GetPlayerPos(playa,Pos[0],Pos[1],Pos[2]);
- if(!IsPlayerInRangeOfPoint(playerid,10,Pos[0],Pos[1],Pos[2]))return SendClientMessage(playerid, COLOR_PURPLE, "Этот распиздяй далековат.");
- SetPlayerHealth(playa,14);
- ApplyAnimation(playerid,"CRACK", "crckdeth2", 1.800001, 1, 0, 0, 1, 600);
- new Name[MAX_PLAYER_NAME],Name1[MAX_PLAYER_NAME];
- GetPlayerName(playerid,Name,sizeof(Name));
- GetPlayerName(playa,Name1,sizeof(Name1));
- format(stringblow,sizeof(stringblow),"%s что то сделал с %s",Name,Name1);
- SendClientMessage(i,COLOR_PURPLE,stringblow);
- ApplyAnimation(playerid,"GANGS","shake_carK",4.1,0,1,1,1,1);
- format(string, sizeof(string), "* %s Что то тут написано!", Name);
- for(new j=0;j<MAX_PLAYERS;j++)
- {
- if(IsPlayerInRangeOfPoint(j,20,Pos[0],Pos[1],Pos[2]))
- {
- SendClientMessage(playerid,COLOR_PURPLE,strings);
- JustReported[playerid] = 1;
- SetTimerEx("ReportReset", 120000, false, "i", playerid);// 2ìèí
- }
- else
- {
- SendClientMessage(playerid, COLOR_GREY, " Âû íå ñîñòîèòå âî ôðàêöèè !");
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement