GetPlayerTeam Help
#1

I need something that gets the player team if its team 1 comes up with : This is where terrorists try to break in to the player
And if team 2 it comes up with Terrorist have broken in! to all the players.

I just need to know an example of this

Reply
#2

Quote:
Originally Posted by ruarai
I need something that gets the player team if its team 1 comes up with : This is where terrorists try to break in to the player
And if team 2 it comes up with Terrorist have broken in! to all the players.

I just need to know an example of this

D:
Reply
#3

I don't understand correctly, can you explain a little more?
Reply
#4

ok well i have 1 checkpoint only
it is in Area 69
it is breakin
the 3rd skin has got SetPlayerTeam(2) on it [Terrorists]
this is my attempt to get it to work but it wont D:
Click Here

Reply
#5

Try this:

http://pastebin.com/m35873486

When a player (Team 2) enters the checkpoint, all Team 1's will get a message saying that Terrorist have invaded the checkpoint. Wehn the terrosist leave the checkpoint all Team 1's will get a message that the terrorist have left the checkpiont.

I don't recommend that you GMX the server as soon as a terrorist enters the checkpoint though.
Reply
#6

thanks im testing it but the KillTimer(AlertPlayers); doesnt work?
Reply
#7

yer, kill timer is a bit of an annoying function, this page should help.
Reply
#8

Or you can set a timer sending a message to team 2 saying "Terrisiots are invading area 69.." or whatever, depending on when the round started.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)