E-mail Posted September 16, 2011 Share Posted September 16, 2011 Hi all i have made tag Fake Kick ! bug some times he dont kick the players use [C] exampl if i used [C] Tag he say login or you well Kicked For ues Fake Tag function protectTag ( ) for i,v in ipairs ( getElementsByType ( "player" ) ) do local playername = getPlayerName ( v ) if string.find ( playername, get ( 'Tag' ) ) then local accname = getAccountName ( getPlayerAccount ( v ) ) if hasObjectPermissionTo ( v, 'function.kickPlayer' ) then return true else setTimer ( outputChatBox, 10000, 1, 'Please login or be kicked!', v ) setTimer ( kickPlayer, 20000, 1, v, 'ClanFaking - You have been warned!' ) end end end end setTimer ( protectTag, 20000, 0 ) addEventHandler ( 'onResourceStart', resourceRoot, protectTag ) Link to comment
Cadu12 Posted September 16, 2011 Share Posted September 16, 2011 Dont say that you made it. It was made by Pr0Rac3r. If i remember Edit: Here is link: https://community.multitheftauto.com/index.php?p= ... ls&id=1875 Link to comment
E-mail Posted September 16, 2011 Author Share Posted September 16, 2011 Caud12 His Script dont work i have made some litel thing in ClientSide ! His Script dont kick some times if you can fix it fix it or dont be lame ! Link to comment
Cadu12 Posted September 16, 2011 Share Posted September 16, 2011 https://wiki.multitheftauto.com/wiki/OnPlayerJoin I tinhk his scripts is wrong, learn LUA and create your own... 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