Sisqo0

Members
  • Content Count

    13
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Sisqo0

  • Rank
    Square

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. You can add at the end of client side script code fileDelete("client-script-name.Lua")
  2. @majqq sorry if iam annoying you i could disable selected items if i selected 2 rows of different gridlists but is there any way to make it if i click on any gridlist rows, the last clicked on the other gridlist would be removed and what i clicked on stay selected only
  3. @IIYAMA Thanks for your reply, I made 2 gridlist before but i got a problem too with selection mode of each gridlist. I could select row of player gridlist and row of vehicle at the same time. Do you know how to avoid that?
  4. local GuiWarpElementToMenuElements = {} local function createWarpElementToMenu(SelectedElement) if WarpElementTomenuopen then closeWarpElementToMenu() return end WarpElementTomenuopen = true guiSetInputMode("no_binds_when_editing") if (getElementType(SelectedElement) == "vehicle") then GuiWarpElementToMenuElements[#GuiWarpElementToMenuElements+1] = guiCreateWindow(0,0,350,400,"Warp "..tostring(getVehicleName(SelectedElement)).." To",false) else GuiWarpElementToMenuElements[#GuiWarpElementToMenuElements+1] = guiCreateWindow(0,0,350,400,"Warp "..tostring(getPlayerName(SelectedElement)).." To",false) end WarpElementToWindow = GuiWarpElementToMenuElements[#GuiWarpElementToMenuElements] guiWindowSetSizable(WarpElementToWindow,false) GuiWarpElementToMenuElements[#GuiWarpElementToMenuElements+1] = guiCreateButton(0.06,0.93,0.4,0.05,"Select",true,WarpElementToWindow) WarpElementToSelectButton = GuiWarpElementToMenuElements[#GuiWarpElementToMenuElements] guiSetFont(WarpElementToSelectButton, "default-bold-small") GuiWarpElementToMenuElements[#GuiWarpElementToMenuElements+1] = guiCreateButton(0.54,0.93,0.4,0.05,"Cancel",true,WarpElementToWindow) WarpElementToCancelButton = GuiWarpElementToMenuElements[#GuiWarpElementToMenuElements] guiSetFont(WarpElementToCancelButton, "default-bold-small") GuiWarpElementToMenuElements[#GuiWarpElementToMenuElements+1] = guiCreateGridList (0.02,0.06,0.95,0.85,true,WarpElementToWindow ) WarpElementToGridList = GuiWarpElementToMenuElements[#GuiWarpElementToMenuElements] GuiWarpElementToMenuElements[#GuiWarpElementToMenuElements+1] = guiGridListAddColumn(WarpElementToGridList,"Player",0.475) WarpElementToPlayerGridListColumn = GuiWarpElementToMenuElements[#GuiWarpElementToMenuElements] GuiWarpElementToMenuElements[#GuiWarpElementToMenuElements+1] = guiGridListAddColumn(WarpElementToGridList,"Vehicle",0.475) WarpElementToVehicleGridListColumn = GuiWarpElementToMenuElements[#GuiWarpElementToMenuElements] guiGridListSetSelectionMode(WarpElementToGridList,2) for _,vehicle in ipairs (getElementsByType("vehicle")) do local WarpElementToVehicleGridListRow = guiGridListAddRow(WarpElementToGridList) guiGridListSetItemText(WarpElementToGridList,WarpElementToVehicleGridListRow,WarpElementToVehicleGridListColumn,tostring(getVehicleName(vehicle)),false,false) guiGridListSetItemData(WarpElementToGridList,WarpElementToVehicleGridListRow,WarpElementToVehicleGridListColumn,vehicle) end for _,player in ipairs (getElementsByType("player")) do local WarpElementToPlayerGridListRow = guiGridListAddRow(WarpElementToGridList) guiGridListSetItemText(WarpElementToGridList,WarpElementToPlayerGridListRow,WarpElementToPlayerGridListColumn,tostring(getPlayerName(player)),false,false) guiGridListSetItemData(WarpElementToGridList,WarpElementToPlayerGridListRow,WarpElementToPlayerGridListColumn,player) end end That's my code in client side it works perfectly but i have 1 problem i can't remove the empty rows in player column. please help
  5. Yes. That's what i wanted Thank you 😍
  6. how to output chat in ( .log ) file i have created ?? Thanks.
  7. Hello guys.. I don't know why when i got killed with knife or M136 launcher Rockets.. My screen got bugged and i see my body far and far in screen and can't move and when i reconnect i just find that i didn't get killed... How i can fix it please ??
  8. Guys, i made a marker in dayz that when i get in it i got new skin in dayz and the skin worked and all things fine but when i get the new skin after 10-15 second my last skin back and my new skin has gone . how to fix that ? newskin = createMarker ( 1856.0751, 851.0827, 9.408, "cylinder", 1.5, 255, 255, 0, 170 ) function skin(hitPlayer) if getElementType(hitPlayer) == "player" then setPlayerSkin ( hitPlayer, 211 ) end end addEventHandler ( "onMarkerHit", newskin, skin )
  9. I did that but when i shut down my pc.. It's gone.. How i can make it online always ?
  10. is this problem or no ? the red sentence http://www.mediafire.com/view/2zsbz0m2m81aim1/Untitled.png