[Tutorial] Schimbare arma dreapta/stanga
Posted: Tue Nov 23, 2021 5:41 pm
Daca vreti sa nu se vada arma atunci cand stati dupa colturi si ea sa se schimbe in functie de directia care mergeti urmati tutorialul de mai jos:
Cod:
bind a "+moveleft;cl_righthand 0"
bind d "+moveright;cl_righthand 1"
In momentul cand apesi pe tasta A arma se schimba in mana stanga, iar cand apesi pe D se muta in mana dreapta.
Puteti schimba A si D cu ce taste vreti voi.
cl_righthand 0 = mana stanga ( left hand )
cl_righthand 1 = mana dreapta ( right hand )
bind tasta "cl_righthand 0"
bind tasta "cl_righthand 1"
Cod:
bind a "+moveleft;cl_righthand 0"
bind d "+moveright;cl_righthand 1"
In momentul cand apesi pe tasta A arma se schimba in mana stanga, iar cand apesi pe D se muta in mana dreapta.
Puteti schimba A si D cu ce taste vreti voi.
cl_righthand 0 = mana stanga ( left hand )
cl_righthand 1 = mana dreapta ( right hand )
bind tasta "cl_righthand 0"
bind tasta "cl_righthand 1"