bz_killPlayer
Posted: Tue Dec 26, 2006 5:29 pm
I am using the BZF_API bool bz_killPlayer ( int playerID, bool spawnOnBase ) function in a plugin I have been working on and I seem to be having some difficulty with its behavior.
When the function is called, it will remove the player's flag and make the player unresponsive (nr), but not destroy/explode the player and allow a respawn.
I am running bzfs with the plugin locally (not public) and my bzflag application is running on the same pc as the bzfs application; I'm not sure if that has anything to do with it or not. I have tried it with multiple pc's on the same local network and I have tried it with bots - always get "nr" for those killed with the function. I've also run bzfs with the "killall" plugin locally with the same results.
Does this function only work when it is associated with a public server?
Any information/insight on this would be greatly appreciated
When the function is called, it will remove the player's flag and make the player unresponsive (nr), but not destroy/explode the player and allow a respawn.
I am running bzfs with the plugin locally (not public) and my bzflag application is running on the same pc as the bzfs application; I'm not sure if that has anything to do with it or not. I have tried it with multiple pc's on the same local network and I have tried it with bots - always get "nr" for those killed with the function. I've also run bzfs with the "killall" plugin locally with the same results.
Does this function only work when it is associated with a public server?
Any information/insight on this would be greatly appreciated