[Help] with "fightserver" - 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] with "fightserver" (
/showthread.php?tid=97017)
[Help] with "fightserver" -
BMGP - 12.09.2009
First im Austrian -> i cant speak english very well^^
i've build 2 airports in the water^^ in the middle of the airports there is a ship.
There are 2 Teams. They must control the ship ->They have to stay 10 Minutes on the ship.
-> Team A is on ship. at 5 minutes TEAM b comes and kills TEAM A. when there are 2 Teams on the ship it stops to count.
when TEAM A comes back it counts from 5 minutes. When a team have 10 minutes they won the round and it start again.
Please help me^^
Re: [Help] with "fightserver" -
CJ101 - 12.09.2009
first you should keep track of team members... here's how i would do it:
Код:
new Team1Members;
new Team2Members;
everytime someone goes to there, increase the number of team members
If someone dies in there, you need to decrease team members.
You will need a timer set for 10 minutes.. that will end the game, best way to make winners is to just check what team has more alive members.
Re: [Help] with "fightserver" -
BMGP - 12.09.2009
Sorry, im a noob and i try to understand you but i cant do that in my script^^