SA-MP Forums

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

Thread Tools Display Modes
Old 12/02/2014, 10:44 PM   #1
Huge Clucker
UserName31's Avatar
Join Date: Jul 2011
Posts: 323
Reputation: 4
Default how make anti team killing?

hellow how i make when same team try to kill each other they cant? like when team grove shoot at team grove they will not loose health?
UserName31 is offline   Reply With Quote
Old 12/02/2014, 11:06 PM   #2
[KHK]Khalid's Avatar
Join Date: Jan 2012
Location: Alexandria, Egypt
Posts: 854
Reputation: 136
Default Re: how make anti team killing?

You could of searched and found what you wanted instead of waiting minutes for an answer.
[KHK]Khalid is offline   Reply With Quote
Old 13/02/2014, 04:19 AM   #3
Big Clucker
GGW's Avatar
Join Date: Apr 2013
Location: UAE
Posts: 160
Reputation: 13
Default Re: how make anti team killing?

you have to set the player team

like this ^^

if (gTeam[playerid] == TEAM_GROVE)
else if (gTeam[playerid] == TEAM_BALLA)
thats a example by using gteam

i hope it helped ^^
GGW is offline   Reply With Quote

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
How to make enable/disable Anti Team Kill Broker Scripting Help 2 08/03/2013 04:06 AM
Need Anti Team Killing korzk7 Scripting Help 4 11/07/2012 06:00 AM
needing Anti-Team Killing Maftaca Scripting Help 8 04/02/2012 12:22 AM
No team killing cruising Help Archive 5 26/08/2010 09:08 PM

All times are GMT. The time now is 07:49 AM.

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