Jump to content

KariiiM

Members
  • Posts

    1,312
  • Joined

  • Last visited

Everything posted by KariiiM

  1. function Superman.cmdSuperman() if ( not getPlayerTeam ( localPlayer ) or getTeamName ( getPlayerTeam ( localPlayer ) ) ~= 'Staff' ) then return end local self = Superman What Thesmart gave you is gonna works for Staff team,so all staffs will uses it not only "Console" / "Owner"
  2. local account = getPlayerAccount(player) if not account or isGuestAccount(account) then return end local accountName = getAccountName(account) for k,group in ipairs ( { "Console","Owner" } ) do if isObjectInACLGroup ( "user." .. accountName, aclGetGroup ( group ) ) then --your code end end
  3. You've to use guiGetScreenSize
  4. Lmao,it's not SAUR's intro it made by the recorder who record the video..
  5. Keep the good job,it look cool
  6. To be honest,less people who gonna script it for free to you,i suggest you to search about that at community https://community.multitheftauto.com/ before ask for helps or learn the basic of lua and edit the original scoreboard by Direct X one.
  7. You've to use these events to trigger from side to other --Server side only: triggerClientEvent --Client Side only: triggerServerEvent
  8. As i told you before im not that very active on fb, i use skype daily its the good way if you want to contact me
  9. I understood you ,already i made an discution with a guy had good experiences about that to be sure of your point but there's no way for that
  10. Not possible at all, if server stopped that mean is not working , then the server will be without connextion and if server without an connextion for sure players will lose it too
  11. KariiiM

    Solved

    Okay i'll try it
  12. KariiiM

    Error IF?

    I mean,i fixed your code,try it if its working or not (use translation if you dont speak english)
  13. KariiiM

    Error IF?

    Try this and tell me if its working or not SenhaDaBase = "lok32" ----------------------------------------------- Painel da Senha da Base ---------------------------------------- function Senhadoportaobope() PassBope = guiCreateWindow(308, 52, 261, 94, "Senha da Bope", false) guiWindowSetSizable(PassBope, false) Senha = guiCreateEdit(52, 29, 160, 21, "", false, PassBope) OKbtn = guiCreateButton(30, 63, 71, 21, "OK", false, PassBope) guiSetProperty(OKbtn, "NormalTextColour", "FF17FF00") cancelarbtn = guiCreateButton(161, 63, 71, 21, "Cancelar", false, PassBope) guiSetProperty(cancelarbtn, "NormalTextColour", "FFFF0000") showCursor(true) addEventHandler("onClientGUIClick", OKbtn, testedesenha, false) addEventHandler("onClientGUIClick", cancelarbtn, fecharsenha, false) end addEvent("senhadabase", true) addEventHandler("senhadabase", getRootElement(), Senhadoportaobope) addCommandHandler("bope", Senhadoportaobope) ------------------------------------ Verificando senha -------------------------------- function testedesenha() local senhaatual = getGuiText(Senha) if (SenhaDaBase == senhaatual) then ------- <<<<<<<<<< ERROR triggerServerEvent ( "baseloged", getLocalPlayer() ) showCursor(false) end end
  14. I already had with him an discussion at skype and i understood what he want exactly, he want to complie the dff and txd files im not sure if its possible but if someone want steal your mods he can get them for free from gta sa websites
  15. KariiiM

    server

    Yes its in Play (freeroam) but if you stopped 'play' resource you'll be not able to enter to the game so i will tell you an easy ways to solve it, Go to Play resource and on it you'll find an file named broph.map Open it with notepad++ or something like that then remove these cars on the file "broph.map" it look like that: "Monster" model="557" posX="-676.43225097656" posY="962.98449707031" posZ="12.507791519165" rotX="0.041015625" rotY="0.002777099609375" rotZ="92.063659667969" color="1 1 0 0"/> "Monster" model="557" posX="-676.67596435547" posY="968.88238525391" posZ="12.507817268372" rotX="0.0118408203125" rotY="359.99993896484" rotZ="89.458343505859" color="1 1 0 0"/> "Banshee" model="429" posX="-696.71008300781" posY="947.44274902344" posZ="11.961327552795" rotX="0.61502075195313" rotY="0.50155639648438" rotZ="43.260345458984" color="0 0 0 0"/>
  16. Server side: local GreenZone = createColRectangle (-711,957,255,255) local Radar = createRadarArea (-711,957,255,255,50, 150, 50, 155) function zoneEnter ( thePlayer, matchingDimension ) if matchingDimension and isElement(thePlayer) and getElementType(thePlayer) == "player" then toggleControl ( thePlayer, "fire", false ) toggleControl ( thePlayer, "next_weapon", false ) toggleControl ( thePlayer, "previous_weapon", false ) outputChatBox( "You've entered to the greenzone.",thePlayer, 255,0,0) end end addEventHandler ( "onColShapeHit", GreenZone, zoneEnter ) function zoneExit ( thePlayer, matchingDimension ) if matchingDimension and isElement(thePlayer) and getElementType(thePlayer) == "player" then toggleControl ( thePlayer, "fire", true ) toggleControl ( thePlayer, "next_weapon", true ) toggleControl ( thePlayer, "previous_weapon", true ) outputChatBox ( "You've left the greenzone,now all your ammos will works.",thePlayer,255,0,0) end end addEventHandler ( "onColShapeLeave", GreenZone,zoneExit )
  17. Skype / Facebook but active in skype almost daily on it skype: karim.sbai7
  18. You're welcome and thanks for the good words
×
×
  • Create New...