raprush 发表于 2016-11-22 19:24:51

哪位朋友能给个弹道显示的码源吗

找了一圈没有找到   哪位朋友有的帮个忙{:6_191:}

raprush 发表于 2016-11-22 19:29:14

我的意思是这种简单的弹道的码源      
war_weapon_tracers.amxx
wartracers.amxx
我发过的那个对我来说比较复杂   想弄个简单点的先研究下

all85100 发表于 2017-1-5 13:06:38

/* AMX Mod script.
*
* (c) Copyright 2002, OLO
* This file is provided as is (no warranties).
*
* Modified by Hephaistos from amxmod.net
* (original plugin is "Weapon Tracers")
* to draw tracers on every bullet.
*
* To disable plugin use "amx pause war_wea" from server console.
*/
#include <amxmodx>
new lastammo
public make_tracer(id){
new ammo = read_data(3)

if ( lastammo > ammo ) {
new vec1, vec2
get_user_origin(id,vec1,1)
get_user_origin(id,vec2,3)

message_begin(MSG_PAS, SVC_TEMPENTITY,vec1 )
write_byte( 6 ) /* TE_TRACER - see commo/const.h in HLSDK */
write_coord(vec1)
write_coord(vec1)
write_coord(vec1)
write_coord(vec2)
write_coord(vec2)
write_coord(vec2)
message_end()
}

lastammo = ammo
}
public plugin_init() {
register_plugin("War Weapon Tracers","0.9","Hephaistos")
register_event("CurWeapon","make_tracer","be","1=1","3>0")
return PLUGIN_CONTINUE
}

LJWCCC 发表于 2021-4-13 13:50:51

顶顶,2333
页: [1]
查看完整版本: 哪位朋友能给个弹道显示的码源吗