Raised This Month: $32 Target: $400
 8% 

Thread Closed


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 03-29-2017 , 03:42   Re: Gun Xp Mod (Last Update : 28/03/2017)
#11

Code:
register_clcmd("amx_give_xp", "admin_xp", ADMIN_LEVEL_A, "<name> <amount>") public admin_xp (id, level, cid) {     if(!cmd_access (id, level, cid, 3))         return PLUGIN_HANDLED;     new arg[32], arg2[32];     read_argv(1, arg, 32);     read_argv(2, arg2, 31);     new player = cmd_target(id,arg,2);     if(!player) return PLUGIN_HANDLED;     new xpamount = str(arg2);     set_user_xp(player, get_user_xp(player) + xpamount);     if( get_user_xp(player) < 0 ) {         set_user_xp(player, 0)         new gname[32];         get_user_name(player, gname, 31);         console_print(id,  "%s's XP are set to 0");         return PLUGIN_HANDLED;     }       new player_name[32], admin_name[32];     get_user_name(player, player_name, 31);     get_user_name(id, admin_name, 31);     switch(get_cvar_num("amx_show_activity")) {          case 2: client_print(0, print_chat, "ADMIN %s: give %s %i XP", admin_name, player_name, xpamount);          case 1: client_print(0, print_chat, "ADMIN: give %s %i XP", player_name, xpamount);     }     return PLUGIN_HANDLED; }
For lazy admins part2.
__________________

Last edited by Relaxing; 03-29-2017 at 03:43.
Relaxing is offline
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 03-29-2017 , 04:25   Re: Gun Xp Mod (Last Update : 28/03/2017)
#12

Quote:
Originally Posted by Relaxing View Post
Code:
register_clcmd("amx_give_xp", "admin_xp", ADMIN_LEVEL_A, "<name> <amount>") public admin_xp (id, level, cid) {     if(!cmd_access (id, level, cid, 3))         return PLUGIN_HANDLED;     new arg[32], arg2[32];     read_argv(1, arg, 32);     read_argv(2, arg2, 31);     new player = cmd_target(id,arg,2);     if(!player) return PLUGIN_HANDLED;     new xpamount = str(arg2);     set_user_xp(player, get_user_xp(player) + xpamount);     if( get_user_xp(player) < 0 ) {         set_user_xp(player, 0)         new gname[32];         get_user_name(player, gname, 31);         console_print(id,  "%s's XP are set to 0");         return PLUGIN_HANDLED;     }       new player_name[32], admin_name[32];     get_user_name(player, player_name, 31);     get_user_name(id, admin_name, 31);     switch(get_cvar_num("amx_show_activity")) {          case 2: client_print(0, print_chat, "ADMIN %s: give %s %i XP", admin_name, player_name, xpamount);          case 1: client_print(0, print_chat, "ADMIN: give %s %i XP", player_name, xpamount);     }     return PLUGIN_HANDLED; }
For lazy admins part2.
oh yeah thanx so mutch we already was finished with thier natives of set xp and prestige and level but forgot to add them to plugin but nvm i will add them .
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
Restart
Senior Member
Join Date: Nov 2016
Location: Lithuania
Old 03-29-2017 , 05:45   Re: Gun Xp Mod (Last Update : 28/03/2017)
#13

why does k1asus and ak47 knife have so many bugs?
Restart is offline
Send a message via Skype™ to Restart
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 03-29-2017 , 07:01   Re: Gun Xp Mod (Last Update : 28/03/2017)
#14

Quote:
Originally Posted by Restart View Post
why does k1asus and ak47 knife have so many bugs?
as i said in description unlocks most of them not tested because most of them i convert them from zp extra item and cso weapons like of zombie darkness to unlocks....
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
yas17sin
Veteran Member
Join Date: Oct 2016
Location: Morocco/Sale
Old 03-29-2017 , 07:12   Re: Gun Xp Mod (Last Update : 28/03/2017)
#15

here is a AK-Knife Unlock by me :
Attached Files
File Type: zip unlock_ak-knife.zip (1.77 MB, 127 views)
__________________
FINISHED WORKING ON : Attack On Titan Mod (100% Done).

FB Acc : FaceBook Account.

pic: http://prntscr.com/fszkke not good quality
yas17sin is offline
Send a message via ICQ to yas17sin
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 03-29-2017 , 07:17   Re: Gun Xp Mod (Last Update : 28/03/2017)
#16

im sorry guys but no support for unlocks, only support for main plugins if they has bugs... ;D and enjoy guys
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 03-29-2017 , 13:23   Re: Gun Xp Mod (Last Update : 28/03/2017)
#17

As description says, you just merged the code that credits boys send you.
It makes no sense, only @Xbatista can upload this update, you're doing something wrong.
Off topic: Do not use yellow color, it hurts our eyes & do not typo.
__________________

Last edited by Relaxing; 03-29-2017 at 13:25.
Relaxing is offline
yas17sin
Veteran Member
Join Date: Oct 2016
Location: Morocco/Sale
Old 03-29-2017 , 13:58   Re: Gun Xp Mod (Last Update : 28/03/2017)
#18

Quote:
Originally Posted by Relaxing View Post
As description says, you just merged the code that credits boys send you.
It makes no sense, only @Xbatista can upload this update, you're doing something wrong.
Off topic: Do not use yellow color, it hurts our eyes & do not typo.
but since xbatista is no more online, maybe the rule allow him to use his plugin, for full use, means : be edited and posted ? ( just wondering ).
__________________
FINISHED WORKING ON : Attack On Titan Mod (100% Done).

FB Acc : FaceBook Account.

pic: http://prntscr.com/fszkke not good quality

Last edited by yas17sin; 03-29-2017 at 15:22.
yas17sin is offline
Send a message via ICQ to yas17sin
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 03-29-2017 , 14:47   Re: Gun Xp Mod (Last Update : 28/03/2017)
#19

Quote:
Originally Posted by Relaxing View Post
As description says, you just merged the code that credits boys send you.
It makes no sense, only @Xbatista can upload this update, you're doing something wrong.
Off topic: Do not use yellow color, it hurts our eyes & do not typo.
i know you want offtopic to people no get this gun xp mod and you are downloaded it already but lets me tell you some thing, you are not modernator hier to tell me what i do, yours post its with nonsense only you can post hier for support / help / req / suggestion.
Quote:
Originally Posted by yas17sin View Post
but since xbatista is no more online, maybe the rule allow him to use his plugin for full use means : be edited and posted ? ( just wondering ).
already see in galilo of brad he get updated by addons_zz and he puted in topic with not thier permission because bread is offline so they allow to him, so same as my.
__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
Closed Thread



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 01:21.


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