I'm runing the BlattMonster- and the Anticamping-Plugin and instead of slaping the user/player, like in "
case 1", I'd like to spawn a monster on the camper, like bbmonster_spawn <monster> <player>, from the BlattMonster-Plugin!!!
How to do??? Any suggestions???
Code:
// a part out of anticamping.sma
....
} else if (campmeter[id]>100) {
switch(get_cvar_num("anticamping")) {
case 1: {
user_slap(id,get_cvar_num("anticamping_healthpunish")) }
case 2: {
set_user_health(id, get_user_health(id) - get_cvar_num("anticamping_healthpunish"))
}
case 3: {
emit_sound(id,CHAN_VOICE,"player/heartbeat1.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)
....