28.05.2015, 10:43
Hello, I'm trying to add gangzones to my gamemode but they aren't showing properly, everytime I change the direction of my screen the gangzone changes/duplicates too;
I have two gangzones and this happens to both of them.
Could someone help me out here?
I have two gangzones and this happens to both of them.
PHP Code:
enum zones_info
{
Float:gXmin, Float:gXmax, Float:gYmin, Float:gYmax
}
new Gangzones[][zones_info] = {
{152.3455,3279.5640, 373.5171,2847.1582},
{855.9115,2442.8977, 1025.7600,2011.4828}
};
for(new i = 0; i < sizeof(Gangzones); i ++)
{
Gangzone[i][zone_id] = GangZoneCreate(Gangzones[i][gXmin], Gangzones[i][gXmax], Gangzones[i][gYmin], Gangzones[i][gYmax]);
}