Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. just use toggleControl to disable that Control what u want not hard .
  2. toggleControl https://wiki.multitheftauto.com/wiki/Control_names
  3. -- Server -- addEvent("IP?", true) addEventHandler("IP?", getRootElement(), function() local ip = getPlayerIP(source) triggerClientEvent(source, "Client",source,ip) end ) -- Client -- addEvent("Client", true) addEventHandler("Client", getRootElement(), function(ip) if guiGetVisible(نافذتك #, true) then guiSetText(لبل, "IP: " .. ip .. "") else guiSetText(لبل, "IP: N/A") end end ) addEventHandler("onClientRender", getRootElement(), function() triggerServerEvent("IP?", getLocalPlayer()) end ) جرب الاي بي ذذ #
  4. getPlayerIP getPlayerSerial getElementHealth getPedArmor "onClientRender"
  5. @ Towncivilian The problem has been resolved thanks to cooperate with us .
  6. Good Luck <3 .
  7. لا غلط ذذ #
  8. خذ راحتك ذذ # عليك بالصبر ذذ
  9. Happy birthday guys (;
  10. يخوي ماهو على كيفنا ذذ متى مادخل الرجال حلها لك #
  11. No just edit the weapon xml file .
  12. Edit the xml file or remove the command from fr_client.lua add "--" before the command .
  13. لول فهمتك غلط يصير كذا : -- Server -- addEvent("on",true) addEventHandler("on",root, function () PlayerName = getPlayerName(source) addEventHandler("onPlayerChat", root, mute) outputChatBox(" "..PlayerName.." is Busy",root,255,255,255,true) end) addEvent("off",true) addEventHandler("off",root, function () removeEventHandler("onPlayerChat", root, mute) outputChatBox(" "..PlayerName.." is Available",root,255,255,255,true) end ) time = 30 timer = {} function mute(msg,type) local find = string.find(msg,getPlayerName(source)) if ( type == 0 and find ) then setPlayerMuted(source,true) outputChatBox("* You Are Muted For " .. time .. " " ,source,255,0,0) timer[source] = setTimer(endMute,time * 1000,1,source) end end function endMute(player) setPlayerMuted(player,false) outputChatBox("* You Can Talk Now",player,0,255,0) end addEventHandler("onPlayerQuit",root, function () if ( isTimer(timer[source]) ) then killTimer(timer[source]) end end ) -- Client -- Wnd = guiCreateWindow(241,515,317,120,"No Subject",false) On = guiCreateButton(70,30,50,50,"On",false,Wnd) Off = guiCreateButton(10,30,50,50,"Off",false,Wnd) addEventHandler("onClientGUIClick",root, function() PlayerName = getPlayerName(localPlayer) if source == On then triggerServerEvent("on",getLocalPlayer()) elseif source == Off then triggerServerEvent("off",getLocalPlayer()) end end)
  14. الله يعافيك, لا بس تقدر كذا : outputChatBox(" #FF0000"..PlayerName.." #FFFF00is Available",root,255,255,0,true)
  15. وَتَعَاوَنُواْ عَلَى الْبرِّ وَالتَّقْوَى وَلاَ تَعَاوَنُواْ عَلَى الإِثْمِ وَالْعُدْوَانِ وَاتَّقُواْ اللّهَ إِنَّ اللّهَ شَدِيدُ الْعِقَابِ
  16. iPrestege

    help

    م تشوف الرجال يقولك ناقص end -_-" end زايد + كودك صحيح بس لازم تسوي تايمر عشان اللون يقعد يتغير .. كودك راح يحط لون عشوائي مرة واحدة بس لا هو مسوي تايمر ذذ
  17. عزيزي تراك خبصت المنتدى ! مواضيع الاعضاء اللي نساعدهم راحت تحت :@
  18. الفنكشن حق قفل الروم سهل كذا بس ذذ : shutdown("السبب") لول #
  19. iPrestege

    help

    You're Welcome , العفو ===================== كودك مافية خطأ بس بالنسبة لي أسهل كذا بـ الفنكشن كامل ذذ و لا كودك بس زايدكـ end #
  20. iPrestege

    help

    ماشاء الله عارف خخخـ
  21. تخريف تايم ذذ وين shutdown?
  22. iPrestege

    help

    وين addCommandHandler ؟؟ ذذ ماهو لازم بس سويتها له اقتراح ذذ
  23. ينطبق عليك #
  24. onClientGUIClick triggerServerEvent shutdown لازم معك الصلاحيات في قروبك اساسية ومفتوحة في الـ "ACL" وبسس #
  25. تبي اي احد يسويها عادي ولا لازم قروب ولا كيف وضعها ذذ ؟
×
×
  • Create New...