integration: isPlayerTrialAdmin( thePlayer ) then anticheat: changeProtectedElementDataEx( source, field, parameter, streamtoall, streamatall)įunction getAllVehs( thePlayer, commandName. DELETE FROM `vehicles` WHERE `deleted` != '0' AND `deleted` IS NOT NULL AND `deletedDate` IS NULL įunction setElementDataEx( source, field, parameter, streamtoall, streamatall)Įxports. Clean up vehicles that was deleted before we introduced deletedDate: DELETE FROM `vehicles` WHERE `deleted` != '0' AND `deleted` IS NOT NULL AND `deletedDate` IS NOT NULL AND (DATEDIFF(NOW(), deletedDate) > 30 ) Clean up vehicles that was deleted more than 30 days ago: mysql: createMigrations( getResourceName( getThisResource()), migrations) "ALTER TABLE `vehicles` ADD `deletedDate` DATETIME NULL DEFAULT NULL AFTER `deleted` "ĪddEventHandler( 'onResourceStart ', resourceRoot,Įxports. * Unauthorized copying of this file, via any medium is strictly prohibited This program and the accompanying materials are private property belongs to OwlGaming Community * Copyright (c) 2015 OwlGaming Community - All Rights Reserved
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |