Jump to content

[UCG]Mike

Members
  • Posts

    108
  • Joined

  • Last visited

Everything posted by [UCG]Mike

  1. [UCG]Mike

    Job....

    im use it https://community.multitheftauto.com/ind ... ls&id=9813
  2. [UCG]Mike

    Job....

    hey guys today i want to know to to edit this sctipt to be by groups and sry for my bad english local marker = createMarker ( 125.49031829834, 1931.8468017578, 18.240268707275, "cylinder", 2, 24, 60, 3 ) GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_gridlist = {} windowjob = guiCreateWindow(392, 176, 408, 437, "CNG ~ Military Forces", false) guiWindowSetSizable(windowjob, false) guiSetVisible(windowjob, false) GUIEditor_Memo[1] = guiCreateMemo(18, 30, 362, 221, "", false, windowjob) guiMemoSetReadOnly(GUIEditor_Memo[1], true) GUIEditor_gridlist[1] = guiCreateGridList(21, 264, 359, 115, false, windowjob) guiGridListAddColumn(GUIEditor_gridlist[1], "ID", 0.5) guiGridListAddColumn(GUIEditor_gridlist[1], "Skin Name", 0.5) for i = 1, 5 do guiGridListAddRow(GUIEditor_gridlist[1]) end guiGridListSetItemText(GUIEditor_gridlist[1], 0, 1, "287", false, false) guiGridListSetItemText(GUIEditor_gridlist[1], 0, 2, "Army", false, false) guiGridListSetItemText(GUIEditor_gridlist[1], 1, 1, "191", false, false) guiGridListSetItemText(GUIEditor_gridlist[1], 1, 2, "Helena Wankstein", false, false) guiGridListSetItemText(GUIEditor_gridlist[1], 2, 1, "73", false, false) guiGridListSetItemText(GUIEditor_gridlist[1], 2, 2, "Hippy", false, false) guiGridListSetItemText(GUIEditor_gridlist[1], 3, 1, "179", false, false) guiGridListSetItemText(GUIEditor_gridlist[1], 3, 2, "Ammunation Salesman", false, false) GUIEditor_Button[1] = guiCreateButton(21, 379, 175, 48, "Take job !", false, windowjob) GUIEditor_Button[2] = guiCreateButton(206, 379, 174, 48, "Cancel", false, windowjob) function SAPDjob(hitElement) if getElementData (source, "NameGroup") == "Military Forces" then setElementData ( localPlayer, "ownskin", getElementModel (localPlayer) ) if getElementType(hitElement) == "player" and (hitElement == localPlayer) then if not guiGetVisible(windowjob) then guiSetVisible(windowjob, true) showCursor(true) end end end end addEventHandler("onClientMarkerHit", join, SAPDjob) addEventHandler("onClientMarkerHit", join1, SAPDjob) addEventHandler("onClientMarkerHit", join2, SAPDjob) addEventHandler("onClientMarkerHit", join3, SAPDjob) addEventHandler("onClientMarkerHit", join4, SAPDjob) function FBIjobleave(leaveElement) if getElementType(leaveElement) == "player" and (leaveElement == localPlayer) then if guiGetVisible(windowjob) then guiSetVisible(windowjob, false) showCursor(false) end end end addEventHandler("onClientMarkerLeave", marker, SAPDjobleave) function setskintest() local skin = guiGridListGetItemText ( GUIEditor_gridlist[1], guiGridListGetSelectedItem ( GUIEditor_gridlist[1] ), 1 ) setElementModel ( localPlayer, skin ) end addEventHandler ( "onClientGUIClick", GUIEditor_gridlist[1], setskintest, false ) function joinTeam() triggerServerEvent("MF",localPlayer) local skin = guiGridListGetItemText ( GUIEditor_gridlist[1], guiGridListGetSelectedItem ( GUIEditor_gridlist[1] ), 1 ) if skin ~= 0 or getElementData(localPlayer, "ownskin") then guiSetVisible(windowjob, false) showCursor(false) setElementModel ( localPlayer, skin ) else exports["TopBarChat"]:sendClientMessage ("You didn't select a Skin", 255, 0, 0 ) end end addEventHandler("onClientGUIClick", GUIEditor_Button[1] , joinTeam, false) function removeSAPDWindow() guiSetVisible(windowjob, false) showCursor(false) setElementModel(localPlayer, getElementData(localPlayer, "ownskin")) end addEventHandler("onClientGUIClick", GUIEditor_Button[2] , removeSAPDWindow, false) function createSAPDTeam () SAPDteam = createTeam ("Military Forces", 0, 128, 0) end function joincriminal() if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Everyone")) then local wlevel = getPlayerWantedLevel( source ) end end addEventHandler ("onResourceStart", resourceRoot, createSAPDTeam) function joinSAPD() setPlayerNametagColor ( source, 0, 128, 0 ) setPlayerTeam(source,SAPDteam) setElementFrozen ( ped, true ) setElementHealth ( ped, 180 ) giveWeapon ( source, 3 ) setElementData( source, "Occupation", "Military Forces", true ) setElementData ( source, "Rank", "Federal Agent" ) end addEvent("MF", true) addEventHandler("MF",root,joinSAPD)
  3. ik but i want Staff Panel and the Admin Panel it Only for Admins L6
  4. Example x, y, z = LVarea local LVcolshape = createColSphere(x, y, z, 100.0) function LVwelcomemsg (thePlayer) outputChatBox("Welcome You Are Now in LV", thePlayer, 255, 255, true) end addEventHandler("onColShapeHit", LVcolshape, LVwelcomemsg)
  5. see it https://community.multitheftauto.com/in ... ls&id=9204 i can edit it to be by Teams ?
  6. but ac-police not added in Community
  7. hey guys i want help why i cant spawn any vehicle with this resource https://community.multitheftauto.com/in ... ls&id=8338 ?
  8. Ranks needed becasue i will edit it with Staff Ranks
  9. sry see again https://community.multitheftauto.com/ind ... ls&id=8770
  10. https://community.multitheftauto.com/in ... ls&id=8770 shop it. where is the ACL ? to be get Ranks ? and im sry for my bad english
  11. hey i want a Staff Panel with ACLs plzz help...
  12. Code removed - Moderators can someone create Server.lua to this script ?
  13. [UCG]Mike

    Housing

    stop stop stop !!!!! how to make a attempt ?
  14. you mean it https://community.multitheftauto.com/in ... ls&id=7486 ?
  15. [UCG]Mike

    Housing

    i dont want MySQL but i want the easy
  16. [UCG]Mike

    Housing

    ye creating house its not my problem but i need to know how to configure my database
  17. [UCG]Mike

    How to ...

    do you have any video
  18. [UCG]Mike

    Housing

    show me how to create house part by part plz
  19. [UCG]Mike

    Housing

    ok no one here help me ?
  20. [UCG]Mike

    Housing

    ok when i do server xampp you will teach me ?
  21. [UCG]Mike

    Housing

    how to set up server MySQL ?
  22. [UCG]Mike

    Housing

    no help here * wtf where is the supporters and moderators
  23. [UCG]Mike

    Housing

    but i cant start this resource
  24. [UCG]Mike

    Housing

    hey guys today i want to know how to create house with this script https://community.multitheftauto.com/in ... ls&id=5228 and plz teach me with a video or images or anything
×
×
  • Create New...