Probleme with the Team Kill
#1

Hi guys, First of all , i hope the Website is Open ...
i madded whene someone kill an other Player in his Team (he Dead+ get -2000$ and -10Score)
But my Problem is The Killer +the Killed Player Get Dead+ get -2000$ and -10Score
i want Only punish the Killer only not the killed Person :

this is my code:
pawn Code:
if(gTeam[killerid] == gTeam[playerid]) {
////This is the Team Kill ////////
SendDeathMessage(killerid,playerid,reason);
 SetPlayerHealth(killerid, 0);
SetPlayerScore(killerid,GetPlayerScore(killerid)-10);
GivePlayerMoney(playerid, -2000);
 GameTextForPlayer(playerid,"-2000$ and -10Score for Team Kill !",1,1);
Reply


Messages In This Thread
Probleme with the Team Kill - by ServerScripter - 27.08.2011, 21:57
Re: Probleme with the Team Kill - by [MG]Dimi - 27.08.2011, 21:59
Re: Probleme with the Team Kill - by ServerScripter - 27.08.2011, 22:01
Re: Probleme with the Team Kill - by Amel_PAtomAXx - 27.08.2011, 22:02
Re: Probleme with the Team Kill - by [MG]Dimi - 27.08.2011, 22:04

Forum Jump:


Users browsing this thread: 2 Guest(s)