Disable /vc admin vehicle respawning
This commit is contained in:
parent
d314639f59
commit
38f8cc460e
@ -290,7 +290,7 @@ CMD:vcreate( playerid, params [ ] )
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( iCarModel != -1 ) {
|
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;
|
g_adminSpawnedCar{ vCar } = true;
|
||||||
LinkVehicleToInterior( vCar, GetPlayerInterior( playerid ) );
|
LinkVehicleToInterior( vCar, GetPlayerInterior( playerid ) );
|
||||||
SetVehicleVirtualWorld( vCar, GetPlayerVirtualWorld( playerid ) );
|
SetVehicleVirtualWorld( vCar, GetPlayerVirtualWorld( playerid ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user