PHP Code:
new const example_sound[] = "misc/example/sound.wav"
new const example_model[] = "models/example/model.mdl"
public plugin_precache()
precache_sound(example_sound)
engfunc(EngFunc_PrecacheModel, example_model)
//...
case 1:
{
client_cmd(id, "spk ^"%s^"", example_sound)
cs_set_user_model(id, "example_model")
}
plz, help.
when i selected a menu option, i can't hear the sound, and the model
didn't set.
plz help
sorry for my english