Проблемы с интерьером, не знаю что делать!

Вопросы по скриптингу (Излагай ясно, проси мало, уходи быстро)

Moderator: SJplayer

Avatar
Topic author
Gemix_Filin
Рядовой
Рядовой
Posts: 8
With us: 29 days 15 hours

Post #11by Gemix_Filin » 20 Jul 2020, 14:13

Y_Less wrote:Весь мод (.pwn) скинь.
https://yadi.sk/d/vgUv70wsiOXOPg
Если что ip Сервера в моде, вк мой vk.com/gemix_filin
Если что выдам админку если она нужна в данных действиях будет

! ! !


Avatar
Y_Less M
Мл. сержант
Мл. сержант
Posts: 33
With us: 6 years 5 months

Post #12by Y_Less » 21 Jul 2020, 18:04

Вроде как тут инты домов.

Code: Select all

                    else if(listitem == 3)
                    {
                        if(
PlayerInfo[playerid][pAlcoInvenxua] < 13) return true;
                        for(new 
0sizeof(HouseInfo); h++)
                        {
                            new 
cens HouseInfo[h][hKlass];
                            if(
cens == )//Бомж стиль
                            
{
                                
HouseInfo[h][hInt] = 10;
                                
HouseInfo[h][hExitx] = 2261.3103;
                                
HouseInfo[h][hExity]= -1136.4467;
                                
HouseInfo[h][hExitz] =1050.6328;
                            }
                            if(
cens == )
                            {
                                
HouseInfo[h][hInt] = 2;
                                
HouseInfo[h][hExitx] = 225.9761;
                                
HouseInfo[h][hExity]= 1239.9126;
                                
HouseInfo[h][hExitz] =1082.1406;
                            }
                            if(
cens == )
                            {
                                
HouseInfo[h][hInt] = 10;
                                
HouseInfo[h][hExitx] = 23.8334;
                                
HouseInfo[h][hExity]= 1340.4812;
                                
HouseInfo[h][hExitz] =1084.3750;
                            }
                            if(
cens == )
                            {
                                
HouseInfo[h][hInt] = 4;
                                
HouseInfo[h][hExitx] = -261.9759;
                                
HouseInfo[h][hExity]= 1456.8844;
                                
HouseInfo[h][hExitz] = 1084.3672;
                            }
                            if(
cens == )
                            {
                                
HouseInfo[h][hInt] = 2;
                                
HouseInfo[h][hExitx] = 491.0190;
                                
HouseInfo[h][hExity]= 1399.0691;
                                
HouseInfo[h][hExitz] =1080.2578;
                            }
                            
SendClientMessage(playeridCOLOR_GRAD1"По интеръерам дома распределены");
                        }
                    } 
Spam Machine

Avatar
Topic author
Gemix_Filin
Рядовой
Рядовой
Posts: 8
With us: 29 days 15 hours

Post #13by Gemix_Filin » 21 Jul 2020, 19:16

Y_Less wrote:Вроде как тут инты домов.

Code: Select all

                    else if(listitem == 3)
                    {
                        if(
PlayerInfo[playerid][pAlcoInvenxua] < 13) return true;
                        for(new 
0sizeof(HouseInfo); h++)
                        {
                            new 
cens HouseInfo[h][hKlass];
                            if(
cens == )//Бомж стиль
                            
{
                                
HouseInfo[h][hInt] = 10;
                                
HouseInfo[h][hExitx] = 2261.3103;
                                
HouseInfo[h][hExity]= -1136.4467;
                                
HouseInfo[h][hExitz] =1050.6328;
                            }
                            if(
cens == )
                            {
                                
HouseInfo[h][hInt] = 2;
                                
HouseInfo[h][hExitx] = 225.9761;
                                
HouseInfo[h][hExity]= 1239.9126;
                                
HouseInfo[h][hExitz] =1082.1406;
                            }
                            if(
cens == )
                            {
                                
HouseInfo[h][hInt] = 10;
                                
HouseInfo[h][hExitx] = 23.8334;
                                
HouseInfo[h][hExity]= 1340.4812;
                                
HouseInfo[h][hExitz] =1084.3750;
                            }
                            if(
cens == )
                            {
                                
HouseInfo[h][hInt] = 4;
                                
HouseInfo[h][hExitx] = -261.9759;
                                
HouseInfo[h][hExity]= 1456.8844;
                                
HouseInfo[h][hExitz] = 1084.3672;
                            }
                            if(
cens == )
                            {
                                
HouseInfo[h][hInt] = 2;
                                
HouseInfo[h][hExitx] = 491.0190;
                                
HouseInfo[h][hExity]= 1399.0691;
                                
HouseInfo[h][hExitz] =1080.2578;
                            }
                            
SendClientMessage(playeridCOLOR_GRAD1"По интеръерам дома распределены");
                        }
                    }  
Щас попробую!

Avatar
Topic author
Gemix_Filin
Рядовой
Рядовой
Posts: 8
With us: 29 days 15 hours

Post #14by Gemix_Filin » 25 Jul 2020, 12:52

Y_Less wrote:Вроде как тут инты домов.

Code: Select all

                    else if(listitem == 3)
                    {
                        if(
PlayerInfo[playerid][pAlcoInvenxua] < 13) return true;
                        for(new 
0sizeof(HouseInfo); h++)
                        {
                            new 
cens HouseInfo[h][hKlass];
                            if(
cens == )//Бомж стиль
                            
{
                                
HouseInfo[h][hInt] = 10;
                                
HouseInfo[h][hExitx] = 2261.3103;
                                
HouseInfo[h][hExity]= -1136.4467;
                                
HouseInfo[h][hExitz] =1050.6328;
                            }
                            if(
cens == )
                            {
                                
HouseInfo[h][hInt] = 2;
                                
HouseInfo[h][hExitx] = 225.9761;
                                
HouseInfo[h][hExity]= 1239.9126;
                                
HouseInfo[h][hExitz] =1082.1406;
                            }
                            if(
cens == )
                            {
                                
HouseInfo[h][hInt] = 10;
                                
HouseInfo[h][hExitx] = 23.8334;
                                
HouseInfo[h][hExity]= 1340.4812;
                                
HouseInfo[h][hExitz] =1084.3750;
                            }
                            if(
cens == )
                            {
                                
HouseInfo[h][hInt] = 4;
                                
HouseInfo[h][hExitx] = -261.9759;
                                
HouseInfo[h][hExity]= 1456.8844;
                                
HouseInfo[h][hExitz] = 1084.3672;
                            }
                            if(
cens == )
                            {
                                
HouseInfo[h][hInt] = 2;
                                
HouseInfo[h][hExitx] = 491.0190;
                                
HouseInfo[h][hExity]= 1399.0691;
                                
HouseInfo[h][hExitz] =1080.2578;
                            }
                            
SendClientMessage(playeridCOLOR_GRAD1"По интеръерам дома распределены");
                        }
                    }  
Не помогло(


Return to “Вопросы”

Who is online

Users browsing this forum: 1 guest