random commit
This commit is contained in:
@@ -56,6 +56,12 @@ export default function checkpointHandle(globalData: GlobalData) {
|
||||
}
|
||||
});
|
||||
|
||||
mp.events.add('getCP', () => {
|
||||
var pos = posCp;
|
||||
mp.events.callRemote("sendCP", posCp.x, posCp.y, posCp.z);
|
||||
});
|
||||
|
||||
|
||||
function myTimer() {
|
||||
let dist = mp.game.gameplay.getDistanceBetweenCoords(Player.position.x, Player.position.y, 0, posCp.x, posCp.y, 0, false);
|
||||
//mp.gui.chat.push("delay: " + delay + " | delayCounter: " + delayCounter);
|
||||
|
||||
Reference in New Issue
Block a user