vehicle jacking your own vehicle fix
This commit is contained in:
parent
6dc23cb749
commit
2dc9ea5335
@ -53,7 +53,7 @@ hook OnPlayerDriveVehicle( playerid, vehicleid )
|
|||||||
new
|
new
|
||||||
iVehiclePrice = calculateVehicleSellPrice( vehicleid );
|
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 ) )
|
if ( g_LastExportModel[ playerid ] == GetVehicleModel( vehicleid ) )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user