AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   For ESF MOD (https://forums.alliedmods.net/showthread.php?t=19458)

NiteHawk 10-17-2005 10:40

For ESF MOD
 
I'm working on a script for TK'ing. Sure kickings fine after a limit but I realized there may be a better way.

Considering you can really only TK in the game by beams at a high level form, I would like it to remove for example 500000 PL from your current pl.

The removal of the pl isn't the issue I believe. It's first trying to 'get' the current pl from a user.

Is this possible? And if it is, what can I use in a script? Thanks.

Yes I know some will say go to esf-world etc but I have better chances here then there sadly.

Basicly, when you kill someone on your own team considering friendly fire is on, I want it so you LOSE PL. But I need to know how to get players PLs in a script.

XxAvalanchexX 10-17-2005 16:54

esf_get_powerlevel
esf_set_powerlevel

Download the ESF module.

LynX 10-17-2005 18:43

Catch death event. Check the way player is killed. Then set the killers powerlevel.

I can write a snippet later, I'm too tired atm.

NiteHawk 10-18-2005 02:19

Where can I get it exactly? the esf.inc i have doesnt have set_powerlevel. but it would be nice to get those.

I think it has the newer ones like setClientPL etc. but they don't work on mine, still doesnt compile. yeah I prob have older mod version. I believe the one that comes with ESF. Yeah its older, but it still works. and the powerlevel changer worked. so not sure. I'll look at that uncompiled version too.

NiteHawk 10-18-2005 02:55

Considering when I use the newest amx mod and use Evolution it basicly locks up while playing. well the client screen characters freeze after you shift into your next mode, like goku to ssj. So thats why i don't upgrade.

NiteHawk 10-19-2005 06:36

Ahh I figured it out. Didn't use the esf.inc module or anything because couldnt get it working right.

For the next question. Is there a way to kick players who don't have EVM? Because apparently they crash/etc and error out or whatever and a 'ghost' is left which has to be kicked.

Would a idle kicker work? Or need something else? Or something simplier?

And how about EVM wishcount. Is there any way to put it to max of 3 per person?

Thanks.

markg85 10-19-2005 08:44

your at the wrong place nighthawk

evm questions = www.corona-bytes.net
esf questions = www.esforces.com

considering that the evm plugin is still closed source i doubt you can change the number of wishes per person :)

achilles187 11-03-2005 12:17

super noobie
 
where can i download an esf module ?

XxAvalanchexX 11-03-2005 14:18

Linux:
http://prdownloads.sourceforge.net/a...ar.gz?download

Windows:
http://prdownloads.sourceforge.net/a...f.zip?download

achilles187 11-04-2005 12:25

sweet
 
thankx 4 the help could u point the way to some good tutorials (simple im a noob)


All times are GMT -4. The time now is 00:03.

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