Check out example codes for "csgo buy binds". It will help you in understanding the concepts better.

Code Example 1

bind "kp_end" "buy ak47";bind "kp_downarrow" "buy famas";bind "kp_pgdn" "buy awp";bind "kp_ins" "buy vesthelm";bind "kp_del" "buy defuser";bind "kp_leftarrow" "buy ump45";bind "kp_5" "buy mp9";bind "kp_rightarrow" "buy ssg08";bind "kp_home" "buy smokegrenade; buy flashbang; buy flashbang; buy hegrenade";bind "kp_slash" "buy flashbang";bind "kp_multiply" "buy molotov; buy incgrenade";bind "kp_minus" "buy hegrenade";bind "kp_plus" "buy smokegrenade";

Learn ReactJs, React Native from akashmittal.com