Jump to content

KissMTA

Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by KissMTA

  1. Hey I want make a Anti RPG spam script i made it u can only shoot every 7 seconds but it isnt work , it worked 3-5 months ago and i re-add it then not work anymore idk why DEBUG CINantiRPGspam/antiSpammm.lua:15: Bad usage @'addEventHandler'['onClientPlayerWeaponSwitch' with this function is already handled] CINantiRPGspam/antiSpammm.lua:16: Bad usage @'addEventHandler'['onClientPlayerWeaponFire' with this function is already handled] timer = {} addEventHandler("onClientPlayerWeaponFire", localPlayer, function(weapon) if weapon == 35 then setElementData(localPlayer, "anti repeater", true); if ( getElementData(localPlayer, "anti repeater") == true ) then timer[source] = setTimer( function() toggleControl("fire", true) toggleControl("aim_weapon", true); setElementData(localPlayer, "anti repeater", false); removeEventHandler("onClientPlayerWeaponSwitch", getRootElement(), cancelShots); removeEventHandler("onClientPlayerWeaponFire", getRootElement(), cancelShots); end, 7000, 1 ) addEventHandler("onClientPlayerWeaponSwitch", getRootElement(), cancelShots); addEventHandler("onClientPlayerWeaponFire", getRootElement(), cancelShots); end end end) function cancelShots() if ( getPedWeapon(localPlayer) == 35 ) then toggleControl("fire", false); toggleControl("aim_weapon", false); else toggleControl("aim_weapon", true); toggleControl("fire", true); end end
  2. KissMTA

    notfixed.

    gate15 = createObject(16773, 2598.8427734375, -2422.517578125, 12.74122314453, 90, 0, -10) -- here is gate down moveObject(gate15, 6000, 2588.8427734375, -2421.517578125, 648.74122314453, 0, 0,0 ) ---------------------------- Tutorial ------- moveObject(gate15,6000, x, y) not need (Z) and Rotation KIss ( CIN's Owner) :PPPPPPPPPP
  3. KissMTA

    notfixed.

    gate15 = createObject(16773, 2598.8427734375, -2422.517578125, 12.74122314453, 90, 0, -10) -- here is gate down moveObject(gate15, 6000, 2588.8427734375, -2421.517578125, 648.74122314453, 0, 0,0 ) ---------------------------- Tutorial moveObject(gate15,6000, x, y) not need (Z) and Rotations KIss ( CIN's Owner) :PPPPPPPPPP
  4. Thank you ! [CST]iAnnas
  5. but stole scripts not allowed man
  6. hey, im going to report CTG server CTG Cops 'n' Gang Wars serverIP: mtasa://108.61.199.36:22003 they stole Arran (CIT2.net)Scripts GROUP,PHONE,Customttle,F1,Turf,/stats,Drugs,CITlogin(CITaccounts) and more go check if u want i have SS see it all SS in here see please Arran or any admins, http://imgur.com/a/rjCw3
  7. WARNING: CRGadmin/admin.lua:719: Bad grument @'guiSetText' [Expected gui-elemet-at agrument 1 ,got nil can u help me ? screenWidth, screenHeight = guiGetScreenSize() local quickPunish = false local clicked = {} guiSetInputMode("no_binds_when_editing") local aWindow, aTab, aButton, aEdit, aColumn, aLabel = {}, {}, {}, {}, {}, {} local errorString = "You must select a player from the list!" local getPlayerRow = {} local whatKeyToOpen = "o" --What key to open our Admin Panel with. local warpToAnotherLocationTable = { -- {Area Name, position X, position Y, position Z}, {"Los Santos Police Department", 1553, -1669, 13.6}, {"Los Santos Jefferson Hospital", 2041, -1425, 17}, {"Los Santos Airport", 1958.46, -2188.22, 13.54}, {"Los Santos All Saints Hospital", 1179, -1318, 14}, {"San Fierro Hospital", -2641.06, 630.99, 14.45}, {"San Fierro Airport", -1472.21, -269.55, 14.14}, {"San Fierro Police Derpartment", -1610.21, 717.19, 12.81}, {"Las Venturas Hospital", 1615.27, 1821.87, 10.82}, {"Las Venturas Airport", 1714.05, 1510.12, 10.79}, {"Las Venturas Police Derpartment", 2282.27, 2423.78, 10.82}, {"Army", 195.12, 1908.24, 17.64}, {"Mount Chiliad", -2262.96, -1701.6, 479.91}, {"Underwater", 544, -2036, -20}, {"Epic Parajump", 1961, -2214, 10000}, {"Los Santos Bank", 1461, -1015, 27}, {"Santa Maria Beach", 370, -1859, 8}, {"Angel Pine", -2211, -2375, 32}, {"Los Santos Vehicle Recovery Point", 1707, -1052, 24}, {"Las Venturas Vehicle Recovery Point", 1737, 1949, 12}, {"San Fierro Vehicle Recovery Point", -1644, 1305, 8}, {"Weapons Train", 300.27, -138.59, 1004.06}, {"Full-of-pain", -1502.0996, 481, 19}, } local Rules = { {"#0: Removing punishment"}, {"#0: Testing punishments"}, {"#1: Annoying Staff"}, {"#1: Flaming Staff"}, {"#2: Cheating"}, {"#2: Exploiting"}, {"#3: Insulting"}, {"#3: Provoking"}, {"#4: Advertising another servers"}, {"#5: Breaking chat rules"}, {"#5: Talking non-English in main/team"}, {"#6: Ruining an event"}, {"#7: Spamming"}, {"#8: Selling game stuff with real money"}, {"#9: Using unacceptable name"}, {"#10: Disturbing/trolling other players"}, {"#10: Talking about other communities"}, {"#12: Ignoring staff"} } local Punishments = { {"Kick Player"}, {"Jail Player"}, {"Ban Player"}, {"Ban Player Account"}, {"Job Kick"}, {"Mute Player"}, {"Reconnect Player"}, {"Show Rules"}, } reports = {} function createAdminInterface() rulesInsa = { {"Be fair, so you can stay in staff team."}, {"Don't flame or provoke any player, players count is our goal."}, {"Be at yourself and proud to be staff member."}, {"Respect higher and lower rank staff members."}, {"Don't ask for promotion, be a mature and responsible guy."}, {"Advertising by saying a server name deserves a mute, Advertising by trying to get players to it deserves permanent ban."}, {"Don't reply to players who want to be friends with you because they all end being a jerks."}, {""}, {""}, {""}, {""}, {"New system:"}, {"From now on, no staff member will be handled a duty other than staff duties in other words you won't be able to be CB/PC/etc."}, {"Any staff who has been missing for no reason or inactive in game will be removed in case he didn't login or tell us about fair reason in the next 10 days."}, {"More to be added soon..."}, } windowWidth, windowHeight = 663, 549 windowX, windowY = (screenWidth / 2) - (windowWidth / 2), (screenHeight / 2) - (windowHeight / 2) aWindow = guiCreateWindow(windowX, windowY, windowWidth, windowHeight,"Community Of Role Gaming = 'Controll Panel' For Staff.", false) guiSetAlpha(aWindow, 1) aTab = guiCreateTabPanel(10,23,642,517,false,aWindow) guiSetAlpha(aTab, 1) aTab1 = guiCreateTab("Main",aTab) aEdit1 = guiCreateEdit(3,3,154,24,"",false,aTab1) aImage1 = guiCreateStaticImage(157,3,23,24,"files/search.png",false,aTab1) aGrid1 = guiCreateGridList(3,31,177,456,false,aTab1) aColumn = guiGridListAddColumn(aGrid1,"Players",0.-- s8) --> aButton[1] = guiCreateButton(495,42,140,27,"Punish",false,aTab1) guiSetFont(aButton[1],"default-bold-small") aButton[2] = guiCreateButton(495,79,140,27,"Warp to",false,aTab1) guiSetFont(aButton[2],"default-bold-small") aButton[3] = guiCreateButton(495,116,140,26,"Warp player to..",false,aTab1) guiSetFont(aButton[3],"default-bold-small") aButton[4] = guiCreateButton(495,152,68,26,"Rename",false,aTab1) guiSetFont(aButton[4],"default-bold-small") aButton[5] = guiCreateButton(567,152,68,26,"Freeze",false,aTab1) guiSetFont(aButton[5],"default-bold-small") aButton[6] = guiCreateButton(495,188,68,26,"Get ammo",false,aTab1) guiSetFont(aButton[6],"default-bold-small") aButton[7] = guiCreateButton(567,188,68,26,"Spec toggle",false,aTab1) guiSetFont(aButton[7],"default-bold-small") aButton[8] = guiCreateButton(567,218,68,26,"Slap",false,aTab1) guiSetFont(aButton[8],"default-bold-small") aEdit[2] = guiCreateEdit(495,217,68,27,"",false,aTab1) aButton[9] = guiCreateButton(495,254,68,26,"View Log",false,aTab1) guiSetFont(aButton[9],"default-bold-small") aButton[10] = guiCreateButton(567,254,68,26,"Punish log",false,aTab1) guiSetFont(aButton[10],"default-bold-small") aButton[11] = guiCreateButton(495,290,68,26,"Freeze veh",false,aTab1) guiSetFont(aButton[11],"default-bold-small") aButton[12] = guiCreateButton(567,290,68,26,"Fix veh",false,aTab1) guiSetFont(aButton[12],"default-bold-small") aButton[13] = guiCreateButton(495,326,68,26,"Destroy veh",false,aTab1) guiSetFont(aButton[13],"default-bold-small") aButton[14] = guiCreateButton(567,326,68,26,"Blow veh",false,aTab1) guiSetFont(aButton[14],"default-bold-small") aEdit[3] = guiCreateEdit(495,358,68,27,"",false,aTab1) aButton[15] = guiCreateButton(567,359,68,26,"Set veh",false,aTab1) guiSetFont(aButton[15],"default-bold-small") aEdit[4] = guiCreateEdit(495,395,68,27,"",false,aTab1) aButton[16] = guiCreateButton(567,396,68,26,"Set skin",false,aTab1) guiSetFont(aButton[16],"default-bold-small") aEdit[5] = guiCreateEdit(495,432,68,27,"",false,aTab1) aButton[17] = guiCreateButton(567,433,68,26,"Set money",false,aTab1) guiSetFont(aButton[17],"default-bold-small") aButton[18] = guiCreateButton(567,465,68,26,"Tools",false,aTab1) guiSetFont(aButton[18],"default-bold-small") aButton[19] = guiCreateButton(495,465,68,26,"WP",false,aTab1) guiSetFont(aButton[19],"default-bold-small") aLabel[1] = guiCreateLabel(188,33,161,21,"Name:",false,aTab1) guiLabelSetColor(aLabel[1],0,250,0) aLabel[2] = guiCreateLabel(188,58,161,21,"Account:",false,aTab1) guiLabelSetColor(aLabel[2],0,250,0) aLabel[3] = guiCreateLabel(188,85,161,21,"IP:",false,aTab1) guiLabelSetColor(aLabel[3],0,250,0) aLabel[4] = guiCreateLabel(188,116,293,22,"Serial:",false,aTab1) guiLabelSetColor(aLabel[4],0,250,0) aLabel[5] = guiCreateLabel(338,85,161,21,"Ping:",false,aTab1) guiLabelSetColor(aLabel[5],0,250,0) aLabel[6] = guiCreateLabel(188,142,161,21,"Country:",false,aTab1) guiLabelSetColor(aLabel[6],0,250,0) aclLabel = guiCreateLabel(280,142,161,21,"ACL:",false,aTab1) guiLabelSetColor(aclLabel,0,250,0) aLabel[7] = guiCreateLabel(188,163,302,19,"______________________________________________",false,aTab1) guiLabelSetColor(aLabel[7],250,0,0) aLabel[8] = guiCreateLabel(188,188,161,21,"Health:",false,aTab1) guiLabelSetColor(aLabel[8],0,250,0) aLabel[9] = guiCreateLabel(302,188,161,21,"Armor:",false,aTab1) guiLabelSetColor(aLabel[9],0,250,0) aLabel[10] = guiCreateLabel(188,217,161,21,"Skin:",false,aTab1) guiLabelSetColor(aLabel[10],0,250,0) aLabel[11] = guiCreateLabel(188,248,161,21,"Weapon:",false,aTab1) guiLabelSetColor(aLabel[11],0,250,0) aLabel[12] = guiCreateLabel(302,219,172,55,"Team:nJob:",false,aTab1) guiLabelSetColor(aLabel[12],0,250,0) aLabel[13] = guiCreateLabel(188,280,161,21,"Money:",false,aTab1) guiLabelSetColor(aLabel[13],0,250,0) aLabel[14] = guiCreateLabel(188,311,293,23,"Area:",false,aTab1) guiLabelSetColor(aLabel[14],0,250,0) aLabel[15] = guiCreateLabel(188,342,161,21,"X",false,aTab1) guiLabelSetColor(aLabel[15],0,250,0) aLabel[16] = guiCreateLabel(188,374,161,21,"Y",false,aTab1) guiLabelSetColor(aLabel[16],0,250,0) aLabel[17] = guiCreateLabel(188,401,161,21,"Z",false,aTab1) guiLabelSetColor(aLabel[17],0,250,0) aLabel[18] = guiCreateLabel(302,342,161,21,"Interior:",false,aTab1) guiLabelSetColor(aLabel[18],0,250,0) aLabel[19] = guiCreateLabel(302,375,161,21,"Dimension:",false,aTab1) guiLabelSetColor(aLabel[19],0,250,0) aLabel[20] = guiCreateLabel(183,418,302,19,"______________________________________________",false,aTab1) aLabel[20] = guiCreateLabel(183,418,302,19,"______________________________________________",false,aTab1) guiLabelSetColor(aLabel[20],250,0,0) aLabel[21] = guiCreateLabel(190,438,161,21,"Vehicle: N/A",false,aTab1) guiLabelSetColor(aLabel[21],0,250,0) aLabel[22] = guiCreateLabel(190,466,161,21,"Vehicle HP: N/A",false,aTab1) guiLabelSetColor(aLabel[22],0,250,0) --Settings guiSetVisible(aWindow, false) --Events addEventHandler("onClientGUIClick", aButton[1], openPunishInterface, false) addEventHandler("onClientGUIClick", aButton[2], warpToPlayer, false) addEventHandler("onClientGUIClick", aButton[3], warpPlayerTo, false) addEventHandler("onClientGUIClick", aButton[4], renamePlayer, false) addEventHandler("onClientGUIClick", aButton[5], freezePlayer, false) addEventHandler("onClientGUIClick", aButton[6], getPlayerAmmo, false) addEventHandler("onClientGUIClick", aButton[7], toggleSpectate, false) addEventHandler("onClientGUIClick", aButton[8], slapPlayer, false) addEventHandler("onClientGUIClick", aButton[9], viewLog, false) addEventHandler("onClientGUIClick", aButton[10], showPlayerPunishLog, false) addEventHandler("onClientGUIClick", aButton[11], freezePlayerVehicle, false) addEventHandler("onClientGUIClick", aButton[12], fixPlayerVehicle, false) addEventHandler("onClientGUIClick", aButton[13], destroyPlayerVehicle, false) addEventHandler("onClientGUIClick", aButton[14], blowPlayerVehicle, false) addEventHandler("onClientGUIClick", aButton[15], givePlayerVehicle, false) addEventHandler("onClientGUIClick", aButton[16], setPlayerModel, false) addEventHandler("onClientGUIClick", aButton[17], setMoney, false) addEventHandler("onClientGUIClick", aButton[18], function () if (isElement(player)) then guiSetVisible(toolsWindow, true) guiBringToFront(toolsWindow) end end, false) addEventHandler("onClientGUIClick", aButton[19], toggleWarpPoints, false) addEventHandler("onClientGUIClick", aGrid1, selectPlayer, false) addEventHandler("onClientGUIChanged", aEdit1, searchAfterPlayer, false) --Tabs ReportTab = guiCreateTab("Reports",aTab) notesTab = guiCreateTab("Notes", aTab) bansTab = guiCreateTab("Bans", aTab) aTab2 = guiCreateTab("Resources (L5)",aTab) --Bans bansGrid = guiCreateGridList(3, 3, 636, 437, false, bansTab) reasonColumn = guiGridListAddColumn(bansGrid, "Reason", 0.3) nickColumn = guiGridListAddColumn(bansGrid, "Nick", 0.2) adminColumn = guiGridListAddColumn(bansGrid, "Admin", 0.2) IPColumn = guiGridListAddColumn(bansGrid, "IP", 0.15) serialColumn = guiGridListAddColumn(bansGrid, "Serial", 0.4) banDate = guiGridListAddColumn(bansGrid, "Banned Date", 0.2) unbanColumn = guiGridListAddColumn(bansGrid, "Unban Date", 0.2) bansRemove = guiCreateButton(518, 444, 100, 36, "Remove Ban", false, bansTab) bansEdit = guiCreateEdit(10, 451, 160, 34, "Serial", false, bansTab) bandAddBanButton = guiCreateButton(349, 450, 100, 36, "Add Serial Ban", false, bansTab) timeOfBan = guiCreateEdit(179, 452, 160, 34, "Time (Seconds)", false, bansTab) --Events addEventHandler("onClientGUIClick", bansRemove, removeBanFromBanList, false) addEventHandler("onClientGUIClick", bandAddBanButton, addSerialBan, false) --adminChatGrid = guiCreateGridList(3, 3, 700, 480, false, ChatTab) --plrColumn = guiGridListAddColumn(adminChatGrid, "Player", 0.3) --messageColumn = guiGridListAddColumn(adminChatGrid, "Message", 0.9) --Reports Tab reportGridlist = guiCreateGridList(5, 2, 636, 426, false, ReportTab) reportSave = guiCreateButton(6, 436, 137, 32, "Save Image", false, ReportTab) reportDelete = guiCreateButton(162, 436, 137, 32, "Doesn't Prove", false, ReportTab) reportRemoveAll = guiCreateButton(321, 436, 137, 32, "Delete All", false, ReportTab) reportPunished = guiCreateButton(481, 436, 137, 32, "Punished", false, ReportTab) reportIDColumn = guiGridListAddColumn(reportGridlist, "ID", 0.2) reportMessageColumn =
  8. hey can u teach me how to remove "cars" in gamemode play script ? thank
  9. hey i wanna Remove F1 in gamemode i need spawn Only i want Remove this http://i.imgur.com/o3I1LRq.png and J for jetpack "i want Spawn only" teach me how ? pls
  10. im tried open MTA ports but not work, Turf Off Firewall,Turf off Sofware antivirus,add all ports in 192.168.1.1 like this : http://imgur.com/a/Yjosk my router name "F608" pls help open ports is my dream
  11. NO ONE HELP ME ? PLSS HELP MEE
  12. can you teach me how open Ports in Win 8 ? pls
  13. add me in facebook me and you will talk https://www.facebook.com/nguyenkhang.kiss
  14. idk im using 1 or 2 routes !!
  15. see http://imgur.com/a/Yjosk help pls all ports closed forerver
  16. not work too add me on facebook for talk pls . Khang Beatboxer email: [email protected]
  17. not work too add me on facebook for talk pls . Khang Beatboxer email: [email protected]
  18. please teach me i'll give u 5$ if u can help me open MTA ports im swear .
  19. please teach me i'll give u 5$ if u can help me open MTA ports im swear .
  20. I made instruction how to do this: http://funkyimg.com/i/2a33v.png Hope will help. not work name ports = MTA port or "mta1" or "MTA" ? i tried all name but not work and i turn off Win Firewall too please help
  21. I made instruction how to do this: http://funkyimg.com/i/2a33v.png Hope will help. not work name ports = MTA port or "mta1" or "MTA" ? i tried all name but not work and i turn off Win Firewall too please help
  22. How to open Ports in this img ? http://i.imgur.com/eI6092a.png please teach me
  23. lol, no one help me ? ((((((
×
×
  • Create New...