24.07.2015, 15:24
pawn Код:
enum coords
{
Float:minXx,
Float:minYy,
Float:maxXx,
Float:maxYy
};
new Float:hq_cds[][coords] =
{
{-548.8602, -58.38938, -467.115, 0.0},
{-81.74512, -23.35575, -11.67788, 23.35575},
{-11.67788, 46.7115, 58.38938, 93.423}
};
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
for(new xz = 0; xz < sizeof(hq_cds); xz ++)
{
printf("%d: %.4f, %.4f, %.4f, %.4f", hq[xz][zone], hq_cds[xz][minXx], hq_cds[xz][minYy], hq_cds[xz][maxXx], hq_cds[xz][maxYy]);
}
}

