rock-mod
Version:
Rock-Mod is a powerful framework designed for creating and managing mods for Grand Theft Auto (GTA) games.
11 lines (10 loc) • 418 B
JavaScript
/// <reference types="@classic-mp/types/client" />
export class CCMPGameplayManager {
setFadeOutAfterDeath(toggle) {
ccmp.natives.misc.setFadeOutAfterDeath(toggle);
}
getGroundZFor3dCoord(position, ignoreWater, waterLevelCheck) {
const result = ccmp.natives.misc.getGroundZFor3dCoord(position.x, position.y, position.z, ignoreWater, waterLevelCheck);
return result.groundz;
}
}