Raised This Month: $12 Target: $400
 3% 

I need Author's to have a look?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Darkwob
BANNED
Join Date: Oct 2018
Old 05-23-2021 , 17:16   I need Author's to have a look?
Reply With Quote #1

I have an afk manager plug-in that I tried to recompile, and I realized that the deceased players could pass on to the audience team. I think this will ruin a fair gaming experience within the game. Can anyone help me with this? I want to prevent the deceased player from passing to the spectator team.


I forgot to write this. After the player dies, he must not switch to the spectator team using the! idle command. Anyway, if I think any other plugin, it will not be passed on to the audience team.

PHP Code:
HookEvent("player_death"Event_PlayerDeathEventHookMode_Post); //I guess we define it first.
 

public Action:Player_death(clientargs)
{
I don't know what should be written here.

Darkwob is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode