mfg.Quote:
// Copyright by Push The Limits
//--------------------------------------------
block load
{
es_xset ergebenlimit 0
es_xsetinfo ergebenlimit " "
es_set ergebenlimit 0
es_xset wpickuplim
es_xsetinfo wpickuplim " "
es_set wpickuplim 0
}
event round_start
{
es_msg #multi #green[#defaultErgeben by pTL gib !e ein um dich zu ergeben
es_xset ergebenlimit 0
es_xset wpickuplim 0
}
event player_say
{
if (event_var(text) == !e) do
{
if (event_var(es_steamid) in server_var(ergebenlimit)) do
{
es_tell event_var(userid) #multi #green[Ergeben] #lightgreen Du hast dich in dieser runde bereits Ergeben, oder bist TOT
}
else do
{
es_give event_var(userid) player_weaponstrip
es_fire event_var(userid) player_weaponstrip strip
es_msg #multi #green[#defaultErgeben#green]#lightgreen event_var(es_username) #green Ergibt sich!!
es_delayed 0.1 es_centermsg event_var(es_username) gibt auf!
es_tell event_var(userid) #multi #green[#defaultErgeben#green]#lightgreen Du bekommst dein #greenmesser#lightgreen in #green15#lightgreen sekunden zurueck.
es_tell event_var(userid) #multi #green[#defaultErgeben#green]#lightgreen Dir werden nun #green15#lightgreen sekunden lang alle Waffen abgezogen!.
es_delayed 16 es_give event_var(userid) weapon_knife
es_delayed 15 es_tell event_var(userid) #multi #green[#defaultErgeben#green]#green du hast dein Messer zurueck bekommen
es_delayed 10 es_tell event_var(userid) #multi #green[#defaultErgeben#green]#green in 6 sec. bekommst du dein knife zurueck!
es_format ergebenlimit "%1 %2" server_var(ergebenlimit) event_var(es_steamid)
es_format wpickuplim "%1 %2" server_var(wpickuplim) event_var(es_steamid)
es_delayed 15 es_xset wpickuplim 0
es_delayed 2 es_give event_var(userid) player_weaponstrip
es_delayed 2 es_fire event_var(userid) player_weaponstrip strip
es_delayed 5 es_give event_var(userid) player_weaponstrip
es_delayed 5 es_fire event_var(userid) player_weaponstrip strip
es_delayed 8 es_give event_var(userid) player_weaponstrip
es_delayed 8 es_fire event_var(userid) player_weaponstrip strip
es_delayed 11 es_give event_var(userid) player_weaponstrip
es_delayed 11 es_fire event_var(userid) player_weaponstrip strip
}
}
}
event item_pickup
{
if (event_var(es_steamid) in server_var(wpickuplim)) do
{
es_tell event_var(userid) #multi #green[#defaultErgeben#green]#green Du kannst in der ergebungs zeit keine waffen aufnehmen!
es_centertell event_var(userid) Du kannst 15 sek. keine Waffen Aufnehmen!
es_give event_var(userid) player_weaponstrip
es_fire event_var(userid) player_weaponstrip strip
}
}
event player_death
{
es_format ergebenlimit "%1 %2" server_var(ergebenlimit) event_var(es_steamid)
es_format wpickuplim "%1 %2" server_var(wpickuplim) event_var(es_steamid)
}
event round_end
{
es_xset ergebenlimit 0
es_xset wpickuplim 0
}