If you kill someone killerid turns into other team?
#10

Quote:
Originally Posted by Dubya
View Post
Change this:
pawn Code:
if(gTeam[killerid] == TEAM_ZOMBIE) return gTeam[killerid] = TEAM_HUMAN, GameTextForPlayer(killerid,"~r~Cured",3000,4);
To this:
pawn Code:
if(gTeam[killerid] == TEAM_ZOMBIE) return gTeam[playerid] = TEAM_HUMAN, GameTextForPlayer(killerid,"~r~Cured",3000,4);
On this"
pawn Code:
if(gTeam[killerid] == TEAM_ZOMBIE) return gTeam[killerid] = TEAM_HUMAN, GameTextForPlayer(killerid,"~r~Cured",3000,4);
You for got to change gTeam[killerid] = TEAMHUMAN to gTeam[playerid] = TEAM_HUMAN.
Not really. Your code will make the KILLED person turn into human, he wants the KILLER to turn human.. So he has to set the KILLER id to human team, and not PLAYERID, as PLAYERID, is the killed one..
Reply


Messages In This Thread
If you kill someone killerid turns into other team? - by sanrock - 09.06.2012, 19:33
Re: If you kill someone killerid turns into other team? - by ricardo178 - 09.06.2012, 19:38
Re: If you kill someone killerid turns into other team? - by sanrock - 09.06.2012, 19:40
Re: If you kill someone killerid turns into other team? - by ricardo178 - 09.06.2012, 19:48
Re: If you kill someone killerid turns into other team? - by [ABK]Antonio - 09.06.2012, 19:49
Re: If you kill someone killerid turns into other team? - by sanrock - 09.06.2012, 19:50
Re : Re: If you kill someone killerid turns into other team? - by ricardo178 - 09.06.2012, 19:56
Re: If you kill someone killerid turns into other team? - by Dubya - 09.06.2012, 19:59
Re: If you kill someone killerid turns into other team? - by sanrock - 09.06.2012, 20:00
Re : Re: If you kill someone killerid turns into other team? - by ricardo178 - 09.06.2012, 20:01
Re: If you kill someone killerid turns into other team? - by sanrock - 09.06.2012, 20:08
Re: If you kill someone killerid turns into other team? - by [ABK]Antonio - 09.06.2012, 20:15
Re: If you kill someone killerid turns into other team? - by sanrock - 09.06.2012, 20:22
Re : If you kill someone killerid turns into other team? - by ricardo178 - 09.06.2012, 20:23
Re: If you kill someone killerid turns into other team? - by milanosie - 09.06.2012, 20:26
Re: Re : If you kill someone killerid turns into other team? - by sanrock - 09.06.2012, 20:28
Re: If you kill someone killerid turns into other team? - by kikito - 09.06.2012, 20:33
Re : If you kill someone killerid turns into other team? - by ricardo178 - 09.06.2012, 20:36
Re: If you kill someone killerid turns into other team? - by sanrock - 09.06.2012, 20:41
Re : If you kill someone killerid turns into other team? - by ricardo178 - 09.06.2012, 20:45

Forum Jump:


Users browsing this thread: 3 Guest(s)