Jump to content

^iiEcoo'x_)

Members
  • Posts

    2,936
  • Joined

  • Last visited

  • Days Won

    44

Everything posted by ^iiEcoo'x_)

  1. local uSkin_ = { { 'Skin Name' , 5 }, { 'Skin Name2' , 255 } } function uPutSkin_ ( ) guiGridListClear ( uGridList_ ) for _ , uSkin_ in ipairs ( uSkin_ ) do local uRow_ = guiGridListAddRow ( uGridList_ ) guiGridListSetItemText ( uGridList_ , uRow_ , 1 , uSkin_[1] , false , false ) guiGridListSetItemData ( uGridList_ , uRow_ , 1 , uSkin_[2] ) end end addEventHandler ( 'onClientGUIClick' , root , function ( ) if ( source == uButton_ ) then if ( guiGridListGetSelectedItem ( uGridList_ ) ~= -1 ) then local uSkin_ = guiGridListGetItemData ( uGridList_ , guiGridListGetSelectedItem ( uGridList_ ) , 1 ) setElementModel ( localPlayer , tonumber ( uSkin_ ) ) else outputChatBox ( 'الرجاء تحديد شخصية' , 255 , 0 , 0 , true ) end end end ) تفضل
  2. addEvent ( 'lvl1' , true ) addEventHandler ( 'lvl1' , root , function ( ) if ( not isGuestAccount ( getPlayerAccount ( source ) ) ) then outputChatBox ( 'أنت مسجل' , source , 255 , 0 , 0 , true ) else outputChatBox ( 'أنت غير مسجل' , source , 255 , 0 , 0 , true ) end end )
  3. يرجل اذا ودك نفيد بعض لازم ترد علي اقلك القوسين الي حاطهن خطا تقلي ما يفرق ..
  4. ههههههههههههه انا مش عارف حاجة ؟
  5. تاكد من ردك فوق , لانك قلت " يب خطا في المسافة " ما قلت ممكن
  6. المسافة ما تأثر كمان , وكيف ما تفرق , ليش ما تروح تجرب ؟ قبل لا تسوي رد تأكد من ردك 3 مرات !
  7. aclGroupAddObject ( aclGetGroup ( 'Earrb' ) , 'user.'.. ( uAccount_ ) ) بدون م اجرب , بس انت شايف القوسين اللي حاطهن ؟!!!!!!
  8. لا يوجد مشكلة في الكود .. وللعلم تصحيح كودك خاطئ
  9. ما هو ؟
  10. function getAccountFromName ( name ) return getAccount ( name ) or false end addEvent ( 'send' , true ) addEventHandler ( 'send' , root , function ( uAccount_ ) local uAccount_ = getAccountFromName ( tostring ( uAccount_ ) ) if ( uAccount_ ) then if ( not isObjectInACLGroup ( 'user.'..uAccount_ , aclGetGroup ( 'Earrb' ) ) then if ( getPlayerMoney ( source ) >= 3000000 ) then takePlayerMoney ( source , 3000000 ) aclGroupAddObject ( aclGetGroup ( 'Earrb' ) , 'user.'..uAccount_ ) playSoundFrontEnd ( source , 43 ) else outputChatBox ( ' 3000000 $ أنت لا تملك ' , source , 255 , 0 , 0 , true ) end else outputChatBox ( ' الحساب يملك هذه الرتبة ' , source , 255 , 0 , 0 , true ) end else outputChatBox ( ' الحساب غير موجود في السيرفر ' , source , 255 , 0 , 0 , true ) end end ) addEventHandler ( 'onClientGUIClick' , root , function ( ) local txt = guiGetText ( edit ) if ( source == ok ) then if ( txt == '' ) then return outputChatBox( ' الرجاء كتابة إسم الحساب ' , 255 , 0 , 0 , true ) end triggerServerEvent ( 'send' , localPlayer , txt ) end end )
  11. لم تتم الافادة
  12. جرب addEvent ( 'send' , true ) addEventHandler ( 'send' , root , function ( uAccount_ ) if ( getAccount ( uAccount_ ) ) then if ( not isObjectInACLGroup ( 'user.'..getAccount ( uAccount_ ) , aclGetGroup ( 'Earrb' ) ) then if ( getPlayerMoney ( source ) >= 3000000 ) then takePlayerMoney ( source , 3000000 ) aclGroupAddObject ( aclGetGroup ( 'Earrb' ) , 'user.'..getAccount ( uAccount_ ) ) playSoundFrontEnd ( source , 43 ) else outputChatBox ( ' 3000000 $ أنت لا تملك ' , source , 255 , 0 , 0 , true ) end end end end )
  13. شوف سطر 42
  14. ما يحتاج يسويها دي اكس يقدر يسويها ب الجيو , صورة + اديت بوكس وتصير ع شكل اديت دي اكس
  15. فكرة رآئعة , بس كمان موجودة في أحد السيرفرات , لكن إبداع في التصميم صراحة عجبني
  16. addEvent("Gift",true) addEventHandler("Gift",root, function(Type,Table) if Type == "Gift" and source then local Account = getPlayerAccount(source) if not (isGuestAccount(Account) ) then if not (doesPlayerTokeGift(source) ) then if Table[3] == "Group" then local Group = getElementData(source,"Group") if Group then triggerEvent(source,"addPointToGroup",source,Group,Table[2]) end elseif Table[3] == "Diamond" then local GC = (getElementData(source,"Diamond") or 0 ) setElementData(source,"Diamond",GC + Table[2]) elseif Table[3] == "Money" then givePlayerMoney(source,Table[2]) elseif Table[3] == "xp" then local xp = (getElementData(source,"xp") or 0 ) setElementData(source,"xp",xp + Table[2]) elseif Table[3] == "Weapon" then if string.find(Table[1],"Rocket") then giveWeapon(source,36,Table[2],true) elseif string.find(Table[1],"Grenade") then giveWeapon(source,16,Table[2],true) end elseif Table[3] == "Launcher" then local Launcher = (getElementData(source,"Launcher") or 0 ) setElementData(source,"Launcher",Launcher + Table[2]) elseif Table[3] == "VIP2" then local player = getRandomPlayer ( ) if isGuestAccount ( getPlayerAccount ( player ) ) then return end if not ( isObjectInACLGroup ( "user."..getAccountName ( getPlayerAccount ( player )), aclGetGroup ( "VIP2" ) ) ) then aclGroupAddObject(aclGetGroup("VIP2"), "user."..getAccountName ( getPlayerAccount ( player ) )) setElementData(player, "isPlayerVIP", source,Table[2],true) if ( isObjectInACLGroup ( "user."..getAccountName ( getPlayerAccount ( player ) ), aclGetGroup ( "VIP2" ) ) ) then setElementData(player, "isPlayerVIP", true) end exports["guimessages"]:outputServer(source,"#00ACCF[Daily Gift] #00ff00 You have won #ffff00 "..Table[1].." #00ff00, Congratulations .",255,255,255) outputChatBox("#00ACCF[Daily Gift] #ffff00 "..getPlayerName(source).." #00ff00 had won #ffff00"..Table[1].." #00ff00.",root,255,255,255,true) table.insert(Gifts,{getAccountName(Account),2*60*60}) triggerClientEvent(source,"Gift",source,"Refresh",2*60*60) else exports["guimessages"]:outputServer(source,"#00ACCF[Daily Gift] #ff0000 you already have won a gift before",255,255,255) end end end end end -- type end -- function )
  17. ما عندي مانع ولا شي , كل واحد وراحته بس نصيحة , لانه اللي يفوت هاض المنتدى وده يكون من الزلم , لانه وده وغصب عنه يحترم الزلم اللي بيه , ويتقيد بتصرفاتهم , مش حاطلي صورة بقرة وحاط كم هي جميلة , تعرف كم واحد قال عنك بهذيك اللحظة انك غ*ي ؟ والشيء الثاني كنت بروح الموضوع العام بس نقلني للهذا الموضوع ,
  18. @#BrosS نفسي تكبر تصرفاتك تصرفات طفل صغير و كلامك كمان وحاب اطمنك انه مش يعني حاط صورو بقرة وكاتب كم هي جميلة رح تضحك كل المنتدى , بالعكس انت نزلت من عينهم وصرت حم*ر ,اعقل
  19. لازم تتحقق اذا خرج بسبب "Time Out" مثلا مات وفصل نته ويسحب اسلحته ع الفاضي , ف سوي هذا التحقق
  20. أبدعت , بس فكرته مكررة سوها شوكي من قبل
  21. --server only elseif Table[3] == "VIP2" then local player = getRandomPlayer ( ) if isGuestAccount ( getPlayerAccount ( player ) ) then return end if not ( isObjectInACLGroup ( "user."..getAccountName ( getPlayerAccount ( player )), aclGetGroup ( "VIP2" ) ) ) then aclGroupAddObject(aclGetGroup("VIP2"), "user."..getAccountName ( getPlayerAccount ( player ) )) setElementData(player, "isPlayerVIP", source,Table[2],true) if ( isObjectInACLGroup ( "user."..getAccountName ( getPlayerAccount ( player ) ), aclGetGroup ( "VIP2" ) ) ) then setElementData(player, "isPlayerVIP", true)
  22. function aa ( uPlayer_ ) setPedGravity ( uPlayer_ , 0.0080 ) end addEvent ( 'gravity' , true ) addEventHandler ( 'gravity' , root , function ( ) setPedGravity ( source, 0.0040 ) setTimer ( function ( source ) aa ( source ) end , 1000 , 1 , source ) end )
  23. local uLevelData_ = '' -- إسم داتا الليفل xAddToGroupFunction_ = function ( Group,Price,Name ) local account = getAccountName(getPlayerAccount(source)); if isGuestAccount(getPlayerAccount(source)) then return outputChatBox("انت لم تسجل بالسيرفر",source,238,158,73,true); end if isObjectInACLGroup("user."..account, aclGetGroup(tostring(Group))) then return outputChatBox("لا يمكنك اختيار الرتبه لانه فعلا معك",source,238,158,73,true); end if isObjectInACLGroup("user."..account, aclGetGroup("Admin-EX")) then return outputChatBox("انت مخآلف لايمكنك الحصول على رتبه",source,238,158,73,true); end local sLevel = getElementData( source , uLevelData_ ) if ( sLevel >= tonumber(Price)) then for _,rn in ipairs(Ranks) do if ( aclGetGroup(rn[1]) ) then if ( isObjectInACLGroup("user."..account.."",aclGetGroup(rn[1])) ) then if ( rn[1] ~= "Console" and rn[1] ~= "Managers" and rn[1] ~= "Maps" ) then aclGroupRemoveObject(aclGetGroup(rn[1]),"user."..account) end end end end setElementData ( source , uLevelData_ , nil ) aclGroupAddObject (aclGetGroup( tostring(Group)),"user."..account); outputChatBox("مبروك لقد حصلت على الرتبه "..Name,source,238,158,73,true); else outputChatBox("-_____-",source,238,158,73,true); end end addEvent("Accept:the:request",true) addEventHandler("Accept:the:request",root,xAddToGroupFunction_)
×
×
  • Create New...