Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 21/12/16 in all areas

  1. -- Client addEventHandler ( 'onClientGUIClick',root, function ( ) if ( source == PlateBTN ) then if ( isPedInVehicle ( localPlayer ) ) then triggerServerEvent ( 'gChangeMyPlate',localPlayer,getPedOccupiedVehicle( localPlayer ),guiGetText( PlateEdit ) ) elseif ( source == Close_BTNBTN ) then guiSetVisible ( testing,false ) guiSetVisible( wind1,true ) showCursor ( true ) guiSetInputEnabled ( false ) end end end ) -- Server addEvent ( 'gChangeMyPlate',true ) addEventHandler ( 'gChangeMyPlate',root, function ( gVehicle,gPlate ) if ( gVehicle and isElement ( gVehicle ) ) then setVehiclePlateText ( gVehicle,gPlate ) outputChatBox( 'Success : تم تغيير رقم لوحة الموتر بنجاح'..gPlate,client,255,0,255,true ) end end )
    2 points
  2. Hai all, I'm testing out some filming and rendering on my computer and actually wondered what you think of this quality. (This is not my map!) Any tips about getting the quality better are welcome~
    1 point
  3. what not using localPlayer ?
    1 point
  4. غير صحيح اخ طاره يسوي تحقق اذا ماكانت الداتا موجوده او انها نيل وينهي الوظيفه ويرجع لخطأ
    1 point
  5. استخدم وظيفة : downloadFile بـ كذا ما راح يجي شريط التحميل .. واذا تبي تسوي شريط تحميل مع هذي الوظيفة يبغالها شوية حسبة حجم الملف والوقت والخ ..
    1 point
  6. WARNING: Bad Argument @ Forum Post [Expected script got Nil] 'Cant debug without the code' but you haven't specified a SQL Connection
    1 point
  7. Most likely the batch file I provided would be resolving it, but the peerdist helper DLL error preventing it to run correctly.. not much known about that error. I will try research what exactly is failing there and what the DLL is used for, but it's closely related to some sort of corruption in your OS networking stack (and probably part of the issue itself)
    1 point
  8. -- كلينت addEventHandler ( "onClientGUIClick", root, function ( ) if source == GUIEditor.button[1] then triggerServerEvent ( "onSave", localPlayer, guiGetText ( GUIEditor.edit[1] ) ) guiSetText ( GUIEditor.label[1], guiGetText ( GUIEditor.edit[1] ) ) end end ) addEvent( "addText", true ) addEventHandler ( "addText", root, function ( Text ) guiSetText ( GUIEditor.label[1], Text ) end ) -- سيرفر addEvent ( "onSave", true ) addEventHandler ( "onSave", root, function ( Text ) exports [ "sqldata" ] : setPlayerSerialData ( source , "SaveText" , Text ) end ) addEventHandler ( "onPlayerJoin", root, function ( ) local Text = exports [ "sqldata" ] : getPlayerSerialData ( source , "SaveText" ) if Text then triggerClientEvent ( source, "addText", source, Text ) end end )
    1 point
  9. Oh well, after a very long annoying evening, where I tried to fix it (sometimes it still overwrites the file), I decided to swap to sql. I even read it some times, that one shouldn't use xml, as ist slow and not good for data storage, but I was to lazy to get int sql. Surprisingly I got into sql query's logic fast and have to say, well I don't need any xml (at the moment) anymore, so this is more or less solved. Still thank you for your help, friends.
    1 point
  10. Got my refund, thanks noki!
    1 point
  11. هذي البارتمترز اللي انا مرسلها من الكلنت للسيرفر اللي هي المركبة وكلام الايديت عشان اطبقها بالسيرفر
    1 point
  12. -- Client addEventHandler ( 'onClientGUIClick',root, -- هذا الحدث يوم ضغط الالمنت جوي function ( ) -- وظيفة if ( source == PlateBTN ) then -- اذا كان سورس الحدث اللي هو الالمنت هو زر وضع اللوحة if ( isPedInVehicle ( localPlayer ) ) then -- اذا كان الاعب في مركبتة triggerServerEvent ( 'gChangeMyPlate',localPlayer,getPedOccupiedVehicle( localPlayer ),guiGetText( PlateEdit ) ) -- ^^ هنا ارسلت ترايقر للسيرفر بمركبة الاعب وكلام الايديت elseif ( source == Close_BTNBTN ) then -- ينطبق على ماسبق guiSetVisible ( testing,false ) guiSetVisible( wind1,true ) -- اخفاء واظهار النوافذ showCursor ( true ) guiSetInputEnabled ( false ) -- اظهار المؤشر ووضع الادخال تعيينة الى فولس end -- لاداعي لاكمال المتبقي والله أعلم end end ) -- Server addEvent ( 'gChangeMyPlate',true ) -- نضيف الحدث بالسيرفر addEventHandler ( 'gChangeMyPlate',root, -- نضيف الحدث عشان نشغل الوظيفة function ( gVehicle,gPlate ) -- وظيفة if ( gVehicle and isElement ( gVehicle ) ) then -- اذا كانت المركبة و التحقق من انها المنت setVehiclePlateText ( gVehicle,gPlate ) -- نضغ الكلام الموجود كـ لوحة للمركبة outputChatBox( 'Success : تم تغيير رقم لوحة الموتر بنجاح'..gPlate,client,255,0,255,true ) -- مخرج نصي end end -- لاداعي لاكمال المتبقي والله أعلم ) -- تستطيع وضع تحققات اكثر من لتجنب الاخطاء بالنسبة للايديت.
    1 point
  13. تتذكرني ولالا؟ خخخخخخخخخخخخخ ع العموم والله انه سكربت روعة وماعجبني فيه غير الصوت حق BEEB
    1 point
  14. Omg, you have touched at the bleeding spot, mate. MTA is WAY better than SAMP. SAMP is full of hackers. I was one of those Skids that played with s0beit to get inside police cars or cheat money. I've also found a bug where you could bypass the s0beit / cleo detector just teleporting 10 fts away. SAMP it's a like test from an 10 years old boy, that he wants to hide from his parents, because he has failed miserably. MTA is the first developing an functional anti-cheat.
    1 point
  15. хотя нет. это не все. если написать ник например вот так #FF#000000FFFF то после такой проверки останется #FFFFFF так что такую проверку нужно повторить пару раз
    1 point
  16. صحيح كلامه كثييرا تفاعل الناس غير موجود و كثيير ستضافات فقط تسرق وتروح خلال 10 أيام من فتتاحها وتسكر هدا هو سبب عدم ثقت العرب في بعضهم
    1 point
×
×
  • Create New...