Raised This Month: $32 Target: $400
 8% 

Ghost Plugin - Play whilst dead + noclip


Post New Thread Reply   
 
Thread Tools Display Modes
ONIONZZZ
Junior Member
Join Date: Jun 2018
Old 06-22-2018 , 02:23   Re: Ghost Plugin
Reply With Quote #11

Quote:
Originally Posted by Avastis View Post
How I can add a autobhop and be able to interact with teleporters with that plugin ? Hope I will have a solution the plugin is really awesome and I love the noclip
Do a check inside your bhop plugin for the LifeState flag
ONIONZZZ is offline
supertimor
AlliedModders Donor
Join Date: Sep 2017
Old 07-06-2018 , 04:55   Re: Ghost Plugin - Play whilst dead + noclip
Reply With Quote #12

Hey mate, we're using this on our JB server, but there's a bug.

public HookPlayerSpawn( Handle:event, const String:name[ ], bool:dontBroadcast )
{
new client = GetClientOfUserId( GetEventInt( event, "userid" ) );
if (IsPlayerAlive(client) && GetEntProp(client, Prop_Send, "m_lifeState") != 1)
{
GivePlayerItem(client, "weapon_healthshot");
}
}

And if using !ghost - still have droppable healtshot, we need to delete this. Do you know how maybe?

Last edited by supertimor; 07-06-2018 at 04:55.
supertimor is offline
tzzion
Member
Join Date: Oct 2016
Old 01-22-2019 , 11:31   Re: Ghost Plugin - Play whilst dead + noclip
Reply With Quote #13

Could you add the autobunny option as a ghost?
__________________
tzzion is offline
Reply



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 14:48.


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