楼主要是不会HOOK的话,就把尸体消息打断,自己在killed_Post里面建立一个新的尸体消息吧
以下零碎东西给楼主参考下
set_msg_block(get_user_msgid("ClCorpse"), BLOCK_SET)
public native_spawn_body(iPlayer)
{
new Float:origin[3], Float:angles[3]
pev(iPlayer, pev_angles, angles)
pev(iPlayer, pev_origin, origin)
static model[64]
engfunc(EngFunc_InfoKeyValue, engfunc(EngFunc_GetInfoKeyBuffer, iPlayer), "model", model, charsmax(model))
format(model, charsmax(model), "models/player/%s/%s.mdl", model, model)
message_begin(MSG_ALL, get_user_msgid("ClCorpse"))
write_string(model)
write_long(floatround(origin[0])*128)
write_long(floatround(origin[1])*128)
write_long(floatround(origin[2])*128)
engfunc(EngFunc_WriteCoord, angles[0])
engfunc(EngFunc_WriteCoord, angles[1])
engfunc(EngFunc_WriteCoord, angles[2])
write_long(0)
write_byte(pev(iPlayer, pev_sequence))
write_byte(pev(iPlayer, pev_body))
message_end()
}