基本上有座标就行了..
提供一个屁股喷烟的插件让你参考看看吧
其他SPR的详情可参考
这里复制程式
#include <amxmodx>
new spr
public plugin_init()
{
register_plugin("Make spr","1.0","ME")
register_concmd("make_spr","make_spr") //在控制台打make_spr就可以喷烟了
}
public plugin_precache() spr = precache_model("sprites/steam1.spr")
public make_spr(id)
{
static origin[3]
get_user_origin(id,origin)
message_begin(MSG_BROADCAST,SVC_TEMPENTITY)
write_byte(5)
write_coord(origin[0]) // start position
write_coord(origin[1])
write_coord(origin[2])
write_short(spr) // sprite index
write_byte(100) // scale in 0.1's
write_byte(100) // framerate
message_end()
}