AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Script help (https://forums.alliedmods.net/showthread.php?t=5599)

Mike 09-06-2004 12:15

Script help
 
I need to write a working plugin to set the power level in ESF, I have the offset for it but im not sure how to write it into a working code. Can anyone help me?

Votorx 09-06-2004 14:35

What's the offset?

Mike 09-06-2004 16:47

its in ESF the offset is: Offset: 460 = Powerlevel
can anyone help? :cry:

Mike 09-08-2004 12:12

Please help someone im desperate! :cry:

BAILOPAN 09-08-2004 12:17

With AMX Mod X 0.20 Fakemeta module you can do this:

set_pdata_int(player, 460, power)

that should work
but probably also you need to send a hud update message, IIRC ESF uses a long colored bar

Mike 09-08-2004 13:28

Thanks but how do i write it into a code?

Mike 09-09-2004 18:19

Please help someone! :cry:

Votorx 09-10-2004 08:21

He just told you how... the power variable is obviously the new powerlevel your going to have now just assosciate that into a command and run it.


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

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