don't save buyable vehicle data when respray

We can skip this behaviour because a buyable vehicle don't change colors when it's resprayed.
This commit is contained in:
Pichai Lertwachirakul 2020-05-28 04:59:18 +07:00 committed by GitHub
parent a5c222b9a2
commit 0dc4f5dbc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -256,6 +256,8 @@ hook OnVehiclePaintjob( playerid, vehicleid, paintjobid )
return 1;
}
// We can skip this behaviour because a buyable vehicle don't change colors when it's resprayed.
/*
hook OnVehicleRespray( playerid, vehicleid, color1, color2 )
{
if ( g_buyableVehicle{ vehicleid } == true )
@ -273,6 +275,7 @@ hook OnVehicleRespray( playerid, vehicleid, color1, color2 )
}
return 1;
}
*/
/* ** Commands ** */
CMD:vehicle( playerid, params[ ] ) return cmd_v( playerid, params );