Raised This Month: $ Target: $400
 0% 

Script help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mike
Junior Member
Join Date: Aug 2004
Location: N.Ireland
Old 09-06-2004 , 12:15   Script help
Reply With Quote #1

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?
Mike is offline
Send a message via MSN to Mike
Votorx
Senior Member
Join Date: Jun 2004
Old 09-06-2004 , 14:35  
Reply With Quote #2

What's the offset?
__________________
Currently Looking for a mod team.
Votorx is offline
Send a message via AIM to Votorx Send a message via MSN to Votorx Send a message via Yahoo to Votorx
Mike
Junior Member
Join Date: Aug 2004
Location: N.Ireland
Old 09-06-2004 , 16:47  
Reply With Quote #3

its in ESF the offset is: Offset: 460 = Powerlevel
can anyone help?
Mike is offline
Send a message via MSN to Mike
Mike
Junior Member
Join Date: Aug 2004
Location: N.Ireland
Old 09-08-2004 , 12:12  
Reply With Quote #4

Please help someone im desperate!
Mike is offline
Send a message via MSN to Mike
BAILOPAN
Join Date: Jan 2004
Old 09-08-2004 , 12:17  
Reply With Quote #5

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
__________________
egg
BAILOPAN is offline
Mike
Junior Member
Join Date: Aug 2004
Location: N.Ireland
Old 09-08-2004 , 13:28  
Reply With Quote #6

Thanks but how do i write it into a code?
Mike is offline
Send a message via MSN to Mike
Mike
Junior Member
Join Date: Aug 2004
Location: N.Ireland
Old 09-09-2004 , 18:19  
Reply With Quote #7

Please help someone!
Mike is offline
Send a message via MSN to Mike
Votorx
Senior Member
Join Date: Jun 2004
Old 09-10-2004 , 08:21  
Reply With Quote #8

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.
__________________
Currently Looking for a mod team.
Votorx is offline
Send a message via AIM to Votorx Send a message via MSN to Votorx Send a message via Yahoo to Votorx
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 17:23.


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