Execute on Dead Players But Not Spectate
Hi all,
What would be the best way to execute a command on dead players but not execute on spectators? The following will not execute if a client is in spectate and an admin uses sm_respawn @all. If I remove the code relating to spectate then the plugin works, but if an admin executes on a single client in spectate it says that they were respawned (they weren't actually respawned, plugin just reports in chat that they were) Code:
public Action:Command_Respawn(client, args) |
Re: Execute on Dead Players But Not Spectate
this look funny... re-order your target_list array
Code:
public Action:Command_Respawn(client, args) |
Re: Execute on Dead Players But Not Spectate
Thanks for the detailed explanation Bacardi
I may have to drink you some time :wink: |
Re: Execute on Dead Players But Not Spectate
Cuba libre!
|
All times are GMT -4. The time now is 13:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.