Cleanup & move inVehicle to main client js
This commit is contained in:
@@ -10,10 +10,6 @@
|
|||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
let inVehicle = null;
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
addEventHandler("onProcess", function(event, deltaTime) {
|
addEventHandler("onProcess", function(event, deltaTime) {
|
||||||
if(localPlayer != null && localPlayer.getData("ag.spawned") != null) {
|
if(localPlayer != null && localPlayer.getData("ag.spawned") != null) {
|
||||||
if(localPlayer.health <= 0) {
|
if(localPlayer.health <= 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user