Raised This Month: $51 Target: $400
 12% 

Gun Xp Mod (Last Updated : 10-02-2011)


Post New Thread Reply   
 
Thread Tools Display Modes
Kakarot47
Senior Member
Join Date: May 2015
Location: Pakistan
Old 05-25-2016 , 18:10   Re: Gun Xp Mod (Last Updated : 10-02-2011)
Reply With Quote #871

put zombieplague.inc file into include folder
__________________



AssasinSniperNightmare ModArmageddon ModApolacyps Mod
Kakarot47 is offline
Send a message via Skype™ to Kakarot47
Old 06-02-2016, 09:20
DeXTeR.Dz
This message has been deleted by DeXTeR.Dz. Reason: rules !
Old 06-08-2016, 16:06
Agression Terrpr
This message has been deleted by Agression Terrpr. Reason: Sorry
Old 06-09-2016, 09:29
DeXTeR.Dz
This message has been deleted by DeXTeR.Dz. Reason: i write wroung key :-'(
Old 06-10-2016, 07:04
DeXTeR.Dz
This message has been deleted by asherkin. Reason: Spam.
XGonzaloAk
New Member
Join Date: Jun 2016
Old 06-15-2016 , 01:26   Re: Gun Xp Mod (Last Updated : 10-02-2011)
Reply With Quote #872

Quote:
Originally Posted by DeXTeR.Dz View Post
https://forums.alliedmods.net/showth...ar#post2426330

GunXpMod + Prestige(Last Updated : 10-06-2016)
/save
/prs
/power
and Full unlock
pls please plugin gunxp + prs + powers + save
XGonzaloAk is offline
Old 06-18-2016, 20:40
DeXTeR.Dz
This message has been deleted by asherkin. Reason: Spam.
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 08-12-2016 , 12:47   Re: Gun Xp Mod (Last Updated : 10-02-2011)
Reply With Quote #873

Quote:
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
#include <gunxpmod>

new PLUGIN_NAME[] = "Unlock - Waterpistol_Glock18"
new PLUGIN_AUTHOR[] = "LeOn@"
new PLUGIN_VERSION[] = "1.0"


new const glock_MDL[] = "models/gunxp/v_glock.mdl";

new damage_glock
new g_maxplayers
new bool:g_glock[33]
public plugin_precache()
{
engfunc(EngFunc_PrecacheModel, glock_MDL);
}
public plugin_init()
{
register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR)
register_gxm_item("Waterglock18", "+Aim +Rate +Power +Scope ( Glock )", 20)

damage_glock = register_cvar("gxm_damage_glock","0.95"); // damage multiplier
register_event("CurWeapon", "Event_CurWeaponglock", "be", "1=1")

RegisterHam(Ham_TakeDamage, "player", "Ham_Damageglock");

g_maxplayers = get_maxplayers();
}
public gxm_item_enabled(id) {
g_glock[id] = true
}
public client_connect(id)
{
g_glock[id] = false
}
public Ham_Damageglock(id, inflictor, attacker, Float:damage, damagebits)
{
if ( !(1 <= attacker <= g_maxplayers) || !g_glock[attacker])
return HAM_IGNORED;

new weapon2 = get_user_weapon(attacker, _, _);
if( weapon2 == Glock_1
{
SetHamParamFloat(4, damage * get_pcvar_float(damage_glock)); //glock damage
return HAM_HANDLED;
}
return HAM_IGNORED;
}
public Event_CurWeaponglock(id)
{
if (!g_glock[id])
return PLUGIN_CONTINUE;

new Gun = read_data(2)

if( Gun == GLOCK1
{
set_pev(id, pev_viewmodel2, glock_MDL)
}
return PLUGIN_CONTINUE;
}
I got errors in
Error: Number of arguments does not match definition on line 23
Error: Undefined symbol "Glock_18" on line 45
Error: Undefined symbol "GLOCK18" on line 59

can anyone help me tell me what is wrong there?
Godofwar is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 08-12-2016 , 14:58   Re: Gun Xp Mod (Last Updated : 10-02-2011)
Reply With Quote #874

Quote:
Originally Posted by Godofwar View Post
I got errors in
Error: Number of arguments does not match definition on line 23
Error: Undefined symbol "Glock_18" on line 45
Error: Undefined symbol "GLOCK18" on line 59

can anyone help me tell me what is wrong there?
  1. The line's 23 function call number of arguments is not matching.
  2. The symbols Glock_18 and GLOCK18 are not defined before their use.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 08-13-2016 , 03:52   Re: Gun Xp Mod (Last Updated : 10-02-2011)
Reply With Quote #875

i changed that lines to CSW_GLOCK18 but now i have only that arguments problem..
Godofwar is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 08-29-2016 , 08:01   Re: Gun Xp Mod (Last Updated : 10-02-2011)
Reply With Quote #876

Am I the only one that the plugin isn't working for? I get 20 errors.
eyal282 is offline
Unknown Guy
Member
Join Date: Dec 2014
Location: Munich, Germany
Old 08-30-2016 , 05:24   Re: Gun Xp Mod (Last Updated : 10-02-2011)
Reply With Quote #877

Quote:
Originally Posted by eyal282 View Post
Am I the only one that the plugin isn't working for? I get 20 errors.
It would make things better for you if you could show these 20 errors over here so we can help you.
Unknown Guy is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 08-30-2016 , 11:44   Re: Gun Xp Mod (Last Updated : 10-02-2011)
Reply With Quote #878

Quote:
Originally Posted by Unknown Guy View Post
It would make things better for you if you could show these 20 errors over here so we can help you.
Working
eyal282 is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 08-30-2016 , 15:48   Re: Gun Xp Mod (Last Updated : 10-02-2011)
Reply With Quote #879

set_user_xp native doesn't update level at all.

need to add to the native this:

check_level(id)
eyal282 is offline
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 09-01-2016 , 13:32   Re: Gun Xp Mod (Last Updated : 10-02-2011)
Reply With Quote #880

I changed that all to NORMAL MOD But i dont get level guns as Terrorist. i have only glock weapon, as CT Player it works but what is wrong ? What i have to edit too that gunxpmod work for terrorists too??? Pls help ..

i changed that to normal all in gunxpmod.cfg -- Maybe i have to edit anything in gunxpmod.sma????

#define NORMAL_MOD - Normal mod,means simple cs style without other mods.
//#define ZOMBIE_SWARM - Uncomment it if you are using Zombie Swarm and comment other.
//#define ZOMBIE_INFECTION - Uncomment it if you are using Zombie Infection style mods and comment other.


Last edited by Godofwar; 09-01-2016 at 13:34.
Godofwar is offline
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 05:13.


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