SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 18/03/2009, 01:52 PM   #1
StrickenKid
Gangsta
 
Join Date: Feb 2009
Posts: 762
Reputation: 44
Default Counting Team Members On Turf

Hey,
i cant seem to figure out how to make it so when one team kills everyone on the turf owning team, but only the team members who are on the turf so the team that killed the team is now new turf owner.

Any Help is greatly appreciated!

Thanks.
StrickenKid is offline  
Old 18/03/2009, 09:31 PM   #2
StrickenKid
Gangsta
 
Join Date: Feb 2009
Posts: 762
Reputation: 44
Default Re: Counting Team Members On Turf

**BUMP**
anyone?? please.
StrickenKid is offline  
Old 18/03/2009, 11:34 PM   #3
LarzI
High-roller
 
LarzI's Avatar
 
Join Date: Apr 2007
Location: Norway
Posts: 2,628
Reputation: 136
Default Re: Counting Team Members On Turf

Set the turf owners with variables.
Check if any players of the turn owner team is inside the turf.
If not, check which player killed the last turf owner team member, and make his team turf owner

Hard to explain, and hard to understand
__________________


NEW: [FS] Simple Cellphones

if( strfind( title, "REP", true ) != -1 )
{________________________________________
Sigh();__________________________
}________________________________________


LarzI is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deaths aren't counting help! kujox32 Help Archive 4 06/05/2010 05:40 PM
Counting gun amo? SMCentral Help Archive 4 28/01/2010 06:42 PM
Scripting Team Members Needed Adamrcook Help Archive 3 22/10/2009 10:50 PM
counting Sal_Kings Help Archive 2 12/05/2009 02:57 PM


All times are GMT. The time now is 10:22 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.