mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 11:42:38 +03:00
Add the _ to the Land and escape the character
LandRover vehicles are being ignored with this script. If you escape the '_' with '\' it will only look for the '_' character used with all build able land objects. Currently LandRover vehicles will not be unlocked or deleted, as they are ignored with the current 'Land%' match.
This commit is contained in:
@@ -46,7 +46,7 @@ BEGIN
|
||||
AND `Object_DATA`.`CharacterID` <= 12500
|
||||
AND `Object_DATA`.`Classname` NOT LIKE 'Tent%'
|
||||
AND `Object_DATA`.`Classname` NOT LIKE '%Locked'
|
||||
AND `Object_DATA`.`Classname` NOT LIKE 'Land%'
|
||||
AND `Object_DATA`.`Classname` NOT LIKE 'Land\_%' -- added escape character so LandRover vehicles are not ignored
|
||||
AND `Object_DATA`.`Classname` NOT LIKE 'Cinder%'
|
||||
AND `Object_DATA`.`Classname` NOT LIKE 'Wood%'
|
||||
AND `Object_DATA`.`Classname` NOT LIKE 'Metal%'
|
||||
@@ -118,7 +118,7 @@ CREATE EVENT `UnlockNonKeyVehicles` ON SCHEDULE EVERY 1 DAY DO UPDATE
|
||||
AND `Object_DATA`.`CharacterID` <= 12500
|
||||
AND `Object_DATA`.`Classname` NOT LIKE 'Tent%'
|
||||
AND `Object_DATA`.`Classname` NOT LIKE '%Locked'
|
||||
AND `Object_DATA`.`Classname` NOT LIKE 'Land%'
|
||||
AND `Object_DATA`.`Classname` NOT LIKE 'Land\_%' -- added escape character so LandRover vehicles are not ignored
|
||||
AND `Object_DATA`.`Classname` NOT LIKE 'Cinder%'
|
||||
AND `Object_DATA`.`Classname` NOT LIKE 'Wood%'
|
||||
AND `Object_DATA`.`Classname` NOT LIKE 'Metal%'
|
||||
|
||||
Reference in New Issue
Block a user