View Single Post
Indiana
Member
Join Date: Nov 2004
Location: Landshut, Germany
Old 01-07-2005 , 06:17  
#3

Trag die cvars in die server.cfg oder amxx.cfg ein und er merkt sich das.

Für das aktivieren beider aktion kannst du z.b. eine nummer 4 einführen.
Modifiziere Zeile 154

Code:
                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)                 }
Erweitern um:

Code:
                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)                 }                 case 4: {                     set_user_health(id, get_user_health(id) - get_cvar_num("anticamping_healthpunish")) emit_sound(id,CHAN_VOICE,"player/heartbeat1.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)                 }
__________________
C'ya
Indiana

Visit my Fun-Clan: www.wc3-freaks.de
Indiana is offline