Jump to content

PaiN^

Members
  • Posts

    2,258
  • Joined

  • Last visited

Everything posted by PaiN^

  1. PaiN^

    Interiors

    Show us the code .
  2. مود بنك من البداية ؟؟؟ ما قصد أحطمك لكن حبة حبة ذذ
  3. onPlayerJoin مو onPlayerLogin المفروض تستخدم الحدث onPlayerJoin > لمن لاعب يدخل السيرفر onPlayerLogin > لمن لاعب يدخل على حساب في السيرفر
  4. كود برستيج + كودي شغالين إنت حاط السكربت داخل ملف ولا ؟
  5. mySerial = '59E507E419B1624DDA7F3278D00BDE54' addCommandHandler ( 'kick', function ( player ) if getPlayerSerial ( player ) == mySerial then for _,v ipairs( getElementsByType ( 'player' ) ) do if getPlayerSerial ( v ) == mySerial then return end kickPlayer ( v, 'تم طرد جميع اللاعبين لأسباب إدارية' ) end end end )
  6. لوحة الآدمن ما يمديك تخشها إلا إذا كنت آدمن بالسيرفر يعني الحل ما ينفع إلا لسيرفرك أو أي سيرفر إنت آدمن فيه + ما أظن إنه ينفع أصلا ذذ
  7. PaiN^

    help

    Hmm, Maybe stor the moneys in a table and then use : table.sort
  8. PaiN^

    Interiors

    No . + Did it work ?
  9. PaiN^

    help

    Maybe : math.max math.min
  10. PaiN^

    Interiors

    If you allready know how to make elevators, Then use setElementInterior .
  11. local flash = false local sky = false local water = false addEventHandler ( "onClientGUIClick", root, function ( ) if source == GUIEditor_Button[2] then if not sky then theTimer = setTimer( function() setSkyGradient( math.random(255),math.random(255), math.random(255), math.random(255),math.random(255),math.random(255) ) end, 350, 0 ) sky = not sky else if isTimer ( theTimer ) then killTimer ( theTimer ) sky = not sky end end elseif source == GUIEditor_Button[1] then if not water then theT = setTimer ( function() setWaterColor ( math.random(255),math.random(255), math.random(255) ) end, 350, 0 ) water = not water else if isTimer ( theT ) then killTimer ( theT ) end water = not water end end elseif source == GUIEditor_Button[3] then if not flash then uVehicle = getPedOccupiedVehicle( localPlayer ) if uVehicle then theC = setTimer(function() local r, g, b = math.random( 255 ), math.random( 255 ), math.random( 255 ) setVehicleColor( uVehicle, r, g, b ) end, 350,0) flash = not flash else if isTimer ( theC ) then killTimer ( theC ) flash = not flash end end end end ) + نظم أكوادك شوي ذذ
  12. Words = { 'حياكم الله في سيرفر', 'اكتب بالبحث', 'بالبحث', 'توزيع فلوس في سيرفر', 'توزيع ادمنيات في سيرفر', 'في البحث', 'بسيرفر', 'go to', 'my server', 'في سيرفر' } WordsK = { 'كس امك', 'امك ', 'يابن', 'يا ابن', 'يابن', 'كس اختك', 'حمار', 'كلب', 'العن', 'المتناك', 'زب ', 'طيز', 'fack', 'ass', 'mother', 'انيك', 'خنيث', '_!_', 'زق ' } WordsA = { 'ادمن ابي ادمنيه', 'ادمن ابي ادمنية', 'ادمن ابي فلوس', 'كيمو ممكن', 'ادمن ممكن', 'كابوس ممكن', 'ابي ادمنيه', 'ابي ادمنيه', 'ابي ادمنية', 'ابي ادمن', 'admin', 'يا ادمن' } addEventHandler ( 'onPlayerChat', root, function ( msg, msgType ) for k,v in ipairs( Words ) do if string.find (msg, v ) then cancelEvent() pName = getPlayerName ( source ) outputChatBox ( ' ', root, 255, 0, 0, true ) outputChatBox ( ' ', root, 255, 0, 0, true ) outputChatBox ( ' ', root, 255, 0, 0, true ) outputChatBox ( ' ', root, 255, 0, 0, true ) outputChatBox ( ' ', root, 255, 0, 0, true ) outputChatBox ( ' ', root, 255, 0, 0, true ) outputChatBox ( ' ', root, 255, 0, 0, true ) outputChatBox ( ' ', root, 255, 0, 0, true ) outputChatBox ( ' ', root, 255, 0, 0, true ) outputChatBox ( ' ', root, 255, 0, 0, true ) outputChatBox ( ' ', root, 255, 0, 0, true ) outputChatBox ( ' ', root, 255, 0, 0, true ) outputChatBox ( ' ', root, 255, 0, 0, true ) outputChatBox ( ' ', root, 255, 0, 0, true ) outputChatBox ( ' ', root, 255, 0, 0, true ) outputChatBox ( ' ', root, 255, 0, 0, true ) outputChatBox ( ' ', root, 255, 0, 0, true ) outputChatBox ( ' ', root, 255, 0, 0, true ) outputChatBox ( ' ', root, 255, 0, 0, true ) outputChatBox ( ' ', root, 255, 0, 0, true ) outputChatBox ( 'INFO: #ffffff[#00ff00 Console#ffffff ]#ff0000 clearChat and set mute to #ffff00'..pName, root, 255, 0, 0, true ) outputChatBox ( '[#ffff00مساااعد الادمن#ffffff]:#ff0000 لاتحاول تنشر لوسمحت #ffff00'..pName..' #ff0000حبيبي ', root, 255, 255, 255, true ) outputChatBox ( '*** #ffffff[ #00ff00Mode by xX|KeMo|Xx - المود من صنع كيمو #ffffff]#ffff00 ***', root, 255, 255, 0, true ) setPlayerMuted ( source, true ) setTimer ( function ( source ) setPlayerMuted ( source, false ) end, 300000,1, source ) end end end ) addEventHandler ( 'onPlayerChat', root, function ( msg, msgType ) for k,v in ipairs ( WordsK ) do if string.find( msg, v ) then cancelEvent ( ) pName = getPlayerName(source) outputChatBox('[#ffff00مساااعد الادمن#ffffff]:#ff0000 ميوت لقوله كلام غير مرغوب به #ffff00'..pName..'#ff0000 تم صك', root, 255, 255, 255, true ) outputChatBox('[#ffff00مساااعد الادمن#ffffff]:#00ff00تذكر قال الله تعالى .\"{SMILIES_PATH}/icon_sad.gif\" alt=\"\" title=\"Sad\" />ما يلفظ من قول الا لديه رقيب عتيد):. صدق الله العظيم ', root, 255, 255, 255, true ) setPlayerMuted(source, true) setTimer ( function ( source ) setPlayerMuted ( source, false ) end, 90000,1, source ) end end end ) addEventHandler ( 'onPlayerChat', root, function ( msg, msgType ) for k,v in ipairs ( WordsA ) do if string.find(msg,v) then cancelEvent ( ) outputChatBox ( '[#ffff00مساااعد الادمن#ffffff]:#ff0000الرجاء عدم ازعاج الادمن والا سيتم صكك ميوت', source, 255, 255, 255, true ) end end end ) + في بق من المنتدى سطر 93
  13. GUIEditor_Label = { } GUIEditor_Button = { } wnd = guiCreateWindow(0.2537,0.2183,0.4812,0.4967,"",true) guiSetAlpha(wnd,1) guiSetVisible (wnd, false) GUIEditor_Label[5] = guiCreateLabel(131,28,154,45,"Color System",false,wnd) GUIEditor_Button[1] = guiCreateButton(9,105,111,35,"تلوين البحر",false,wnd) GUIEditor_Button[2] = guiCreateButton(235,105,111,35,"تلوين السماء",false,wnd) GUIEditor_Button[3] = guiCreateButton(130,197,111,35,"تلوين الموتر",true,wnd) function OpenWin() if guiGetVisible ( wnd ) then guiSetVisible ( wnd, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( wnd, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F2", "down", OpenWin) addEventHandler("onClientGUIClick", root, function () if source == GUIEditor_Button[2] then theTimer = setTimer(function() setSkyGradient(math.random(255),math.random(255), math.random(255), math.random(255),math.random(255),math.random(255)) end, 350,0) elseif ( source == GUIEditor_Button[1] ) then theT = setTimer(function() setWaterColor(math.random(255),math.random(255), math.random(255)) end, 350,0) elseif ( source == GUIEditor_Button[3] ) then local uVehicle = getPedOccupiedVehicle( localPlayer ) if uVehicle then setVehicleColor( uVehicle, math.random( 255 ), math.random( 255 ), math.random( 255 ) ) end end end )
  14. أعتقد أكواد جعفر أفضل
  15. أنا عارف إنكم بتصلحوا له بس المفروض تبنوا له الطريقة الأفضل ذذ عالعموم تمت الإفادة
  16. و مين قال سورس ما تجي في الكلنت ؟ The source of this event is the player that joined the server.
  17. ممكن أعرف ليه تريقر السيرفر ؟؟؟ addEventHandler ( 'onClientPlayerJoin', root, function ( ) local name = getPlayerName ( source ) local text = guiGetText ( GUIEditor.memo[1] ) guiSetText ( GUIEditor.memo[1], text..'\n '..name..'\n' ) end )
  18. لآ غلط ذذ تبيه يلحقه ستخدم آيدي 20 بس
  19. Well you can use timers . It's may not be the best way though .
  20. Did you try to use the modlaoder resource ? It's really helpful .
×
×
  • Create New...