MAX司令
MAX司令
关注数: 19
粉丝数: 22
发帖数: 754
关注贴吧数: 18
关于M4榴弹插件(冒泡) 插件目前很完善,可以使用了,但模型上还存在问题 @anyichen2000 但上次给的那个M4榴弹枪模型使用时闪烁严重,而用98B的那把M4则没有问题,我也不知道为什么 另外还有一个局限性,该插件适用于较低版本插件平台(相当于2014年)高版本会直接崩溃
水一贴
cs起源爆炸插件源码(转自Devzone) #pragma semicolon 1 #include <sourcemod> #include <sdktools> // Global Definitions #define PLUGIN_VERSION "1.0.0" new Handle:cvarEnable; new Handle:cvarGuns; new Handle:cvarRadius; new Handle:cvarMagnitude; // Functions public Plugin:myinfo = { name = "Rocket Guns", author = "bl4nk", description = "Specified guns shoot explosive rounds", version = PLUGIN_VERSION, url = "http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fforums.alliedmods.net&urlrefer=83c26d97f631a684235a01e30a3f585a" }; public OnPluginStart() { CreateConVar("sm_rocketguns_version", PLUGIN_VERSION, "Rocket Guns Version", FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_REPLICATED|FCVAR_NOTIFY); cvarEnable = CreateConVar("sm_rocketguns_enable", "1", "Enable/Disable the plugin", FCVAR_PLUGIN, true, 0.0, true, 1.0); cvarGuns = CreateConVar("sm_rocketguns_guns", "awp deagle", "Which guns shoot explosions (separated by spaces)", FCVAR_PLUGIN); cvarRadius = CreateConVar("sm_rocketguns_radius", "70", "Radius of the explosions", FCVAR_PLUGIN, true, 1.0, false, _); cvarMagnitude = CreateConVar("sm_rocketguns_magnitude", "3", "Magnitude of the explosions", FCVAR_PLUGIN, true, 1.0, false, _); PrecacheGeneric("sprites/zerogxplode.spr", true); HookEvent("bullet_impact", event_BulletImpact); } public Action:event_BulletImpact(Handle:event, const String:name[], bool:dontBroadcast) { if (!GetConVarInt(cvarEnable)) return; new client = GetClientOfUserId(GetEventInt(event, "userid")); new Float:origin[3]; origin[0] = GetEventFloat(event, "x"); origin[1] = GetEventFloat(event, "y"); origin[2] = GetEventFloat(event, "z"); decl String:weapon[32], String:gunsString[255]; GetClientWeapon(client, weapon, sizeof(weapon)); ReplaceString(weapon, sizeof(weapon), "weapon_", ""); GetConVarString(cvarGuns, gunsString, sizeof(gunsString)); new startidx = 0; if (gunsString[0] == '"') { startidx = 1; new len = strlen(gunsString); if (gunsString[len-1] == '"') { gunsString[len-1] = '\0'; } } if (StrContains(gunsString[startidx], weapon, false) != -1) { new radius = GetConVarInt(cvarRadius); new magnitude = GetConVarInt(cvarMagnitude); decl String:s_radius[32], String:s_magnitude[32]; IntToString(radius, s_radius, sizeof(s_radius)); IntToString(magnitude, s_magnitude, sizeof(s_magnitude)); new entity = CreateEntityByName("env_explosion"); DispatchKeyValueVector(entity, "origin", origin); DispatchKeyValue(entity, "imagnitude", s_magnitude); DispatchKeyValue(entity, "iradiusoverride", s_radius); SetEntPropEnt(entity, Prop_Send, "m_hOwnerEntity", client); DispatchSpawn(entity); AcceptEntityInput(entity, "Explode"); TE_SetupExplosion(origin, -1, 1.0, 30, TE_EXPLFLAG_NONE, radius, magnitude); TE_SendToClient(client); } }
突然发现Devzone又开了 深夜突然吐槽一发
高考要考完了 吧里的人会多起来吗
有人与CNC上一个叫Csabi的人联机过吗 寒假,经常cnc和他联机
唉,cs起源v88插件出现问题,用大神能帮忙解决吗 1L概述,加入插件后,玩cs起源总是玩个20分钟,游戏自动关闭,但是我找到了错误报告log文件
我有一个问题,加特林不是尤里的吗? 有图有真相 猎狼直升机 花费:$1700 速度:23 (飞行速度) 耐久:400 装甲类型:中型装甲 Air 建造前提:苏联战车工厂,苏联科技实验室 功能:防空 武器:4架 12.7 毫米加特林机枪,“锲克美尔”导弹 射程:机枪射程7,导弹射程8 该单位由 苏维埃联盟 专属。 猎狼直升机是一种能够对付最为坚固的敌军单位的空中力量,无论是地面还是天空。一旦猎狼直升机锁定了它的目标,大量的高爆导弹或是其高杀伤力的加特林机枪必会将其撕成碎片。尽管火力十足,但猎狼直升机在面对防空火力时,反应常常十分迟缓并容易成为其牺牲品。苏联猎狼直升机 有没有搞错,苏联咋会有加特林。
1
下一页