Capture zones
#1

hi guys
i want to make capture zone's for my server with no bugs. Can anyone help me??
Reply
#2

Provide more information about what you want and it's better to post in this section https://sampforum.blast.hk/showthread.php?tid=413556&page=25
Reply
#3

i want a capture zone with a timer of 30 seconds
and after capturing, the player get's 5 score, 10 hp and 10 armour and his teammates get 1 score on capturing.
Make 3 capture zone's for me and rest i will make by myself..
Can you make it??
Reply
#4

pls help me
Reply
#5

Quote:

Make 3 capture zone's for me and rest i will make by myself..
Can you make it??

Код:
enum MainZone{
Zone_Name[28], Float:Zone_Area[6] };
static const SA_ZONE_NAMES[][MainZone] = {

	{"The Big Ear",	                {-410.00,1403.30,-3.00,-137.90,1681.20,200.00}},
	{"Aldea Malvada",               {-1372.10,2498.50,0.00,-1277.50,2615.30,200.00}},
	{"Angel Pine",                  {-2324.90,-2584.20,-6.10,-1964.20,-2212.10,200.00}}
};
Here you are,
Reply
#6

i have not said that i need gangzone. I said that i need 3 capture zones. And when these capture zone's capture by player then he get 5 score, 10hp, 10 armour and his team get 1 score
can you make it?
Reply
#7

It's not hard
> get the coords of the capture point
> place a checkpoint there(Use a streamer if you need more than one checkpoint at a time)
> OnPlayerEnterCheckpoint set a timer of 30 seconds
Код:
captimer = SetTimer("capturetimer",30000,false);
> OnPlayerLeaveCheckpoint kill the timer
Код:
KillTimer(captimer);
> If the timer is over, use
Код:
forward capturetimer(playerid);
public capturetimer(playerid)
{ 
 // set armor, score and health here
}
Reply
#8

Learn it. Its not that hard buddy. Same like I did. I also asked questions about this same topic but then a friend who before he left SA-MP helped me with it.
Reply
#9

If i use this there is a bug that a player can capture the same zone thousand times
You have not give a "gangzoneflassforall"
Can you please give full code of three capture zone?
And one more thing when i include Streamer an error has occurred saying "File or Function not found"
Reply
#10

help me pls
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)