GetPlayerTeam Help - 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: GetPlayerTeam Help (
/showthread.php?tid=78532)
GetPlayerTeam Help -
ruarai - 20.05.2009
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
Re: GetPlayerTeam Help -
ruarai - 21.05.2009
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:
Re: GetPlayerTeam Help -
Grim_ - 21.05.2009
I don't understand correctly, can you explain a little more?
Re: GetPlayerTeam Help -
ruarai - 21.05.2009
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
Re: GetPlayerTeam Help -
member - 21.05.2009
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.
Re: GetPlayerTeam Help -
ruarai - 21.05.2009
thanks im testing it but the KillTimer(AlertPlayers); doesnt work?
Re: GetPlayerTeam Help -
Badger(new) - 21.05.2009
yer, kill timer is a bit of an annoying function,
this page should help.
Re: GetPlayerTeam Help -
v0nz - 22.05.2009
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.