Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. try to change files place put it with the script orignal file .
  2. No that's should work add 1% from 100% every 10 seconds!
  3. guiProgressBarSetProgress(GUIEditor_Progress[1],0) setTimer(function() guiProgressBarSetProgress(GUIEditor_Progress[1],guiProgressBarGetProgress(GUIEditor_Progress[1])+1) end,10000,100)
  4. guiProgressBarSetProgress(GUIEditor_Progress[1],0) setTimer (guiProgressBarSetProgress,10000,1,GUIEditor_Progress[1],guiProgressBarGetProgress(GUIEditor_Progress[1]) + 1) Try it .
  5. i think that you wan't it same download progressbar?
  6. addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor_Button[1] ) then triggerServerEvent("take",localPlayer) guiSetEnabled(GUIEditor_Button[1],false) guiSetVisible(GUIEditor_Window[1],not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) setTimer(function() guiSetEnabled(GUIEditor_Button[1],true) end, 60000, 1) end end ) بدلة باللي عندك ذذ
  7. Thanks I forgot this thing # Edited .
  8. Client Side : yazan = createMarker( 1365, -1275.5, 13.5,"cylinder", 2, 255, 255, 255, 150 ) GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Window[1] = guiCreateWindow(522,202,182,94,"by yaZan",false) guiSetVisible(GUIEditor_Window[1],false) GUIEditor_Button[1] = guiCreateButton(18,30,149,53,"Money",false,GUIEditor_Window[1]) function open(player) if ( player == localPlayer ) then guiSetVisible(GUIEditor_Window[1],not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) end end addEventHandler("onClientMarkerHit", yazan, open) addEventHandler("onClientGUIClick",GUIEditor_Button[1], function () triggerServerEvent("take",localPlayer) guiSetVisible(GUIEditor_Window[1],not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) end ) Server Side : addEvent("take",true) addEventHandler("take",root, function () givePlayerMoney(source,100) outputChatBox("You Take 100 $ !",source,0,255,0,true) end)
  9. You Have To Edit The "progress" 0 - 100 As What I Know .
  10. نسيت شي واحد spawnPlayer ماطلب هالشيء هو طلب اختيار فريق بس ~
  11. دامهم عطوك الكود الكلنت خلني اكمل السيرفر : Team = createTeam ("Team[1]",255,0,0) addEvent("spawn",true) addEventHandler("spawn",root, function () setPlayerTeam(source,Team) end)
  12. createTeam setPlayerTeam triggerServerEvent
  13. No create gridlist and use some simple function and create new topic in scripting better .
  14. setTimer (guiProgressBarSetProgress,10000,1,GUIEditor_Progress[1],progress) Does That What You Want ? You should use it in function .
  15. Syntax اقراهـ و اذا مافهمت شوف الامثلة تساعدك وهذا مثال على زر addEventHandler("onClientGUIClick",Button, function () -- الوظيفة المطلوبة end ) مثال كامل / addEventHandler("onClientGUIClick",PositionButton, function () setElementPosition (localPlayer,x,y,z) end )
  16. onClientGUIClick وش الامر اللي بتسوية ضيفة وشوف الويكي ~ اي مشكلة اطرحها ~
  17. You're Script Also Have The Same Fu Ck Ing Problem ^^
  18. No it,s not you know why? Becuase if he wasn't on the vehicle the vehicle won't open again ^ .
  19. Jaysd1 Script Should Work But You Should To Be in A Vehicle To Un-Lock it !
×
×
  • Create New...