14.12.2013, 16:29
Hey Members.
Code:
Sorry for bad english. and bad explanation
Code:
pawn Код:
new Float:CenterX,
Float:CenterY;
CenterX = (zMinX+zMaxX) / 2;
CenterY = (zMinY+zMaxY) / 2;
///Exemple:
GangZoneCreate(1248.011, 2072.804, 1439.348, 2204.319);
zMinX: 1248.011
zMinY: 2072.804
zMaxX: 1439.348
zMaxY: 2204.319
CenterX = (1248.011+1439.348) / 2;
CenterY = (2072.804+2204.319) / 2;
//Create a MapIcon in Gangzone Center
CreateDynamicMapIcon(CenterX, CenterY,0.0, 19, -1, -1, -1,-1,100.0);// Cord. Z Value = 0.0