View Single Post
  #2  
Old 08-21-2014, 03:21 AM
Restraint Restraint is offline
NaS
Join Date: Jan 2014
Posts: 21
Restraint will become famous soon enough
Quote:
Originally Posted by Tim_Rocks View Post
I went with looping through allplayers via clientside checking their location on the gmap. If they're within a certain areas (no pk zones), they won't block. In Era's case though, I did a little extra step and did checks to see if a player was set to pk mode which would cause them to block even in a no pk zone. Very useful btw.
You could do the same by simply looping through players on the clientside, instead of allplayers.

And, just a heads-up, you CAN alter player killing back and forth.

this.level.nopkzone = true/false;
Reply With Quote