Zone Problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Zone Problem (
/showthread.php?tid=425468)
Zone Problem -
ZizPower7610 - 25.03.2013
The Code`s are working perfectly. But the only problem is that the mini map is getting white/black/green/blue..
Here is a Screenshot.
Код:
new ITALIAN_MAFIA_ZONE;
new RUSSIAN_MAFIA_ZONE;
new HITMANS_ZONE;
new BIKERS_ZONE;
new ELITE_ZONE;
new GANGSTERS_ZONE;
new MEXICANS_ZONE;
Код:
ITALIAN_MAFIA_ZONE = GangZoneCreate(1818.4222,853.1700,2036.1279,1111.7983);
RUSSIAN_MAFIA_ZONE = GangZoneCreate(2179.2893,1427.3593,2077.9106,1524.4683);
GANGSTERS_ZONE = GangZoneCreate(2200.3364,1357.8352,2410.6145,1205.8696);
BIKERS_ZONE = GangZoneCreate(2238.3345,1378.1256,2157.3420,1434.3763);
ELITE_ZONE = GangZoneCreate(1840.3481,1467.8419,2030.6140,1705.9485);
HITMANS_ZONE = GangZoneCreate(2298.8689,1550.6530,2086.2410,1754.5289);
MEXICANS_ZONE = GangZoneCreate(2594.2935,1484.1781,2439.8184,1601.8032);
Код:
GangZoneShowForAll(ITALIAN_MAFIA_ZONE,0xFF2222AA);
GangZoneShowForAll(RUSSIAN_MAFIA_ZONE,0x33AA33AA);
GangZoneShowForAll(HITMANS_ZONE,0xFFFF00AA);
GangZoneShowForAll(BIKERS_ZONE,0x0000BBAA);
GangZoneShowForAll(ELITE_ZONE,0x8A4ED4AA);
GangZoneShowForAll(GANGSTERS_ZONE,0xFFFFFFAA);
GangZoneShowForAll(MEXICANS_ZONE,0x000000AA);
Re: Zone Problem -
Dubya - 25.03.2013
instead of using:
Код:
GangZoneShowForAll(ITALIAN_MAFIA_ZONE,0xFF2222AA);
GangZoneShowForAll(RUSSIAN_MAFIA_ZONE,0x33AA33AA);
GangZoneShowForAll(HITMANS_ZONE,0xFFFF00AA);
GangZoneShowForAll(BIKERS_ZONE,0x0000BBAA);
GangZoneShowForAll(ELITE_ZONE,0x8A4ED4AA);
GangZoneShowForAll(GANGSTERS_ZONE,0xFFFFFFAA);
GangZoneShowForAll(MEXICANS_ZONE,0x000000AA);
Adjust it to GangZoneShowForPlayer, in OnPlayerConnect, and GangZoneHideForPlayer, in OnPlayerDisconnect,
Re: Zone Problem -
ZizPower7610 - 25.03.2013
Any Solutions or advise please?
Re: Zone Problem -
ZizPower7610 - 25.03.2013
Код:
C:\Users\ZIZPOWER\Desktop\Gangwarz\Gangwarz\gamemodes\EGW.pwn(1123) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
When Set to "FORPLAYER"
Re: Zone Problem -
ZizPower7610 - 25.03.2013
FIXED THANK`S!