Sorry For many Threah But cant fix it !! - 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: Sorry For many Threah But cant fix it !! (
/showthread.php?tid=607374)
Sorry For many Threah But cant fix it !! -
RedRex - 18.05.2016
Guys plesae help me There are no errors - warrings but i didn't saw the Zones Why
PHP код:
enum Zone_Enum
{
Zone_Name[30],
Float:PosMinX,
Float:PosMinY,
Float:PosMaxX,
Float:PosMaxY,
Color
}
new Zones[][Zone_Enum] =
{
{"Grove Street Family" , 2334.5, -1725.5, 2547.5, -1626.5, 0x00620096},
{"Police" , 1423.5, -1726.5, 1587.5, -1594.5, 0x0000BBAA},
{"Ballas" , 1857.5, -1249.5, 2068.5, -1121.5, 0xFF80FF00},
{"Vagos" , 2075.5, -1312.5, 2175.5, -1198.5, 0xFFFF00AA},
{"Aztecas" , 1940.5, -1747.5, 2096.5, -1609.5, 0x33CCFFAA}
};
and i put in OnGameModeInit this
Код:
printf("%s", Zones[0][Zone_Name]);
did u saw any bug? No and they didn't given me a errors - warrings
Re: Sorry For many Threah But cant fix it !! -
Luicy. - 18.05.2016
PHP код:
new formatstring[255];
format(formatstring, 255, "%s", Zones[0][Zone_Name]);
printf(formatstring);
Re: Sorry For many Threah But cant fix it !! -
Stuntff - 18.05.2016
Quote:
Originally Posted by Meller
PHP код:
new formatstring[255];
format(formatstring, 255, "%s", Zones[0][Zone_Name]);
printf(formatstring);
|
Are you retarted?
Use GangZoneCreate&GangZoneShowForPlayer to show your zones to players.
Re: Sorry For many Threah But cant fix it !! -
RedRex - 18.05.2016
WOWOWOWOOWOWOW!! Its WORKED Thanks u so much +rep both