-- Server Side
checkModels = {
"rifle.ifp",
"hmybe.dff",
"hmybe.txd",
"bmybe.dff",
"bmybe.txd",
"proc_int.col",
"fight_e.ifp",
"a51.txd",
"a51_ext.txd",
"a51_labs.txd",
"carimpound_sfe.txd",
"ce_farmxref.txd",
"copshop_sfe.txd",
"crack_intkb.txd",
"crackfact_sfse.txd",
"crackfactdem_sfs.txd",
"freight_sfe.txd",
"frieghter2sfe.txd",
"lanpolicecp.txd",
"lanriver.txd",
"vgndwntwn1.txd",
"bakery_sfse.txd",
"bakerybit_sfse.txd",
"bigshed_sfse.txd",
"factory_sfse.txd",
"factorynewsfse.txd",
"genwhse_sfse.txd",
"vgsswarehse01.txd",
"vgsswarehse02b.txd",
"vgsswrehse03.txd",
}
function handleOnPlayerModInfo( filename, modList )
for _, mod in ipairs( modList ) do
for _, checkName in ipairs( checkModels ) do
if mod.name == checkName then
banPlayer( source )
end
end
end
end
addEventHandler ( "onPlayerModInfo", getRootElement(), handleOnPlayerModInfo )
ملاحظة : البان لا نهائي