AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Aliens vs. Predator [MOD] (https://forums.alliedmods.net/showthread.php?t=295305)

PowereXe 06-03-2017 15:42

Re: Aliens vs Predators [MOD]
 
Quote:

Originally Posted by CrazY. (Post 2525819)
I've done a simple plugin. Will register default CS weapons to marine.

Powerexe, extract from the main plugin or edit the zp extra item unlimited ammo...

https://forums.alliedmods.net/showpo...67298?p=667298


AWP_Default_Weapons.sma <47> Number Of Arguments Does Not Match Definition ( error 088 )

Borhane 06-03-2017 15:43

Re: Aliens vs Predators [MOD]
 
hey crazy i want the gun that u used with the predator in the video not the plasma caster

PowereXe 06-03-2017 15:48

Re: Aliens vs Predators [MOD]
 
Also Avp_Speed_Enhancer Works Very Well :nono:

CrazY. 06-03-2017 19:03

Re: Aliens vs Predators [MOD]
 
Borhane, download apesar gun into sub-plugins thread.

PowereXe, log error ?

Borhane 06-03-2017 21:01

Re: Aliens vs Predators [MOD]
 
where is it bro i cant find it in sub-plugins thread

PowereXe 06-03-2017 21:04

Re: Aliens vs Predators [MOD]
 
Your Avp Default Weapons Not Working. I Deleted TEAM_MARINE. I Fixed The Error.
But Not Giving Weapons. You Can Test It. Also Secondary Weapons Seeming In Primary Weapon List.
Please Fix It Bro :crab:


Working But Not Giving:

PHP Code:

#include <amxmodx>
#include <fun>
#include <cstrike>
#include <fakemeta>
#include <fakemeta_util>
#include <aliens_vs_predator>

new const PLUGIN_VERSION[] = "1.0";

enum _:WeaponData
{
    
WeaponName[32],
    
WeaponEnt[32],
    
WeaponType,
};



new const 
AVPWEAPONS[][WeaponData] = {
    { 
"P228 Compact""weapon_p228"AVP_SECONDARY_WEAPON },
    { 
"Schmidt Scout""weapon_scout"AVP_PRIMARY_WEAPON },
    { 
"XM1014 M4""weapon_xm1014"AVP_PRIMARY_WEAPON },
    { 
"Ingram MAC-10""weapon_mac10"AVP_PRIMARY_WEAPON },
    { 
"Steyr AUG A1""weapon_aug"AVP_PRIMARY_WEAPON },
    { 
"Dual Elite Berettas""weapon_elite"AVP_SECONDARY_WEAPON },
    { 
"FiveseveN""weapon_fiveseven"AVP_SECONDARY_WEAPON },
    { 
"UMP 45""weapon_ump45"AVP_PRIMARY_WEAPON },
    { 
"SG-550 Auto-Sniper""weapon_sg550"AVP_PRIMARY_WEAPON },
    { 
"IMI Galil""weapon_galil"AVP_PRIMARY_WEAPON },
    { 
"Famas""weapon_famas"AVP_PRIMARY_WEAPON },
    { 
"USP .45 ACP Tactical""weapon_usp"AVP_SECONDARY_WEAPON },
    { 
"Glock 18C""weapon_glock18"AVP_SECONDARY_WEAPON },
    { 
"AWP Magnum Sniper""weapon_awp"AVP_PRIMARY_WEAPON },
    { 
"MP5 Navy""weapon_mp5navy"AVP_PRIMARY_WEAPON },
    { 
"M249 Para Machinegun""weapon_m249"AVP_PRIMARY_WEAPON },
    { 
"M3 Super 90""weapon_m3"AVP_PRIMARY_WEAPON },
    { 
"M4A1 Carbine""weapon_m4a1"AVP_PRIMARY_WEAPON },
    { 
"Schmidt TMP""weapon_tmp"AVP_PRIMARY_WEAPON },
    { 
"G3SG1 Auto-Sniper""weapon_g3sg1"AVP_PRIMARY_WEAPON },
    { 
"Desert Eagle .50 AE""weapon_deagle"AVP_SECONDARY_WEAPON },
    { 
"SG-552 Commando""weapon_sg552"AVP_PRIMARY_WEAPON },
    { 
"AK-47 Kalashnikov""weapon_ak47"AVP_PRIMARY_WEAPON },
    { 
"ES P90""weapon_p90"AVP_PRIMARY_WEAPON }
};


public 
plugin_init()
{
    
register_plugin("[AvP] Default CS Weapons"PLUGIN_VERSION"Crazy");

    for (new 
0sizeof AVPWEAPONSi++)
        
avp_register_weapon(AVPWEAPONS[i][WeaponName], AVPWEAPONS[i][WeaponType], AVPWEAPONS[i][WeaponEnt]);
}

public 
weapon_p228(id)
{
    
fm_give_item(id"weapon_p228");
    
cs_set_user_bpammo(idCSW_P22852);
}

public 
weapon_scout(id)
{
    
fm_give_item(id"weapon_scout");
    
cs_set_user_bpammo(idCSW_SCOUT90);
}

public 
weapon_xm1014(id)
{
    
fm_give_item(id"weapon_xm1014");
    
cs_set_user_bpammo(idCSW_XM101432);
}

public 
weapon_mac10(id)
{
    
fm_give_item(id"weapon_mac10");
    
cs_set_user_bpammo(idCSW_MAC10100);
}

public 
weapon_aug(id)
{
    
fm_give_item(id"weapon_aug");
    
cs_set_user_bpammo(idCSW_AUG90);
}

public 
weapon_elite(id)
{
    
fm_give_item(id"weapon_elite");
    
cs_set_user_bpammo(idCSW_ELITE120);
}

public 
weapon_fiveseven(id)
{
    
fm_give_item(id"weapon_fiveseven");
    
cs_set_user_bpammo(idCSW_FIVESEVEN100);
}

public 
weapon_ump45(id)
{
    
fm_give_item(id"weapon_ump45");
    
cs_set_user_bpammo(idCSW_UMP45100);
}

public 
weapon_sg550(id)
{
    
fm_give_item(id"weapon_sg550");
    
cs_set_user_bpammo(idCSW_SG55090);
}

public 
weapon_galil(id)
{
    
fm_give_item(id"weapon_galil");
    
cs_set_user_bpammo(idCSW_GALIL90);
}

public 
weapon_famas(id)
{
    
fm_give_item(id"weapon_famas");
    
cs_set_user_bpammo(idCSW_FAMAS90);
}

public 
weapon_usp(id)
{
    
fm_give_item(id"weapon_usp");
    
cs_set_user_bpammo(idCSW_USP100);
}

public 
weapon_glock18(id)
{
    
fm_give_item(id"weapon_glock18");
    
cs_set_user_bpammo(idCSW_GLOCK18120);
}

public 
weapon_awp(id)
{
    
fm_give_item(id"weapon_awp");
    
cs_set_user_bpammo(idCSW_AWP30);
}

public 
weapon_mp5navy(id)
{
    
fm_give_item(id"weapon_mp5navy");
    
cs_set_user_bpammo(idCSW_MP5NAVY120);
}

public 
weapon_m249(id)
{
    
fm_give_item(id"weapon_m249");
    
cs_set_user_bpammo(idCSW_M249200);
}

public 
weapon_m3(id)
{
    
fm_give_item(id"weapon_m3");
    
cs_set_user_bpammo(idCSW_M332);
}

public 
weapon_m4a1(id)
{
    
fm_give_item(id"weapon_m4a1");
    
cs_set_user_bpammo(idCSW_M4A190);
}

public 
weapon_tmp(id)
{
    
fm_give_item(id"weapon_tmp");
    
cs_set_user_bpammo(idCSW_TMP120);
}

public 
weapon_g3sg1(id)
{
    
fm_give_item(id"weapon_g3sg1");
    
cs_set_user_bpammo(idCSW_G3SG190);
}

public 
weapon_deagle(id)
{
    
fm_give_item(id"weapon_deagle");
    
cs_set_user_bpammo(idCSW_DEAGLE35);
}

public 
weapon_sg552(id)
{
    
fm_give_item(id"weapon_sg552");
    
cs_set_user_bpammo(idCSW_SG55290);
}

public 
weapon_ak47(id)
{
    
fm_give_item(id"weapon_ak47");
    
cs_set_user_bpammo(idCSW_AK4790);
}

public 
weapon_p90(id)
{
    
fm_give_item(id"weapon_p90");
    
cs_set_user_bpammo(idCSW_P90100);



CrazY. 06-03-2017 21:10

Re: Aliens vs Predators [MOD]
 
Borhane????????
https://forums.alliedmods.net/showthread.php?t=296968

PowereXe, why you are using fakemeta util? I've tested into my avp, and it's working, anyway I will see if something is wrong on main AVP.

Borhane 06-03-2017 21:23

Re: Aliens vs Predators [MOD]
 
wtf man its not there i can see spear gun only

CrazY. 06-03-2017 21:28

Re: Aliens vs Predators [MOD]
 
Powerexe, you're correct, the plugin is wrong. Fixed:https://forums.alliedmods.net/showpo...&postcount=100

Borhane,

https://www.mediafire.com/?x79p7x0z5hv4ysw

https://www.mediafire.com/?5y1w0qu61jjvu5d

https://www.mediafire.com/?ktrk66b5ppec6cy

https://forums.alliedmods.net/showpo...07&postcount=8

Borhane 06-03-2017 21:36

Re: Aliens vs Predators [MOD]
 
still cant find it
first link is for pulse rifle
second link is for spear gun
third for buy health for marines
and then http://imgur.com/a/wQTdv


All times are GMT -4. The time now is 21:33.

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