SA-MP Forums Archive
How to make Turf Change hands - 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: How to make Turf Change hands (/showthread.php?tid=259789)



How to make Turf Change hands - SpankMe2 - 05.06.2011

Its all in the title i need to make say Balla's Turf it it gets attacked and the ballas lose i need to make the attacking team take over that turf


Re: How to make Turf Change hands - linuxthefish - 05.06.2011

So the attacking team automatically takes over the defenders "turf" if the attacking team win?


Re: How to make Turf Change hands - bartje01 - 05.06.2011

Well. A huge script will come with this. You need a faction system first.
Do you have one?

Do you also have a working gangwar script already?


Re: How to make Turf Change hands - SpankMe2 - 05.06.2011

I have my gangs all done as ive scrpted before a long time ago but i dont have a clue how i can make the turf change and can i put it under a command /challenge

and yes if the attacking team win i want them to automaticly take the turf


Re: How to make Turf Change hands - 0_o - 05.06.2011

Try this
pawn Код:
if (GetPlayerPos(playerid) == /*XYZ POS*/) {
if (!strcmp("/Challenge", cmdtext, true)) {
SendClientMessageToAll(YOURCOLOR, "**Team 1 Has Challenged Team 2");
You Can also use the string,


Re: How to make Turf Change hands - SpankMe2 - 05.06.2011

ok ill try tommorow om going to bed now


Re: How to make Turf Change hands - bartje01 - 05.06.2011

Well, I might want to help you tommorow. It's late here already. You should post a start of the code.
We can't give you the whole script in here you know. This is section is for help with your scripts only.
If you really want to have the whole script you should visit the Script Request thread.

I'm working on a faction system now. I might want to release it once I'm done. I'm not sure about that.
A gangwar will be included


Re: How to make Turf Change hands - 0_o - 06.06.2011

Quote:
Originally Posted by bartje01
Посмотреть сообщение
Well, I might want to help you tommorow. It's late here already. You should post a start of the code.
We can't give you the whole script in here you know. This is section is for help with your scripts only.
If you really want to have the whole script you should visit the Script Request thread.

I'm working on a faction system now. I might want to release it once I'm done. I'm not sure about that.
A gangwar will be included
You Work ain't done or its cutting work part? talking about your signature


Re: How to make Turf Change hands - bartje01 - 06.06.2011

Quote:
Originally Posted by 0_o
Посмотреть сообщение
You Work ain't done or its cutting work part? talking about your signature
Yea, I made some fs earlier but I failed to make my signature. I didn‘t mention to remove it xD


Re: How to make Turf Change hands - 0_o - 11.06.2011

Quote:
Originally Posted by bartje01
Посмотреть сообщение
Yea, I made some fs earlier but I failed to make my signature. I didn‘t mention to remove it xD
Okay