INDEX PORTAL HELP SEARCH MEMBERS CALENDAR

InvisionFree - Free Forum Hosting
Fully Featured & Customizable Free Forums

Learn More · Register Now
Welcome to EvS Forum. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Name:   Password:

HEHEHEHEHEHEHE I SEE YOU ONLINE! - Deathshot 01/11/2013
 

 powerlevel change script help pls
Spleshmen
Posted: May 29 2007, 08:05 PM





Group: Members
Posts: 1
Member No.: 1492
Joined: 19-July 06



tryd to make myselef a script that gives u PL on esf,but when i try to compile i get this 2 errors why?
/home/groups/amxmodx/tmp3/phpX6uyI9.sma(22) : error 017: undefined symbol "esf_get_powerlevel"
/home/groups/amxmodx/tmp3/phpX6uyI9.sma(23) : error 017: undefined symbol "esf_set_powerlevel"
i got the functions from here : http://www.amxmodx.org/funcwiki.php?search=esf&go=search
CODE
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <esf>

#define PLUGIN "Give PL"
#define VERSION "1.0"
#define AUTHOR "Spleshmen"


public plugin_init() {
   register_plugin(PLUGIN, VERSION, AUTHOR)
   register_concmd("amx_give_pl","PL",ADMIN_LEVEL_C,"Gives PL to a player : amx_set_pl user power")
}
public PL(id,ki)
{
   new powerlevel
   powerlevel = esf_get_powerlevel(id)+ki
   esf_set_powerlevel(id,powerlevel)
}
Top
NeoSniperkiller
Posted: May 31 2007, 10:11 AM





Group: Members
Posts: 47
Member No.: 51
Joined: 6-April 05



QUOTE (Spleshmen @ May 29 2007, 07:05 PM)
tryd to make myselef a script that gives u PL on esf,but when i try to compile i get this 2 errors why?
/home/groups/amxmodx/tmp3/phpX6uyI9.sma(22) : error 017: undefined symbol "esf_get_powerlevel"
/home/groups/amxmodx/tmp3/phpX6uyI9.sma(23) : error 017: undefined symbol "esf_set_powerlevel"
i got the functions from here : http://www.amxmodx.org/funcwiki.php?search=esf&go=search
CODE
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <esf>

#define PLUGIN "Give PL"
#define VERSION "1.0"
#define AUTHOR "Spleshmen"


public plugin_init() {
   register_plugin(PLUGIN, VERSION, AUTHOR)
   register_concmd("amx_give_pl","PL",ADMIN_LEVEL_C,"Gives PL to a player : amx_set_pl user power")
}
public PL(id,ki)
{
   new powerlevel
   powerlevel = esf_get_powerlevel(id)+ki
   esf_set_powerlevel(id,powerlevel)
}

CODE
#include <amxmodx>
#include <amxmisc>
#include <fun>

#define PLUGIN "Give PL"
#define VERSION "1.0"
#define AUTHOR "Spleshmen"


public plugin_init() {
   register_plugin(PLUGIN, VERSION, AUTHOR)
   register_concmd("amx_give_pl","PL",ADMIN_LEVEL_C,"Gives PL to a player : amx_set_pl user power")
}
public PL(id, ki)
{
   new powerlevel
   powerlevel = get_pdata_int(id, 460)+ki
   set_pdata_int(id,460,powerlevel)
}
www MSN
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
InvisionFree - Free Forum Hosting
InvisionFree gives you all the tools to create a successful discussion community.
Learn More · Sign-up Now



AFFILIATES
AFFILIATES BOX

© Main title gradients & Skin created by Destiny.Menu was done by Chip(Akash). Find more great skins at StyleMagic Also at Phoenix Forum.

Hosted for free by InvisionFree* (Terms of Use: Updated 2/10/2010) | Powered by Invision Power Board v1.3 Final © 2003 IPS, Inc.
Archive