SA-MP Forums Archive
Taking turfs over - 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: Taking turfs over (/showthread.php?tid=85671)



Taking turfs over - Frankox - 08.07.2009

GangZoneShowForPlayer(playerid, TEAM_GROVE_GANGZONE, 0x00FF0096); // Grove defined as TEAM_GROVE
GangZoneShowForPlayer(playerid, TEAM_BALLAS_GANGZONE, 0xFF00FF96); // Ballas defined as TEAM_BALLAS
GangZoneShowForPlayer(playerid, TEAM_VAGOS_GANGZONE, 0xFFFF0096); // Vagos defined as TEAM_VAGOS
GangZoneShowForPlayer(playerid, TEAM_ARMY_GANGZONE, 0xFF000096); // Army defined as TEAM_ARMY
TEAM_GROVE_GANGZONE = GangZoneCreate(2113.53, -1764.764, 2512.828, -1504.214); // Grove gang zone
TEAM_BALLAS_GANGZONE = GangZoneCreate(1706.627, -1946.361, 1999.445, -1468.684); // Ballas gang zone
TEAM_VAGOS_GANGZONE = GangZoneCreate(2246.63, -1508.161, 2607.899, -1239.715); // Vagos gang zone
TEAM_ARMY_GANGZONE = GangZoneCreate(2425.363, -2601.686, 2828.463, -2329.292); // Army gang zone

The things what i want to make is, that if i kill more then 3 players on turf of other team, that i get their place( that there is the color of my team ).


Re: Taking turfs over - *ToM* - 08.07.2009

Search ! There's a lot of topics like this one...

and oh btw this belongs to script request thread.


Re: Taking turfs over - Chaprnks - 08.07.2009

OnPlayerDeath

have a global variable plus one, when it hits three do what you intend to do.


Re: Taking turfs over - Frankox - 09.07.2009

Quote:
Originally Posted by ǝɹoɯ‾ʎ
OnPlayerDeath

have a global variable plus one, when it hits three do what you intend to do.
Huh...I dont understend this....