Capture a gang zone. - 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: Capture a gang zone. (
/showthread.php?tid=165416)
Capture a gang zone. -
oded050 - 04.08.2010
Hello, i am working on Gang wars mod... and i need you to tell me how to do that gang can captrue another gang zone...
I need your help ... please !
Re: Capture a gang zone. -
oded050 - 05.08.2010
Page 3...
Re: Capture a gang zone. -
me-borno - 05.08.2010
You should read wiki samp,
But ill give you a starting point :P
1
2
3
use the first link at the "OnGameModeInit" or "OnFilterScriptInit".
you can just copy and past every thing there, onley replace the cords...
and put GangeZoneShowForPlayer/All with the right syntaxes..
now for when you captured it, you will use the second or third link. and you should use the third...
maybe you could make a checkpoint, or a command for capturing it. and you just put the GangZoneShowForAll and change the color.
Good Luck
Re: Capture a gang zone. -
oded050 - 07.08.2010
look at that:
GangZoneShowForAll(gangzone,COLOR_RED);
this code change my gang color to red..
but its not saved..
how i can to do that auto save?
edit: and how i can to do capture with my spray (spray weapon)?