Jump to content

WASSIm.

Members
  • Posts

    1,412
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by WASSIm.

  1. WASSIm.

    Question

    nothing ERROR: ranks.lua:7: attempt to concatenate local 'r' (a boolean value)
  2. thx i make it but its add just for one addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == GUIEditor.button[1] ) then triggerServerEvent ( "onCreateEvent", getRootElement(), localPlayer) local year = getRealTime()["year"] + 1900 local month = getRealTime()["month"] + 1 local monthday = getRealTime()["monthday"] local hour = getRealTime()["hour"] local minute = getRealTime()["minute"] guiGridListSetItemText ( GUIEditor.gridlist[1], row, column, "["..hour..":"..minute.."-"..monthday.."."..month.."."..year.."] "..getPlayerName(localPlayer).." created event ", true, true ) end end )
  3. can give exmple ? i want learn it. i know all GUI but this i don't understand it
  4. remove ( call(getResourceFromName("scoreboard"),"addScoreboardColumn","Rank", getRootElement(), 1, 40) ) and change all ":experience\\ranks\\lvl_"..Level..".png" to ":experience/ranks/lvl_"..Level..".png"
  5. i want like that
  6. i know howa make date but how make if player click button (GUIEditor.button[1]) created in guiGridList exmple "WASSIm. he is created event"
  7. WASSIm.

    NameTags

    local distmax = 30 local width = 50 local hight = 50 addEventHandler( "onClientRender",root, function( ) local px, py, pz, tx, ty, tz, dist px, py, pz = getCameraMatrix( ) for _, v in ipairs( getElementsByType 'player' ) do tx, ty, tz = getElementPosition( v ) dist = getDistanceBetweenPoints3D ( tx, ty, tz, px, py, pz ) if dist < distmax then if isLineOfSightClear( px, py, pz, tx, ty, tz, true, false, false, true, false, false, false ) then local sx, sy, sz = getPedBonePosition( v, 5 ) local x,y = getScreenFromWorldPosition( sx, sy, sz + 0.3 ) local w = width local h = hight local class = getElementData(v, "reputation.class") if x and y and w and h then dxDrawImage ( x, y, h, w, ":reputation/class/classicon_"..class..".png", 0, 0, 0, tocolor(255, 255, 255), false ) end end end end end )
  8. hi guys i have question. how make if player create event add in guiGridList exmple "WASSIm. he is created event [2013:8:6][4:05:30]" addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == GUIEditor.button[1] ) then triggerServerEvent ( "onCreateEvent", getRootElement(), localPlayer) local row = guiGridListAddRow ( GUIEditor.gridlist[1] ) column = guiGridListAddColumn(GUIEditor.gridlist[1], "Lest event created", 0.9) end end)
  9. 2) a3ml refresh fi F8
  10. you need proof you have that resources exmple screenshot et video
  11. 9olna Slm lolad. 7abit n7arak il board chwaya 9olet na3ml jeux mta3 image kima haka
  12. for me its download slow and 180 ping
  13. WASSIm.

    Question

    exports["dxscoreboard"]:scoreboardAddColumn ( "Ranks", root, 20, "R", 1) function showranks( ) for index, player in ipairs ( getElementsByType "player" ) do local r = getElementData(player,"level") if not r then setElementData( player, "Ranks", r ) else setElementData( player, "Ranks",":(IV)ranks/ranks/lvl_"..r..".png") end end end setTimer ( showranks, 500, 0 )
  14. وش? ههههههههههههههههههههه
  15. this board for scripting post here: viewforum.php?f=108
  16. WASSIm.

    Question

    nothing
  17. راو abxf عاندو حاساسييا مين عاراب
  18. WASSIm.

    Question

    idk why image is same resource and put name resource ! exports["dxscoreboard"]:scoreboardAddColumn ( "Ranks", root, 20, "R", 1) function showranks( ) for index, player in ipairs ( getElementsByType "player" ) do local r = getElementData(player,"level") if not r then setElementData( player, "Ranks", r ) else setElementData( player, "Ranks","(IV)ranks:ranks/lvl_"..r..".png") end end end setTimer ( showranks, 500, 0 )
  19. WASSIm.

    Question

    i make it but nothing
  20. WASSIm.

    Question

    its same resource look > ="ranks.lua" type="server"/> src="ranks/lvl_0.png" /> src="ranks/lvl_1.png" /> src="ranks/lvl_2.png" /> src="ranks/lvl_3.png" /> src="ranks/lvl_4.png" /> src="ranks/lvl_5.png" /> src="ranks/lvl_6.png" /> src="ranks/lvl_7.png" /> src="ranks/lvl_8.png" /> src="ranks/lvl_9.png" /> src="ranks/lvl_10.png" />>
×
×
  • Create New...