From 2dc9ea533515ab1b55991ba52785a096a0d7eaec Mon Sep 17 00:00:00 2001 From: Steven Howard Date: Sun, 14 Oct 2018 09:53:49 +0100 Subject: [PATCH] vehicle jacking your own vehicle fix --- gamemodes/irresistible/cnr/features/car_jacker.pwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemodes/irresistible/cnr/features/car_jacker.pwn b/gamemodes/irresistible/cnr/features/car_jacker.pwn index 8034243..d8e8eb0 100644 --- a/gamemodes/irresistible/cnr/features/car_jacker.pwn +++ b/gamemodes/irresistible/cnr/features/car_jacker.pwn @@ -53,7 +53,7 @@ hook OnPlayerDriveVehicle( playerid, vehicleid ) new iVehiclePrice = calculateVehicleSellPrice( vehicleid ); - if ( IsPlayerJob( playerid, JOB_DIRTY_MECHANIC ) && p_Class[ playerid ] == CLASS_CIVILIAN ) + if ( IsPlayerJob( playerid, JOB_DIRTY_MECHANIC ) && p_Class[ playerid ] == CLASS_CIVILIAN && iVehiclePrice ) { if ( g_LastExportModel[ playerid ] == GetVehicleModel( vehicleid ) ) {