Woops typo

This commit is contained in:
Vortrex
2022-04-12 09:01:09 -05:00
parent bb3fed1a81
commit eb56d5c584

View File

@@ -351,7 +351,7 @@ function getPlayerWeaponAmmo(client) {
function setPlayerVelocity(client, velocity) {
logToConsole(LOG_DEBUG, `Setting ${getPlayerDisplayForConsole(client)}'s velocity to ${velocity.x}, ${velocity.y}, ${velocity.z}`);
if(typeof cgetPlayerPed(client).velocity != "undefined") {
if(typeof getPlayerPed(client).velocity != "undefined") {
getPlayerPed(client).velocity = velocity;
}
}