Jump to content

ChoTax

Members
  • Content Count

    17
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ChoTax

  • Rank
    Square
  1. thanks what's the problem ? GUIEditor = { gridlist = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(550, 224, 422, 308, "", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.gridlist[1] = guiCreateGridList(28, 108, 377, 176, false, GUIEditor.window[1]) col2 = guiGridListAddColumn(GUIEditor.gridlist[1], "admin", 0.9) end ) addEvent ("Login" , true ) addEventHandler ( "Login", getRootElement(), function ( ) local row2 = guiGr
  2. Hi guys, i created a grid lest , when any player join it's create a row for player's name , but i want any player quit from the server i want to remove this row this my script : function PlayerJoin() for id, player in ipairs ( getElementsByType ( "player" ) ) do local row = guiGridListAddRow ( GUIEditor.gridlist[1] ) guiGridListSetItemText ( GUIEditor.gridlist[1], row, col, getPlayerName ( player ), false, false ) end end addEventHandler("onClientPlayerJoin", getRootElement(), PlayerJoin) i know i can use this function : guiGridListRemoveRow but if i use it it's remove al
  3. try this .. function onClientColShapeHit() bindKey(localPlayer, "mouse2", "up" ) end addEventHandler("onClientColShapeHit",getRootElement(),onClientColShapeHit) function onClientColShapeLeave() unbindKey(localPlayer, "mouse2", "up") end addEventHandler("onClientColShapeLeave",getRootElement(),onClientColShapeLeave)
  4. getElementPosition setElementPosition getVehicleColor setVehicleColor setAccountData getAccountData
  5. hello Community.. i have problem in my script pls help me ! server addEvent ("text", true ) addEventHandler( "text", getRootElement(), function () local accName = getAccountName ( getPlayerAccount ( source ) ) -- get his account name if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then else cancelEvent () end end ) client GUIEditor_Label = {} GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Edit = {} GUIEditor_Label[1] = guiCreateLabel(218,558,387,41,"",false) guiLabelSetColor(GUIEditor_Label[1],255,255,255) guiLabelSetVerticalAl
  6. ChoTax

    HElp

    isElementWithinColShape
  7. ChoTax

    CreatTeam

    i mean , i want destroy team on player left team !
  8. ChoTax

    CreatTeam

    how can i delete the team on player click ? addEventHandler("onClientGUIClick", lea, function () if ( source == lea ) then if getPlayerTeam ( localPlayer ) then triggerServerEvent("exit", localPlayer) guiSetText ( GUIEditor_Label[1], " You're Group : noun ") outputChatBox ( "#FF0000* You're left the group !", 255, 0, 0, true ) else outputChatBox ( "#FF0000* You're not in group !", 255, 0, 0, true ) end end end ) how can i do it ?
×
×
  • Create New...