X-SHADOW Posted April 18, 2012 Share Posted April 18, 2012 Hi all i want to Make a original table with vehicles and skins and weapons if the vehicles and weapons and skins of player not original then Kick Him With Kick Msg i found this on Wiki how to edit it ? checkModels = { "m4.dff", "ak47.dff" } function handleOnPlayerModInfo ( filename, modList ) for _,mod in ipairs(modList) do -- Check each modified item for _,checkName in ipairs(checkModels) do if mod.name == checkName then -- See if modified item is in our check list outputChatBox ( "Not allowed to used modified weapons. Please restore " .. filename ) end end end end addEventHandler ( "onPlayerModInfo", getRootElement(), handleOnPlayerModInfo ) Link to comment
Absence2 Posted April 18, 2012 Share Posted April 18, 2012 so if I understood correctly, you want to disable all modifications? I assume a huge *ss table would be the only way then. Link to comment
X-SHADOW Posted April 18, 2012 Author Share Posted April 18, 2012 yes disable all modifications of weapons / cars / skins if it modificated then kick the player . Link to comment
X-SHADOW Posted April 19, 2012 Author Share Posted April 19, 2012 any help over here. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now