Standing in Checkpoint for 7 secs
#2

to check if someone is team attacker(killer) check onplayerdeath if the killer's and the victim's teams are the same, if they are, set a variable such as teamkiller[killerid] to 1.
after that, make a checkpoint and when a player enter make an if(); that check if the player is a killer (if teamkiller[playerid] equal to 1), and if so, start a 10 seconds counter that will call a public function that set yellow[playerid] to 1.

thats pretty much the idea
Reply


Messages In This Thread
Standing in Checkpoint for 7 secs - by Tigerbeast11 - 09.11.2009, 17:20
Re: Standing in Checkpoint for 7 secs - by yoni0505 - 09.11.2009, 17:32
Re: Standing in Checkpoint for 7 secs - by Tigerbeast11 - 09.11.2009, 17:39
Re: Standing in Checkpoint for 7 secs - by yoni0505 - 09.11.2009, 17:53
Re: Standing in Checkpoint for 7 secs - by yom - 09.11.2009, 17:57
Re: Standing in Checkpoint for 7 secs - by Tigerbeast11 - 09.11.2009, 18:01
Re: Standing in Checkpoint for 7 secs - by yoni0505 - 09.11.2009, 18:03
Re: Standing in Checkpoint for 7 secs - by Tigerbeast11 - 09.11.2009, 18:06
Re: Standing in Checkpoint for 7 secs - by yoni0505 - 09.11.2009, 18:08
Re: Standing in Checkpoint for 7 secs - by yoni0505 - 09.11.2009, 18:09

Forum Jump:


Users browsing this thread: 4 Guest(s)