Jump to content

Sisqo0

Members
  • Posts

    78
  • Joined

  • Last visited

Details

  • Location
    Egypt

Recent Profile Visitors

712 profile views

Sisqo0's Achievements

Transformer

Transformer (11/54)

11

Reputation

  1. search for it in 'survivorSystem_client.lua' in dayz folder and remove the lines of scoreboard.
  2. Features:- *Creating custom bases as you want for each kind of base. *Stopping/Running it without deleting it. *Warping to any base. *Control all vehicles in the base ( blow & fix & warp it to you & kick it out of base & editing vehicle's inventory ). *Control all tents in the base ( destroy & editing tents' inventory by taking and giving items ). *Spectating mode with 2 cameras to see everything in the base at your position. *Changing ( the group name of base & the maximum vehicles ). *Limitation of the duration so the base will be deleted after the duration. *Limitation offline time so the base will be deleted if no one of the group entered the base within that time. *Password for each base and can be toggled off/on by group members only ( 'password' = allow strangers to enter base by password & 'off' = strangers can't enter and can't see password window ). Note:- group members & admins don't need a password to enter the base even if the password was toggled on ( only strangers ). *Map for all bases and you can go to the base by double-left-click & know details of the base by clicking right-click ( Red for paid bases & Green for free bases ). *Deleting the base. *information to know last entry time ( counts entry of group members only not admins or strangers ) & owner & size of base & number of vehicles and storage items. *Database to save bases after restarting the resource. Note :- *Owner ( members ) label needs to be linked with your group resource to get the owner of the group ( i would help you if you couldn't do that ). *I'm bad mapper and even I made the free small base & paid medium base have the same base, it's easy to edit settings.lua ( i would help you too if you had custom bases and couldn't add them ). If you wanna buy it via paypal then send me a message here or on discord -->> Sisqo#0103 Images :- Click here --settings.lua BaseSize = { ["free"] = { -- warpInX,warpInY,warpInZ,markerInBaseX,markerInBaseY,markerInBaseZ,colShapeX,colShapeY,colShapeZ,colShapeWidth,colShapeDepth,colShapeHeight,MaxVehicles ["small"] = {-1308.14453125,2473.8813476563,87.26789855957,-1288.8851318359,2458.0390625,86.5,-1344.76318,2448.81323,83.82028,68.918090820313,56.2080078125,15.474256896973,2}, ["medium"] = {}, ["big"] = {} }, ["paid"] = { ["small"] = {}, ["medium"] = {1496.0118408203,2850.5422363281,10.87656211853,1521.8402099609,2831.6010742188,10,1465.16125,2825.26978,8,68.106201171875,56.50341796875,15,3}, ["big"] = {} } } CustomBase = { ["free"] = { --model,posX,posY,posZ,rotX,rotY,rotZ ["small"] = { {8378,-1310.09,2449.8,87.59,0,0,0}, {3816,-1310.1,2476.7,94.7,0,0,0}, }, ["medium"] = { {}, }, ["big"] = { {}, } }, ["paid"] = { ["small"] = { {}, }, ["medium"] = { {3816,1498.9,2853.3999,18.4,0,0,0}, {8378,1499.3,2825.8,19.6,0,0,0}, }, ["big"] = { {}, } } } BaseInfo = { ["free"] = { --camera1X,camera1Y,camera1Z,camera2X,camera2Y,camera2Z,pickupX,pickupY,pickupZ ["small"] = {-1334.1291503906,2454.4438476563,94.238426208496,-1287.4936523438,2499.5974121094,94.881118774414,-1284.8393554688,2501.4360351563,87.18229675293}, ["medium"] = {}, ["big"] = {} }, ["paid"] = { ["small"] = {}, ["medium"] = {1521.2963867188,2876.2236328125,16.732257843018,1474.8344726563,2830.5341796875,16.91400718689,1524.0460205078,2878.3322753906,10.882294654846}, ["big"] = {} } }
  3. This problem is weird for me. it's my first time to face this problem. i started my local server without editing mtaserver.conf and i saw that ase is set to '1' but i can't see the server in local list. when i press info button ,i get the server info and can enter the server by pressing 'connect' (mtasa://127.0.0.1:22003). i want my 2nd PC to log in server but it's not shown and can't join with my IP of 1st PC .. all my ports is closed but it's not the reason because all ports of my 2nd PC are closed too and the server can be seen to both them in local list.
  4. Third :- if there is a function which was attached to event and you call it a lot in the same and other side (client or server) ,would it be better if we just call the function in the same side by its name or using this :- triggerEvent("function-name")
  5. First :- I wanna know, what is the best way to save table in element data ? i know 2 ways only but if there are more and better than those, i hope you tell me --1st way >> table {} setElementData(player,"data",{x,y,z}) --2nd way >> toJSON setElementData(player,"data",toJSON(x,y,z)) Second :- What's the best way to extract variables from table. I know 3 ways but i don't know which one is the best --1st way >> unpack() setElementData(player,"data",{x,y,z}) local data = getElementData(player,"data") local x,y,z = unpack(data) --2nd way >> data[i] setElementData(player,"data",{x,y,z}) local data = getElementData(player,"data") local x,y,z = data[1],data[2],data[3] --3rd way >> fromJSON setElementData(player,"data",toJSON(x,y,z)) local data = fromJSON(getElementData(player,"data")) --then i use the 3rd line of either of the last 2 ways Thanks in advance
  6. you should post the part of code which causes that or how can someone help you ? if you don't wanna post the code and need help, send pm to any mod here
  7. i got from debugscript 3 :- dbPoll failed, near "WHERE":syntax error local grp_db = dbConnect("sqlite",":Chats/Groups/groups.db") dbQuery(getinfo,grp_db,"SELECT name FROM groups WHERE groupName = ? AND WHERE rank = ?","Sisqo","Owner") function getinfo(q) if (q) then local p = dbPoll(q,-1) if (#p > 0) then for _,d in pairs(p) do outputChatBox(tostring(d["name"])) end end end end if i removed the second "WHERE" and "AND" , it would work so the question is "How to put 'WHERE' twice?"
  8. there is nothing wrong here so those can be the reason :- or or maybe this event in server side
  9. I'm trying to put vehicles (have ColSphere) in the same location with different dimensions and Interiors but I got a problem that I can hit all the colshapes with onClientColShapeHit although I'm in another dimension and interior. I tried to check the dimension with getElementDimension and parameter of onClientColShapeHit function ( matchingDimension ) but neither of them could help. Is there a way to solve that? Thanks in advance.
  10. you can try this local swic = guiCreateStaticImage( 980, 190, 35, 35, "files/switch_button.png", false ) ----------------------------------Clicking the button function openpanel()----------------------------------------Opening the Next Panel by clicking the button dxDrawRectangle((screenW - 666) / 2, (screenH - 450) / 2, 666, 450, tocolor(0, 0, 0, 203), false)----------------------------------I want the panel to open end addEventHandler ( "onClientGUIClick", swic, openpanel, false )
  11. by using createObject attachElements with some animation.
  12. الفانكشن دي هتساعدك getOnlineAdmins
  13. Maybe you set the element data "vehicle" when someone enter the vehicle only and remove it when he gets out of it so the " data = nil " and keep in mind that if you reconnected, the data would be removed auto unless you saved it.
  14. Sisqo0

    Button Team

    Yes i know them. Anyways thanks ?
  15. Sisqo0

    Button Team

    no, it will remove event for the player who clicked only but if any player of that team pressed on button.. nothing would happen as someone before pressed on it. Btw you don't need to remove it from all players if it doesn't affect what you want to do but if you still want to remove it, then i have no idea but even if there's a way, i don't think it can be done by client only ( maybe you need to use server side). good luck.
×
×
  • Create New...