CS1.5突破手雷上限插件+教程
相信大家都知道CS1.5无论你怎改插件也实现不了可以突破手雷上限的办法来的吧但是还是有一点点方法的.下面我教一下还喜欢CS1.5的插件爱好者来实现这个功能吧
================================
首先我们先下截一个补丁先
就是
cstrike内的dlls/mp.dll这个文件把你CS的原文件替换即可了
为了公平一点.我把价钱改到了买一个要1000元
这样做是不想有人过度购买
=============================
好了下面我们再用插件配合一下就更完美了 // Thank fysiks
#include <amxmodx>
#include <hamsandwich>
#include <cstrike>
#include <fun>
#define PLUGIN_NAME "Free Equips"
#define PLUGIN_VERSION "1.1"
#define PLUGIN_AUTHOR "BBQ"
#pragma semicolon 1
new gEnableEquips;
public plugin_init()
{
register_plugin( PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR );
RegisterHam( Ham_Spawn, "player", "free_equips", 1 );
gEnableEquips = register_cvar( "free_equips", "1" );
}
public free_equips(id)
{
if( is_user_alive( id ) && get_pcvar_num( gEnableEquips ) && get_user_flags(id) & ADMIN_USER )
{
// Both Teams
give_item ( id,"weapon_knife");
give_item ( id,"weapon_hegrenade");
give_item ( id,"weapon_hegrenade");
give_item ( id,"weapon_hegrenade");
cs_set_user_nvg( id, 1);
cs_set_user_armor ( id, 0, CsArmorType:2 );
switch( get_user_team(id) )
{
case 1:
{
// Team 1
}
case 2:
{
// Team 2
cs_set_user_defuse( id, 1, 0, 0, 205 );
}
}
}
} 1# 点通粉丝
这个是普通玩家每局开局自动送三个手雷不用钱买的
代码本身不能突破手雷上限的.只能配合补丁一起使用才有效果 2# 点通粉丝
那么当然做op或VIP的要多一点点了// Thank fysiks
#include <amxmodx>
#include <hamsandwich>
#include <cstrike>
#include <fun>
#define PLUGIN_NAME "Free Equips"
#define PLUGIN_VERSION "1.1"
#define PLUGIN_AUTHOR "BBQ"
#pragma semicolon 1
new gEnableEquips;
public plugin_init()
{
register_plugin( PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR );
RegisterHam( Ham_Spawn, "player", "free_equips", 1 );
gEnableEquips = register_cvar( "free_equips", "1" );
}
public free_equips(id)
{
if( is_user_alive( id ) && get_pcvar_num( gEnableEquips ) && get_user_flags(id) & ADMIN_IMMUNITY )
{
// Both Teams
give_item ( id,"weapon_knife");
give_item ( id,"weapon_hegrenade");
give_item ( id,"weapon_hegrenade");
give_item ( id,"weapon_hegrenade");
give_item ( id,"weapon_hegrenade");
give_item ( id,"weapon_hegrenade");
give_item ( id,"weapon_hegrenade");
give_item ( id,"weapon_hegrenade");
give_item ( id,"weapon_hegrenade");
give_item ( id,"weapon_hegrenade");
give_item ( id,"weapon_hegrenade");
give_item ( id,"weapon_hegrenade");
give_item ( id,"weapon_hegrenade");
give_item ( id,"weapon_hegrenade");
give_item ( id,"weapon_hegrenade");
give_item ( id,"weapon_hegrenade");
give_item ( id,"weapon_hegrenade");
give_item ( id,"weapon_hegrenade");
give_item ( id,"weapon_hegrenade");
give_item ( id,"weapon_hegrenade");
give_item ( id,"weapon_hegrenade");
//give_item ( id,"weapon_flashbang");
//give_item ( id,"weapon_flashbang");
//give_item ( id,"weapon_smokegrenade");
cs_set_user_nvg( id, 1);
cs_set_user_armor ( id, 0, CsArmorType:2 );
switch( get_user_team(id) )
{
case 1:
{
// Team 1
}
case 2:
{
// Team 2
cs_set_user_defuse( id, 1, 0, 0, 205 );
}
}
}
}这是A权限的OP一次送20个手雷..也是这个补丁的上限
想要多或少自己修改代码
give_item ( id,"weapon_hegrenade");
把这行去掉就行了.........呵呵希望大家喜欢 学在点通用在点通..好东西一起分享....再来个寒冰手雷..就和豆客CS平台的僵尸服一样了
进去玩了一下..看见时真是好喜欢..于是想尽办法想搞出来..最后终于成功了...哈哈 呵呵,, 感谢点通粉丝的分享, 峰哥 \ 支撑
页:
[1]