A simple thing left me wondering, I've been in this forum for quiet a while and I am still seeing people creating their own variable to assign player to teams, why doesn't people use SetPlayerTeam? This left me wondering. A beautiful answer would be appreciated.
Posts: 295
Threads: 6
Joined: Apr 2013
Reputation:
0
they just do. setplayerteam just gives you the option for friendly fire. when in doubt, use the wiki
Posts: 826
Threads: 64
Joined: Oct 2013
Reputation:
0
Probably if they want the players to be able to hit themselves ?
As Ada32 is saying, Its just a matter of people getting used to it... Just like stocks.
Posts: 613
Threads: 11
Joined: Aug 2010
Reputation:
0
They want a different functionality than that which SetPlayerTeam provides.
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
I wish there were a native to extend the "no friendly fire" option to other teams. So let's say "team cop" with id 1 could not hit "team military" with id 2 and vice versa.
Makes more sense now, thanks anyways.
Posts: 613
Threads: 11
Joined: Aug 2010
Reputation:
0
Jay.. What about a more complex scenario? Example, team A can`t hit Team B and team B can`t hit team C, but team C can hit team A.
Posts: 3,324
Threads: 96
Joined: Sep 2013
Quote:
Originally Posted by Macluawn
Jay.. What about a more complex scenario? Example, team A can`t hit Team B and team B can`t hit team C, but team C can hit team A.
|
That's very simple doing exactly what Jay said.
Posts: 803
Threads: 138
Joined: Jul 2014
Reputation:
0
I know this is 10 days old bump, but personally I dont use it due to simple fact it tends to reset OnPlayerDeath & OnPlayerRequestClass, not sure which one of them, I forgot but yeah it resets.
So basically in case you "disabled" OnPlayerRequestClass it will still reset their team, atleast it was like that before, im not sure if it was changed or anything