PC-Experience (https://www.pc-experience.de/wbb2/index.php)
- Software Foren: (https://www.pc-experience.de/wbb2/board.php?boardid=17)
-- Games, Player, Konsolen: (https://www.pc-experience.de/wbb2/board.php?boardid=26)
--- CS: Source - Scripting Problem (https://www.pc-experience.de/wbb2/thread.php?threadid=14742)
Geschrieben von cobra am 30.03.2005 um 20:38:
CS: Source - Scripting Problem
hi all, ich habe ein problem mit meinem script !!!
hab mir schon vor ziemlich langer zeit ein buyscript gemacht was auch prima funktioniert. heute wollte ich es um 2 einträge und 6 'say'-binds erweitern, aber die funktionieren nicht. ;(
das sind die 8 neuen scriptings:
-- bind “KP_SLASH” “buy smokegrenade“
-- bind “KP_*“ “buy flashbang“
-- bind "INS" "say_team >Planting / Defusing C4<”
-- bind "DEL" "say_team >Attention, Flashbang !<”
-- bind "HOME" “say_team >Bomb @ A<”
-- bind "END" "say_team >Bomb @ B<”
-- bind "PGUP" "say_team >Rush !<”
-- bind "PGDN" "say_team >Retreat !<”
mein buyscript liegt auf dem numblock (KP_ xxx), deshalb sollten die 2 weiteren granaten auch dahin.......die says sollten auf die tasten über den pfeilen
thx im voraus
Geschrieben von NeoChris am 30.03.2005 um 22:53:
Hallo cobra,
Zitat: |
-- bind “KP_SLASH” “buy smokegrenade“
-- bind “KP_*“ “buy flashbang“ |
|
müsste ungefähr so lauten:
bind "-" "sgren"
bind "*" "flash"
Das "SLASH" wird zu "-"und das
buy kannste auch weglassen.
Das andere sollte aber so funktionieren wie Du beschrieben hast.
Zitat: |
-- bind "INS" "say_team >Planting / Defusing C4<”
-- bind "DEL" "say_team >Attention, Flashbang !<”
-- bind "HOME" “say_team >Bomb @ A<”
-- bind "END" "say_team >Bomb @ B<”
-- bind "PGUP" "say_team >Rush !<”
-- bind "PGDN" "say_team >Retreat !<” |
|
bind "INS" "say_team >Planting / Defusing C4<"
bind "DEL" "say_team >Attention, Flashbang !<"
bind "HOME" "say_team >Bomb @ A<"
bind "END" "say_team >Bomb @ B<"
bind "PGUP" "say_team >Rush !<"
bind "PGDN" "say_team >Retreat !<"
Ich denke die Sonderzeichen -- vor dem bind lässt Du weg
Habe es eben in meine Config.cfg eingebunden und es hat funktioniert.
Also sollte es auch bei Dir funktionieren
Gruß,
NeoChris
Geschrieben von cobra am 31.03.2005 um 19:32:
die sonderzeichen waren auch nur zum einrücken ^^
ich spiel übrigens CS: Source. da sind die granat-befehle anders und deshalb steht auch das 'buy' vor jedem command.
meine says funktionieren mittlerweile...strange. bleiben nurnoch die granaten
Geschrieben von NeoChris am 31.03.2005 um 20:37:
Hallo Cobra,
Hast Du es mit den beiden Scriptbefehlen probiert ?
Im übrigen daddel ich CS1.6 und CS Source und bin selbst Serveradmin
von zwei CS1.6 und einem Sourceserver.
Ich selbst habe es wie schon geschrieben in meine Config unter Source eingefügt.
Gruß,
NeoChris
Forensoftware: Burning Board , entwickelt von WoltLab GmbH