Jump to content

☠ RaZeR ☠

Members
  • Posts

    569
  • Joined

  • Last visited

Everything posted by ☠ RaZeR ☠

  1. ؟؟؟؟واسمك : FOX_script المود يلي حطة منشور اصلا ض خليته يمحي الاكواد خلاص ما يحتاج سويته
  2. hi i want to remove the hex code from Warp Panel in the Freeroam fr_client function warpInit() local players = table.map(getElementsByType('player'), function(p) return { name = getPlayerName(p) } end) table.sort(players, function(a, b) return a.name < b.name end) bindGridListToTable(wndWarp, 'playerlist', players, true) local gui = getControl(wndWarp, 'search') addEventHandler ( "onClientGUIChanged", gui, findPlayer, false ) end function findPlayer () local text = guiGetText ( source ) if (text == "") then local players = table.map(getElementsByType('player'), function(p) return { name = getPlayerName(p) } end) table.sort(players, function(a, b) return a.name < b.name end) bindGridListToTable(wndWarp, 'playerlist', players, true) return end local matches = {} for index, playeritem in ipairs (getElementsByType("player")) do if ( string.find ( string.upper ( getPlayerName ( playeritem ) ), string.upper ( text ), 1, true ) ) then table.insert(matches, playeritem) end end local players = table.map(matches, function(p) return { name = getPlayerName(p) } end) table.sort(players, function(a, b) return a.name < b.name end) bindGridListToTable(wndWarp, 'playerlist', players, true) end
  3. give me example plz !
  4. ok # please can you help me to change the topbar chat from top to bottom !
  5. THIS Version no hex color enabled
  6. i want to get the player position # if the player position is the same before 1h = after 1 hour |> open window example : if the postion of player is ( 858.14453, -587.89142, 18.01809 ) if it after 1 hour ( 858.14453, -587.89142, 18.01809 ) then open window
  7. i want to check the player position every 1 hour # after that if the position after 1 hour is the same # open the window
  8. no i want to check if the player in the same position # then open window
  9. worked ! | but the killTimer ( tim ) doesnt work
  10. no problem in debug but the windows doesnt want to be visible | # i changed the time to 5 sec function outputLocalPlayerPosition ( ) local px, py, pz = getElementPosition ( getLocalPlayer ( ) ) end function gg2 () local x, y, z = getElementPosition ( getLocalPlayer ( ) ) if ( x == px and y == py and z == pz ) then guiSetVisible ( wind, true ) end end setTimer ( gg2, 5000, 0 )
  11. الهدف : يسوي تحقق | لو اللوحة مفتوحة | يسوي تحقق من الفلوس (هذي في السيرفر) والتحقق من الفلوس مسويله تايمر عشان يتحقق كل شوي المشكلة انه مب شغال يقولي التريقر اللي في الكلنت مب موجود في السيرفر > المشكلة في التريقر
  12. why this doesn't work @ Debug " client.lua:7 ")" expected near "," function outputLocalPlayerPosition ( ) local px, py, pz = getElementPosition ( getLocalPlayer ( ) ) end setTimer (function() if ( getElementPosition ( getLocalPlayer ( ) ) == px, py, pz ) then guiSetVisible ( wind, true ) end end, 3600000, 0 ) )
  13. هلا والله | شباب في مشكلة في التريقر تطلع لي في الديبوق #Client #00ff00foxx triggered serverside event "rew4" but event in not added server side Client setTimer (function() if ( guiGetVisible ( mis5 ) == true ) then triggerServerEvent ( "rew4", resourceRoot ) end end, 1000, 0 ) server : tim = setTimer( function Handler( ) for index, value in ipairs( getElementsByType("player") ) do if getPlayerMoney( value ) >= 3000000 then triggerClientEvent ( value, "reward5" , value ); outputDebugString ( "works@server" ); triggerClientEvent ( value, "show5" , value ); killTimer ( tim ) else resetTimer(tim) end end end, 10000, 0 ); addEvent( "rew4", true ) addEventHandler( "rew4", resourceRoot, Handler )
×
×
  • Create New...