CS:S Scripting

Soldato
Joined
18 Oct 2002
Posts
7,515
Location
Maidenhead
Hi all,

Just me being lazy, but I was wondering if anyone is good at cs scripting?

Is it possible to use variables in game?

ie is it possible to drop down the console and type something like

user = "Tinman"

then have binds set up which say

bind j "ma_freeze user"
bind k "ma_telport user"
bind l "ma_beacon user"

that way you could just type their name once, then hit j, k, l to freeze teleport and beacon them?

Ideas?
 
Shimmy said:
Not exactly sure.

Although it does worry me somewhat that you want binds to do that...
why? We have a rule against vent camping. Instead of just slaying people, I tend to freeze them, beacon them and teleport them. Can take a little while through the mani system if they have a strange name, so this would make it easier.


Megahurtz400 - the commands I exampled are correct
 
Back
Top Bottom