From 38f8cc460e87f8d66d289814ab9ed2d99890a61d Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Tue, 9 Jan 2024 21:38:28 +0300 Subject: [PATCH] Disable /vc admin vehicle respawning --- gamemodes/irresistible/cnr/commands/admin/admin_four.pwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemodes/irresistible/cnr/commands/admin/admin_four.pwn b/gamemodes/irresistible/cnr/commands/admin/admin_four.pwn index 544c5fc..a6b3bb9 100644 --- a/gamemodes/irresistible/cnr/commands/admin/admin_four.pwn +++ b/gamemodes/irresistible/cnr/commands/admin/admin_four.pwn @@ -290,7 +290,7 @@ CMD:vcreate( playerid, params [ ] ) } if ( iCarModel != -1 ) { - if ( ( vCar = CreateVehicle( iCarModel, X, Y, Z, Angle, -1, -1, 9999999999999999 ) ) ) { + if ( ( vCar = CreateVehicle( iCarModel, X, Y, Z, Angle, -1, -1, -1 ) ) ) { g_adminSpawnedCar{ vCar } = true; LinkVehicleToInterior( vCar, GetPlayerInterior( playerid ) ); SetVehicleVirtualWorld( vCar, GetPlayerVirtualWorld( playerid ) );