AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [L4D2] Working Flying Plugin? (https://forums.alliedmods.net/showthread.php?t=331334)

leaffan 03-15-2021 16:09

[L4D2] Working Flying Plugin?
 
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?

rekcah 03-24-2021 02:43

Re: [L4D2] Working Flying Plugin?
 
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.

Spirit_12 03-24-2021 08:34

Re: [L4D2] Working Flying Plugin?
 
https://forums.alliedmods.net/showpo...23&postcount=9

leaffan 03-24-2021 11:46

Re: [L4D2] Working Flying Plugin?
 
Quote:

Originally Posted by Spirit_12 (Post 2741575)

But how? I don't know how to code, I also want it to be for Administrators only.

Spirit_12 03-24-2021 16:39

Re: [L4D2] Working Flying Plugin?
 
Quote:

Originally Posted by leaffan (Post 2741616)
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.

Darkwob 03-24-2021 23:43

Re: [L4D2] Working Flying Plugin?
 
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.

Marttt 03-25-2021 15:23

Re: [L4D2] Working Flying Plugin?
 
1 Attachment(s)
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.

Darkwob 03-25-2021 19:09

Re: [L4D2] Working Flying Plugin?
 
Quote:

Originally Posted by Marttt (Post 2741809)
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?

Marttt 03-25-2021 19:42

Re: [L4D2] Working Flying Plugin?
 
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.


All times are GMT -4. The time now is 23:40.

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