• Страница 1 из 1
  • 1
Модератор форума: AlexPPPP  
Форум | www.SAMP-TEAM.com » Wiki SA-MP » Команды » [C.M.D] /puk
[C.M.D] /puk
Команда вырезана из мода.

Code
   if(strcmp("/puk", cmd, true) == 0)  
         {  
             if (PlayerInfo[playerid][pAdmin] >= 1)  
     {  
         new Float:PX,Float:PY,Float:PZ;  
         GetPlayerPos(playerid,PX,PY,PZ);  
         if(GetPVarInt(playerid,"Pu") == 0)  
         {  
             for(new i = 0; i < GetMaxPlayers(); i++)  
             {  
                 if(IsPlayerConnected(i)&& IsPlayerInRangeOfPoint(i, 3.0, PX,PY,PZ))  
                 {  
                     if(playerid != i)  
                     {  
                         ApplyAnimation(i,"PED","GAS_CWR", 4.1, 0, 0, 0, 0, 0 ,1);  
                         PlayAudioStreamForPlayer(i,"http://zvuki-mp3.com/download/26216_48671-lq.mp3");  
                     }  
                 }  
             }  
             SetPlayerAttachedObject( playerid, 0, 18694, 1, -0.344386, 0.290451, 1.574107, 177.343902, 359.412261, 0.000000, 1.000000, 1.000000, 1.000000 );  
             PlayAudioStreamForPlayer(playerid,"http://zvuki-mp3.com/download/26216_48671-lq.mp3");  
             format(string, sizeof(string), " %s перданул(а)", sendername);  
             ProxDetector(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);  
             SetPVarInt(playerid,"Pu", 1);  
             SetTimerEx("Perdeg",3000,false,"i",playerid);  
         }  
         }  
         else if(GetPVarInt(playerid,"Pu") == 1)  
         {  
             RemovePlayerAttachedObject(playerid, 0);  
             format(string, sizeof(string), "У %s закончились газы ", sendername);  
             ProxDetector(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);  
             SetPVarInt(playerid,"Pu", 0);  
         }  
         return 1;  
     }
02.10.2012 в 16:37
ахахах крутая команада

Добавлено (26.06.2013, 14:46)
---------------------------------------------
=))))

26.06.2013 в 14:46
Нооорм biggrin
16.02.2014 в 12:26
Да, класная команда)
04.05.2014 в 12:45
Форум | www.SAMP-TEAM.com » Wiki SA-MP » Команды » [C.M.D] /puk
  • Страница 1 из 1
  • 1
Поиск: