Disable /vc admin vehicle respawning

This commit is contained in:
ChronosX88 2024-01-09 21:38:28 +03:00
parent d314639f59
commit 38f8cc460e

View File

@ -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 ) );