基本上有座標就行了..
提供一個屁股噴煙的插件讓你參考看看吧
其他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()
}