Jump to content

RespecT

Membru
  • Posts

    34
  • Joined

  • Last visited

Posts posted by RespecT

  1. Problema intalnita (descriere):Am un sistem safe-zone si nu stiu cum sa pun coordonatele, sa fie pe o raza de nu stiu cati metrii etc.. 
    Ero(area / rile) / warning-(ul / urile):N-am erori/warning
    Liniile de cod / sursa / script-ul(obligatoriu):

    foreach(Player, i)
        {
            if(IsPlayerInArea(i, 1440.428, -1741.078, 1622.964, -1595.012)) // lspd
             {
                 TextDrawShowForPlayer(i, SafeZone[i]);
            }
            else if(IsPlayerInArea(i, 371.8314, -2104.27, 455.4938, -1910.831)) // Fish
             {
                 TextDrawShowForPlayer(i, SafeZone[i]);
            }
             else if(IsPlayerInArea(i, -280.269, -420.4035, 81.74512, -163.4902)) // trucker
             {
                 TextDrawShowForPlayer(i, SafeZone[i]);
            }
            else if(IsPlayerInArea(i, 622.8186, -1405.52, 828.1717, -1330.513)) // cnn
             {
                 TextDrawShowForPlayer(i, SafeZone[i]);
            }
            else if(IsPlayerInArea(i, 1622.0375, -2317.7219, 1824.515, -2313.4534)) // spawn & DMV
             {
                 TextDrawShowForPlayer(i, SafeZone[i]);
            }
            else if(IsPlayerInArea(i, 1706.627, -1227.872, 1854.937, -1133.126)) // gsls
             {
                 TextDrawShowForPlayer(i, SafeZone[i]);
            }
            else if(IsPlayerInArea(i, 1390.991, -1058.119, 1569.725, -951.5297)) // banca
             {
                 TextDrawShowForPlayer(i, SafeZone[i]);
             }
             else
             {
                 TextDrawHideForPlayer(i, SafeZone[i]);
             }
        }

    Imagini / Video (optional):-
    Ati incercat sa rezolvati singur?:Da normal
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.