You are not logged in.

Dear visitor, welcome to sourceserver.info. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

clauß

Beginner

  • "clauß" started this thread

Posts: 1

wcf.user.option.userOption53: Nein

  • Send private message

1

Thursday, February 14th 2013, 6:55pm

CS:S AWP Restrict

Hallo

Auf einem Server von einem Kollegen (32 Slots) ist die AWP auf 1 Restricted...Nur leider ist es so wenn z:B ich Terror bin und mein Freund auch,er hat die AWP und ich hab die Ak...Aufeinmal finde ich eine AWP beim CT spawn (Die AWP Hab ich gefunden weil der CT gestorben ist der die AWP hatte) und wenn er die AWP immernoch hat (Mein Freund) kann ich die AWP die auf dem Boden liegt einfach aufheben...Am ende sind es dann 2 AWP die wir dann haben...Am anfang der nächsten Runde hat dann der der sie Gefunden aht die AWP Automatisch verloren...Obwohl die AWP auf 1 Restricted ist kann man sie einfach aufheben


Spoiler Spoiler

Code:// This file was auto-generated by SourceMod (v1.4.0)
// ConVars for plugin "weapon_restrict.smx"


// Set to 0 to allow awp pickup ONLY if it is under the max allowed. Set to 1 to use sm_allow_restricted_pickup method.
// -
// Default: "1"
sm_allow_awp_pickup "0"

// Set to 0 to ONLY allow pickup if under the max allowed. Set to 1 to allow restricted weapon pickup
// -
// Default: "0"
sm_allow_restricted_pickup "0"

// If enabled will count bots in per player restricts
// -
// Default: "1"
sm_perplayer_bots "1"

// If enabled will restrict awp per player count
// -
// Default: "0"
sm_perplayer_restrict "0"

// If enabled will count specs in per player restricts
// -
// Default: "1"
sm_perplayer_specs "1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:ak47
// -
// Default: "-1"
sm_restrict_ak47_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:ak47
// -
// Default: "-1"
sm_restrict_ak47_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:aug
// -
// Default: "-1"
sm_restrict_aug_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:aug
// -
// Default: "-1"
sm_restrict_aug_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:awp
// -
// Default: "-1"
sm_restrict_awp_ct "1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:awp
// -
// Default: "-1"
sm_restrict_awp_t "1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:c4
// -
// Default: "-1"
sm_restrict_c4 "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:deagle
// -
// Default: "-1"
sm_restrict_deagle_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:deagle
// -
// Default: "-1"
sm_restrict_deagle_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:defuser
// -
// Default: "-1"
sm_restrict_defuser "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:elite
// -
// Default: "-1"
sm_restrict_elite_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:elite
// -
// Default: "-1"
sm_restrict_elite_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:famas
// -
// Default: "-1"
sm_restrict_famas_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:famas
// -
// Default: "-1"
sm_restrict_famas_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:fiveseven
// -
// Default: "-1"
sm_restrict_fiveseven_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:fiveseven
// -
// Default: "-1"
sm_restrict_fiveseven_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:flashbang
// -
// Default: "-1"
sm_restrict_flashbang_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:flashbang
// -
// Default: "-1"
sm_restrict_flashbang_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:g3sg1
// -
// Default: "-1"
sm_restrict_g3sg1_ct "0"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:g3sg1
// -
// Default: "-1"
sm_restrict_g3sg1_t "0"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:galil
// -
// Default: "-1"
sm_restrict_galil_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:galil
// -
// Default: "-1"
sm_restrict_galil_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:glock
// -
// Default: "-1"
sm_restrict_glock_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:glock
// -
// Default: "-1"
sm_restrict_glock_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:hegrenade
// -
// Default: "-1"
sm_restrict_hegrenade_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:hegrenade
// -
// Default: "-1"
sm_restrict_hegrenade_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:knife
// -
// Default: "-1"
sm_restrict_knife_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:knife
// -
// Default: "-1"
sm_restrict_knife_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:m249
// -
// Default: "-1"
sm_restrict_m249_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:m249
// -
// Default: "-1"
sm_restrict_m249_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:m3
// -
// Default: "-1"
sm_restrict_m3_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:m3
// -
// Default: "-1"
sm_restrict_m3_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:m4a1
// -
// Default: "-1"
sm_restrict_m4a1_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:m4a1
// -
// Default: "-1"
sm_restrict_m4a1_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:mac10
// -
// Default: "-1"
sm_restrict_mac10_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:mac10
// -
// Default: "-1"
sm_restrict_mac10_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:mp5navy
// -
// Default: "-1"
sm_restrict_mp5navy_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:mp5navy
// -
// Default: "-1"
sm_restrict_mp5navy_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:nvgs
// -
// Default: "-1"
sm_restrict_nvgs_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:nvgs
// -
// Default: "-1"
sm_restrict_nvgs_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:p228
// -
// Default: "-1"
sm_restrict_p228_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:p228
// -
// Default: "-1"
sm_restrict_p228_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:p90
// -
// Default: "-1"
sm_restrict_p90_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:p90
// -
// Default: "-1"
sm_restrict_p90_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:scout
// -
// Default: "-1"
sm_restrict_scout_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:scout
// -
// Default: "-1"
sm_restrict_scout_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:sg550
// -
// Default: "-1"
sm_restrict_sg550_ct "0"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:sg550
// -
// Default: "-1"
sm_restrict_sg550_t "0"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:sg552
// -
// Default: "-1"
sm_restrict_sg552_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:sg552
// -
// Default: "-1"
sm_restrict_sg552_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:smokegrenade
// -
// Default: "-1"
sm_restrict_smokegrenade_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:smokegrenade
// -
// Default: "-1"
sm_restrict_smokegrenade_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:tmp
// -
// Default: "-1"
sm_restrict_tmp_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:tmp
// -
// Default: "-1"
sm_restrict_tmp_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:ump45
// -
// Default: "-1"
sm_restrict_ump45_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:ump45
// -
// Default: "-1"
sm_restrict_ump45_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:usp
// -
// Default: "-1"
sm_restrict_usp_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:usp
// -
// Default: "-1"
sm_restrict_usp_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:vest
// -
// Default: "-1"
sm_restrict_vest_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:vest
// -
// Default: "-1"
sm_restrict_vest_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:vesthelm
// -
// Default: "-1"
sm_restrict_vesthelm_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:vesthelm
// -
// Default: "-1"
sm_restrict_vesthelm_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:xm1014
// -
// Default: "-1"
sm_restrict_xm1014_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:xm1014
// -
// Default: "-1"
sm_restrict_xm1014_t "-1"

// Sound to play when a weapon is restricted (leave blank to disable)
// -
// Default: "sound/buttons/weapon_cant_buy.wav"
sm_restricted_sound "sound/buttons/weapon_cant_buy.wav"

// If 1 disables ff during warmup. If 0 leaves ff enabled
// -
// Default: "1"
sm_warmup_disable_ff "1"

// Enable warmup.
// -
// Default: "1"
sm_warmup_enable "0"

// Weather or not give infinite grenades if warmup weapon is grenades
// -
// Default: "1"
sm_warmup_infinite "1"

// Respawn players during warmup
// -
// Default: "1"
sm_warmup_respawn "1"

// Time after death before respawning player
// -
// Default: "0.5"
sm_warmup_respawn_time "0.5"

// How long in seconds warmup lasts
// -
// Default: "45"
sm_warmup_time "45"

// Enables admin immunity so admins can buy restricted weapons
// -
// Default: "0"
sm_weapon_restrict_immunity "0"

This post has been edited 1 times, last edit by "fluxX" (Feb 14th 2013, 7:04pm)


freak.exe_uLow?

Professional

Posts: 523

Occupation: Admin

wcf.user.option.userOption53: Ja

  • Send private message

2

Friday, February 15th 2013, 5:03pm

Hey

Hast du eine Error.log vielleicht hast du ein fehler...wenn nicht kann ich es dir mal einstellen das jeder Ct & T nur 1 x Awp haben darf.

Dein Spoiler (weapon_restrict.cfg) ist soweit ganz okay wurde alles richtig gemacht!!

Zitat: Ich denke du hast das Plugin drauf http://forums.alliedmods.net/showthread.php?t=69987

Oben steht das das Plugin nicht mehr richtig geht und mehrere Fehler von sich gibt, der Autor ist seit 1 Jahr nicht Aktiv gewesen!

Versuche es mal damit https://forums.alliedmods.net/showthread.php?t=105219 , benötigt aber SDKHooks Link : SDK Hooks 2.1 - Updated 2011-9-10

Mfg: freak.exe uLow?

This post has been edited 2 times, last edit by "freak.exe_uLow?" (Feb 15th 2013, 5:10pm)


_Gatsch_

Trainee

Posts: 65

Location: Österreich

Occupation: Mechatroniker

wcf.user.option.userOption53: Nein

  • Send private message

3

Friday, February 15th 2013, 5:22pm

Das Plugin was du ihm vorgeschlagen hast hat er drauf.

Glaube da kann man mit dem Plugin nichts mehr machen das es so funktioniert wie du es willst.

This post has been edited 1 times, last edit by "_Gatsch_" (Feb 15th 2013, 6:18pm)


freak.exe_uLow?

Professional

Posts: 523

Occupation: Admin

wcf.user.option.userOption53: Ja

  • Send private message

4

Friday, February 15th 2013, 7:43pm

Hey

Ich verstehe es so er hat die Waffe Restrictet....nur 1 Ct & 1 T können sich die Awp Kaufen... Runden ende läuft er über die Awp vom Ct und kann sie aufheben was eigentlich nur 1 Fehler von ihm sein kann da ich das Plugin vor ne Woche getest habe und es 1a geht, er soll einfach die error.log mal hochladen mal schaun was da drinne steht.

Mfg: freak.exe uLow?

_Gatsch_

Trainee

Posts: 65

Location: Österreich

Occupation: Mechatroniker

wcf.user.option.userOption53: Nein

  • Send private message

5

Friday, February 15th 2013, 7:50pm

Ja so ein Fehler fällt auch nicht jedem gleich auf.
Eig. auch ein unwichtiger Fehler ob es jetzt eine Awp mehr oder weniger am Team gibt.


freak.exe_uLow?

Professional

Posts: 523

Occupation: Admin

wcf.user.option.userOption53: Ja

  • Send private message

6

Saturday, February 16th 2013, 8:57pm

_Gatsch_ ;)

Naja wenn er es aber so haben will das nur 1 Ct & T nur 1 Awp benutzen dürfen, dann soll er mich mal adden kann ihn ja mal bei dem problem helfen ist ja nicht schwer ;)

Mfg: freak.exe uLow?

_Gatsch_

Trainee

Posts: 65

Location: Österreich

Occupation: Mechatroniker

wcf.user.option.userOption53: Nein

  • Send private message

7

Saturday, February 16th 2013, 9:18pm

Naja wenn man weiß woran es liegt ^^

Aber irgendwie glaube ich das geht gar nicht anders.


freak.exe_uLow?

Professional

Posts: 523

Occupation: Admin

wcf.user.option.userOption53: Ja

  • Send private message

8

Saturday, February 16th 2013, 10:00pm

Wenn du es sagst ^^

Von meiner Seite aus hat er ein fehler, aber naja du weist es ja besser :rolleyes: :-D

Mfg: freak.exe uLow?

_Gatsch_

Trainee

Posts: 65

Location: Österreich

Occupation: Mechatroniker

wcf.user.option.userOption53: Nein

  • Send private message

9

Saturday, February 16th 2013, 10:05pm

NeNe is nur meine Meinung ;)