Jump to content

JamesCIT

Members
  • Posts

    27
  • Joined

  • Last visited

Everything posted by JamesCIT

  1. Username: James Your name(Full and last name):Mohammed Sherif Why do you want free MTA Server?:my Age cant get Visa to get Paypal , so i cant pay Host or whatever , so i'm requesting from here Server Slots:1000+ pls Your Skype: James MTA Your Email:[email protected]
  2. thnx but in the client when i add the LoadDFF and LoadTXD etc it doesn't show IG so if u could edit it and i will edit the DFF and TXD names in it i would be much Grateful
  3. Well hello guys , i changed my Server mode Race > RPG so the interior Teleport was working but when i made it RPG etc it doesn't makes me teleport as a player here is the lua marker = createMarker(1420.26, -1166.06, 23.83, "arrow", 20, 33, 1, 255) function teleport(player) if getElementType(player)=="player" then local vehicle=getPedOccupiedVehicle(player) if source == marker then setElementPosition(vehicle, 2544.8000488281, 1705.9000244141, 584.59997558594) setElementFrozen(vehicle, true) setTimer(setElementFrozen, 1000, 1, vehicle, false) end end end addEventHandler("onClientMarkerHit", getRootElement(), teleport)
  4. No ,u know when i make a Skin for everyone by the txdloader etc i want a script to add that Skin but for Just a Account or a Group exports i will add them but please add export. and i will add it
  5. well hello guys , i would like to have a script with a commandhandler i will edit the command name which will apply a skin for X Group or X Account name thanks in Advance
  6. dude the Problem is , When i enable it from /settings it doesn't Work
  7. yes with some Developers of my Server , but we didnt find any Solution so i asked here it took us 3-4 Hours
  8. Hello Guys , i've made my Server which is CSP , i made a Script which is for Custom Title , here is it , it doesn't work when i do /customT CODE REMOVED BY Solidsnake14
  9. Can u give me the Whole Script Written of that ? , its sqlite
  10. Hello , as the title says , i scripted something , but i want to add it into my Database how ?
  11. Sorry if this is the Wrong Board its Related to Scripting so i asked here i got some .fx files and cant open them , how to open them
  12. and i will do the meta ad .txd and .dff files right ?
  13. thnx but whta is Jack ? and what write insted of and insted of 1and if for groups
  14. Hello i want to know how to make a Script to give someone a skin only him example my acc name is James in my server and i want it on 217 so how to do that ?
  15. my Friend gave it to me so ? its his and he doesn't need sorry we cant help leaked resources . cmon dude i edited it bymyself and it took me some hours
  16. my Friend gave it to me so ? its his and he doesn't need
  17. yes it says in (CSP Settings) i dont have /settings but the other scripter added it on that CustomT
  18. i just have 2 files lua and meta here is the meta <meta> <script src="titles.lua" type="client"/> <min_mta_version server="1.3.1-9.04710" client="1.3.1-9.04710"/> </meta>
  19. Hello i've made custom titles for accounts and groups etc and i've set it on /customT but when i do it IG the panel doesn't show up here is the lua local x, y = guiGetScreenSize() customTitles = guiCreateWindow(x / 2 - 146.5, y / 2 - 237.5, 293, 475, "CSP Custom Titles", false) guiWindowSetSizable(customTitles, false) grid_titles = guiCreateGridList(9, 22, 135, 373, false, customTitles) titcol = guiGridListAddColumn(grid_titles, "Title", 0.9) but_set = guiCreateButton(9, 395, 135, 51, "Set Title", false, customTitles) guiSetProperty(but_set, "NormalTextColour", "FFAAAAAA") but_remove = guiCreateButton(151, 395, 133, 51, "Remove Title", false, customTitles) guiSetProperty(but_remove, "NormalTextColour", "FFAAAAAA") but_close = guiCreateButton(9, 446, 275, 20, "Close", false, customTitles) guiSetProperty(but_close, "NormalTextColour", "FFAAAAAA") lab_info = guiCreateLabel(151, 22, 135, 363, [[ To disable the custom titles, go to /settings To change the title color, use /titlecolor R G B]], false, customTitles) guiSetFont(lab_info, "default-bold-small") guiLabelSetHorizontalAlign(lab_info, "center", false) guiSetVisible(customTitles, false) titlesTable = { ["The Boss"] = true, ["Pickpocket"] = true, ["Spy"] = true, ["Assassin"] = true, ["Hitman"] = true, ["OverLord"] = true, ["Gangsta"] = true, ["Pimp"] = true, ["Inspector"] = true, ["Instructor"] = true, ["Haxor"] = true, ["Zombie"] = true, ["Troll"] = true, ["Sniper"] = true, ["Stalker"] = true, ["Newbie"] = true } local title = false local staffs = { ["Trial Staff"] = true, ["New Staff"] = true, ["Trained Staff"] = true, ["Trusted Staff"] = true, ["High Staff"] = true, ["Head Staff"] = true } function showTitles() guiGridListClear(grid_titles) if exports.CSFsettings:getSetting("ctitles") == "Yes" then exports.CSFtexts:output("Enable the titles in settings first", 255, 0, 0) return end triggerServerEvent("CSFCustomTitles.getData", root) triggerServerEvent("CSFcustomTitles.checkAccess", root) guiGridListClear(grid_titles) unlockTitles() groupTitles() populateGrid() guiSetVisible(customTitles, true) showCursor(true) end addCommandHandler("customT", showTitles) function populateGrid() for k, v in pairs(titlesTable) do r = guiGridListAddRow(grid_titles) guiGridListSetItemText(grid_titles, r, titcol, tostring(k), false, false) end end function unlockTitles() local playtime = getElementData(localPlayer, "CSPmisc.playTime") or "N/A" local playtime = string.gsub(playtime, "[a-z, A-Z]", "") local playtime = tonumber(playtime) local occupation = getElementData(localPlayer, "Occupation") local donatorL = getElementData(localPlayer, "d") if playtime >= 100 then titlesTable["Regular Player"] = true end if playtime >= 500 then titlesTable["Senior Player"] = true end if playtime >= 1000 then titlesTable.Veteran = true end if occupation == "Police Chief" then titlesTable["Police Chief"] = true end if staffs[occupation] then titlesTable.Staff = true end if donatorL ~= false and donatorL >= 1 then titlesTable.Donator = true end end function unlockBoss ( bool ) if bool then titlesTable["Criminal Boss"] = true end end addEvent("CSFCustomTitles.unlockBoss", true) addEventHandler("CSFCustomTitles.unlockBoss", root, unlockBoss) function unlockTitles2(turfst, turfsp, arrests, sRaces, deliveries, killedCrims, races, weed, bails, robbedHouses, bodySold, hookerUse, hijack, bc) if tonumber(turfst) >= 500 then titlesTable.Conqueror = true end if tonumber(turfsp) >= 500 then titlesTable.Guardian = true end if tonumber(arrests) >= 500 then titlesTable["Arrests Addict"] = true end if tonumber(arrests) >= 1000 then titlesTable["Too addicted to arresting..."] = true end if tonumber(sRaces) >= 100 then titlesTable["Fast & Furious"] = true end if tonumber(deliveries) >= 2000 then titlesTable["You can't beat me delivering"] = true end if tonumber(killedCrims) >= 400 then titlesTable["Anti Robbery Unit"] = true end if tonumber(races) >= 100 then titlesTable["Speed Racer"] = true end if tonumber(weed) >= 5000 then titlesTable["Drug Lord"] = true end if tonumber(bails) >= 100000 then titlesTable["Golden Farmer"] = true end if tonumber(robbedHouses) >= 1000 then titlesTable["Lock your door..."] = true end if tonumber(bodySold) >= 1000 then titlesTable["My body is yours"] = true end if tonumber(hookerUse) >= 300 then titlesTable["Sex Addict"] = true end if tonumber(hijack) >= 500 then titlesTable["Grand Theft Auto"] = true end if tonumber(bc) >= 500 then titlesTable["I'm on the case!"] = true end end addEvent("CSFCustomTitles.unlockTitles", true) addEventHandler("CSFCustomTitles.unlockTitles", root, unlockTitles2) function groupTitles() local group = getElementData(localPlayer, "g") if group == "DeltaForce" then titlesTable["DeltaForce Unit"] = true end if group == "PaNiC" then titlesTable.PaNiC = true end if group == "Alpha_Gam3rz" then titlesTable["★Alpha GaMers★"] = true end if group == "GuardGhosTs" then titlesTable["★GuardGhosTs★"] = true end if group == "SpecialForces" then titlesTable["SpecialForces Unit"] = true end if group == "InsidiousGaming" then titlesTable.Insidious = true end if group == "TaskForces" then titlesTable["TaskForce Unit"] = true end if group == "SWATTeam" then titlesTable["SWAT Unit"] = true end if group == "xCode" then titlesTable["★ xCode ★"] = true end if group == "nR7Gaming" then titlesTable[" nR7Gaming "] = true end if group == "Dragon" then titlesTable["Dragon Fighter"] = true end if group == "FBI" then titlesTable["Federal Agent"] = true end end function closeTitles() guiSetVisible(customTitles, false) showCursor(false) end addEventHandler("onClientGUIClick", but_close, closeTitles, false) function specialTitles(accountName) guiGridListClear(grid_titles) unlockTitles() groupTitles() triggerServerEvent("CSFCustomTitles.getData", root) if accountName == "ghoussam94" then titlesTable["★TamTam Founder CSF Owner★"] = true elseif accountName == "DevMeDoo" then titlesTable["Official L6"] = true elseif accountName == "Pro^_^" then titlesTable["*Mayhem-FTW*"] = true elseif accountName == "Hassan2003" then titlesTable["ZeroGG*FTW"] = true elseif accountName == "xlMrDarwin" then titlesTable["★ iRyu-FTW ★"] = true elseif accountName == "MACK23" then titlesTable["I'm BoSs Ass Bitch"] = true elseif accountName == "nabil58" then titlesTable["★ police ★"] = true elseif accountName == "chronos" then titlesTable["Head police Chief"] = true elseif accountName == "xTyuzi" then titlesTable[">'-iTaChi.-'<"] = true elseif accountName == "Random123" then titlesTable.GirlPowar = true elseif accountName == "salvador" then titlesTable["*RaSTaB0Y'94*FTW NeVeR DiE"] = true elseif accountName == "cand1990" then titlesTable["Mazilla*97"] = true elseif accountName == "FtwFun" then titlesTable.Lord = true elseif accountName == "MartinLeonardo92" then titlesTable["Sexy Staff"] = true elseif accountName == "Evan_Unknown" then titlesTable["|TSF|ProudMember"] = true elseif accountName == "asd980915" then titlesTable["Technology Is Power"] = true elseif accountName == "PedoBear" then titlesTable["Free Candy"] = true elseif accountName == "Mikkel" then titlesTable["Asian Lover"] = true
  20. ok thnx my last Question what should i use to edit Database ? when i open it via Notepad++ it go like NUM XBM etc
  21. not in my Server in any server it says File ErrorMakes me get Kicked from the server
  22. ok thnx but problem dint edn i cant open any Server in MTA 1.5 itself it goes to entering Game and stuck
  23. Hello after 1.5 Release i decided to change my Server from 1.4 to 1.5 then i found this http://prntscr.com/7t6eyc what to do?
  24. JamesCIT

    Skin Problem 1.4

    iam not Admin to Script iam just an Member of Server any other FIles i can edit ?
  25. JamesCIT

    Skin Problem 1.4

    iam using Txd Work shop to edit GTA3.img or IMG tool I didn't ask you how you created your models, I just asked how you are testing your models Like are you replacing your custom made models using engine functions or you are just replacing your models in your gta3.img Replacing them in GTA3.img
×
×
  • Create New...