|
| 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:
|
HEHEHEHEHEHEHE I SEE YOU ONLINE! - Deathshot 01/11/2013
powerlevel change script help pls
| Spleshmen |
|
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) } |
|
|
|
| NeoSniperkiller |
|
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) } |
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
 InvisionFree gives you all the tools to create a successful discussion community. Learn More · Sign-up Now
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
AFFILIATES
© Main title gradients & Skin created by Destiny.Menu was done by Chip(Akash). Find more great skins at StyleMagic Also at Phoenix Forum. |