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

[L4D2] Working Flying Plugin?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
leaffan
Senior Member
Join Date: Jan 2013
Old 03-15-2021 , 16:09   [L4D2] Working Flying Plugin?
Reply With Quote #1

I am writing with (Google Translate). I do not know english.

Hello guys, do you know of a flying plugin that works on L4D2? An attachment that will fly and also hit objects, not like a noclip, but that can fly into objects?

Last edited by leaffan; 03-15-2021 at 16:09.
leaffan is offline
rekcah
Member
Join Date: Jun 2019
Old 03-24-2021 , 02:43   Re: [L4D2] Working Flying Plugin?
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?p=900622

That lets ghosts fly, i doubt it would be to difficult to edit so everyone could fly.
rekcah is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 03-24-2021 , 08:34   Re: [L4D2] Working Flying Plugin?
Reply With Quote #3

https://forums.alliedmods.net/showpo...23&postcount=9
__________________
Spirit_12 is offline
leaffan
Senior Member
Join Date: Jan 2013
Old 03-24-2021 , 11:46   Re: [L4D2] Working Flying Plugin?
Reply With Quote #4

Quote:
Originally Posted by Spirit_12 View Post
But how? I don't know how to code, I also want it to be for Administrators only.
leaffan is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 03-24-2021 , 16:39   Re: [L4D2] Working Flying Plugin?
Reply With Quote #5

Quote:
Originally Posted by leaffan View Post
But how? I don't know how to code, I also want it to be for Administrators only.
No pain, no gain.

You need to be able to understand basic code in order to run your server efficiently. This is a minor change, so give it a try and see how it goes.
__________________
Spirit_12 is offline
Darkwob
BANNED
Join Date: Oct 2018
Old 03-24-2021 , 23:43   Re: [L4D2] Working Flying Plugin?
Reply With Quote #6

Quote:
if (GetEntData(client, PropGhost, 1)!=1) return false;
change to this

Quote:
if (GetEntData(client, PropGhost, 0)!=0) return false;
maybe it will work.
Darkwob is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 03-25-2021 , 15:23   Re: [L4D2] Working Flying Plugin?
Reply With Quote #7

Try this one attached, but as people said before, you should know to do small things like that if you wanna host a server.

Usually, people ask for a thing, then next ask for more two, etc.

I didn't test but may work.
Attached Files
File Type: sp Get Plugin or Get Source (ghostfly.sp - 71 views - 3.9 KB)
__________________

Last edited by Marttt; 03-25-2021 at 15:26.
Marttt is offline
Darkwob
BANNED
Join Date: Oct 2018
Old 03-25-2021 , 19:09   Re: [L4D2] Working Flying Plugin?
Reply With Quote #8

Quote:
Originally Posted by Marttt View Post
Try this one attached, but as people said before, you should know to do small things like that if you wanna host a server.

Usually, people ask for a thing, then next ask for more two, etc.

I didn't test but may work.
where did you change the source code?
Darkwob is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 03-25-2021 , 19:42   Re: [L4D2] Working Flying Plugin?
Reply With Quote #9

PHP Code:
bool:isEligible(client)
{

    
// if (!IsClientConnected(client)) return false;
    
if (!IsClientInGame(client)) return false;
    
// if (GetClientTeam(client)!=TEAM_INFECTED) return false;
    // if (GetEntData(client, PropGhost, 1)!=1) return false;
    
    
return true;

or you can check in any online diff tool.
__________________

Last edited by Marttt; 03-25-2021 at 20:43.
Marttt is offline
Reply


Thread Tools
Display Modes

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:56.


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