SA-MP Forums Archive
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.52547.5, -1626.50x00620096},
    {
"Police" 1423.5, -1726.51587.5, -1594.50x0000BBAA},
    {
"Ballas" 1857.5, -1249.52068.5, -1121.50xFF80FF00},
    {
"Vagos" 2075.5, -1312.52175.5, -1198.50xFFFF00AA},
    {
"Aztecas" 1940.5, -1747.52096.5, -1609.50x33CCFFAA}
};
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(formatstring255"%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(formatstring255"%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