fix potential chuffsec issue
This commit is contained in:
parent
c5c0213793
commit
d0b1061ad2
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user