fix potential chuffsec issue

This commit is contained in:
Lorenc Pekaj 2018-09-30 02:37:13 +10:00
parent c5c0213793
commit d0b1061ad2

View File

@ -127,6 +127,10 @@ CMD:respawnalluv( playerid, params[ ] )
{ {
for( new i = 0; i < MAX_VEHICLES; i++ ) if ( IsValidVehicle( i ) ) for( new i = 0; i < MAX_VEHICLES; i++ ) if ( IsValidVehicle( i ) )
{ {
#if defined __cnr__chuffsec
if ( g_secureTruckVehicle == i ) continue;
#endif
// keep trailers // keep trailers
if ( IsTrailerVehicle( GetVehicleModel( i ) ) ) if ( IsTrailerVehicle( GetVehicleModel( i ) ) )
continue; continue;