anyone know where to modify the speed of the character in the files?
speed of character
-
-
alguém sabe onde modificar a velocidade do personagem nos arquivos?
@ setspeed == increase movement speed. Example: @ setspeed 100
-
@ setspeed == increase movement speed. Example: @ setspeed 100
yes but that is done in the game chat thanks to the privileges that the user has, I know that in the backend of the server it rewrites that variable, matching it to the entered speed, however in the server files the value must be assigned somewhere by default, for example in the gm.cpp file there is the
ACMD function(do_setspeed) {
.................
.................
pPlayer-> UpdateMoveSpeed (fSpeed, fSpeed);
}
which in the end calls the UpdateMoveSpeed method with the variables fSpeed, fSpeed which are the ones that have the speed defined.
In which file is the default speed defined for all characters?
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!