SA-MP Forums Archive
[HELP] Saving Gang Zones - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Saving Gang Zones (/showthread.php?tid=143640)



[HELP] Saving Gang Zones - borg245 - 23.04.2010

Hey sa-mp forum, I have a gang war script that I am using: LS Turf Wars 2 from Popo (http://forum.sa-mp.com/index.php?topic=67983.0)
This is probably one of the best gang war scripts that I have seen but the only problem with it is that after closing and restarting the server, the gang zones would have been reset.

Is there any way that I can save the gangzones so that it reloads the current state of the zones just before the server restarts?

thanks in advance,
borg245


Re: [HELP] Saving Gang Zones - RyDeR` - 23.04.2010

Yes it's possible. Just give the positions (minx, miny, maxx, maxy) a variable and save these..


Re: [HELP] Saving Gang Zones - borg245 - 23.04.2010

Quote:
Originally Posted by » RyDeR «
Yes it's possible. Just give the positions (minx, miny, maxx, maxy) a variable and save these..
All of this is very new to me...and thus, I'm not really sure how to do it...
Can you maybe provide me with a little more information please?

thanks,
borg245