new CordGZs[GZS_CRIADAS][8] =
{
{-1486.952,1501.404,-1347.895,1548.743}, // BarcoN
{-2545.777,1506.446,-2253.83,1588.191}, // BarcoP
{-2811.853,-407.9592,-2618.718,-183.0962}, // Golfers
{-2556.915,-695.9416,-2483.524,-569.7027}, // Hunter
{-1158.624,-774.8409,-950.0385,-565.7578}, // Industria
{-2195.441,-1051.009,-1845.104,-688.9946}, // PertoDoAero
{-2738.462,1319.935,-2553.053,1548.743}, // Puteiro
{-2151.333,112.7761,-1989.101,361.3089} // Wokers
};
1° Impressгo minha ou vocк ta usando alйm das X, Y, Z?
2° GangZoneShowForPlayer |
Ele quer fazer gangzones (X1, Y1, X2 e Y2), nгo X, Y e Z.
Tуpico: Poste o link do tutorial e seu cуdigo... |
stock IsPlayerInPlace(playerid,Float:XMin,Float:YMin,Float:XMax,Float:YMax)
{
new RetValue = 0;
GetPlayerPos(playerid,X,Y,Z);
if( X >= XMin && Y >= YMin && X < XMax && Y < YMax )
{
RetValue = 1;
}
return RetValue;
}