SA-MP Forums Archive
teamkill - 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: teamkill (/showthread.php?tid=66907)



teamkill - GregJ - 25.02.2009

i search but no find plz help

is der any gd teamkill public? tanks


Re: teamkill - [RP]Rav - 25.02.2009

before I would even consider helping you you might want to learn some english


Re: teamkill - robanswe - 25.02.2009

Put this under public OnPlayerDeath(playerid, killerid, reason)

Code:
  
  if(gTeam[killerid] != gTeam[playerid]) 
  {
   //not teamkill
  }
  else 
  {
   //teamkill
  }
and learn some English or use http://www.translate.******.com/


Re: teamkill - GregJ - 25.02.2009

ok ty

i av been tld that there is way u no damage teamplayer?


Re: teamkill - robanswe - 25.02.2009

Learn English!!!!!!!! or use my link http://www.translate.******.com/!!! I cant understand you but i tink you mean thate. If there is any why to prevent teamplayers to damage there own them.. My answer is no...


Re: teamkill - Destrojer - 25.02.2009

Use SetPlayerTeam in OnPlayerSpawn


Re: teamkill - GregJ - 25.02.2009

Quote:
Originally Posted by Destrojer
Use SetPlayerTeam in OnPlayerSpawn
ty i try dat now