Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. تقدر تسوي الكود كلة سيرفر و تخلية يشتغل من الكلنت بـ ترايقر يعني الكلنت مافية وظائف ياخذهـ يلعب فية [ = و بـ كذا تخفف تحمليكـ من الملفات ذذذذذذذذذذ الطريقة ماجربتها بس ناس مجربينها و تضبط ذذ
  2. انت من وين تفهم ذا لوناسه لا تساعدونه و قفلوا الموضوع حلووه ذي وش فيك معصب؟ يخوي اقترحت ماساعدنآه ؟ خخخ وش فيك زعلت ذذ
  3. ^ قد ماتقدر خل الكود سيرفر
  4. وش الداعي تعرف السورس وهو معرف من الاصل؟
  5. And on the chat box the color works fine?
  6. I can't understand you clearly can you explain more clear ?
  7. الحين متى تبي يصير لة السباون ؟ يوم يخش الروم؟
  8. SQL : executeSQLQuery MySQL : dbConnect dbExec dbPoll onPlayerQuit onPlayerJoin setElementPosition It's your turn now .
  9. setTimer ( function ( ) for _,v in ipairs ( getPlayersInTeam ( getTeamFromName ( 'Team' ) ) ) do outputChatBox('Hello Team',v) end end,1000,0 ) طريقة أفضل
  10. سوي ماركر مخفي الالفا وش بـ يضركـ ؟
  11. addEventHandler 'onClientGUIClick' triggerServerEvent setVehicleLocked isVehicleLocked setElementPosition destroyElement setVehicleEngineState getVehicleEngineState -- Save Part : -- SQL : executeSQLQuery or -- My SQL : dbConnect --Connect dbExec -- Insert or Update dbPoll -- Get Results
  12. أنت دايم تقول مايشتغل مدري وش قصتكـ ي آخوي ذذ
  13. -- # Server Side : addCommandHandler ( 'Prestege', function ( PlayerElement ) outputChatBox ( string.gsub( getPlayerName ( PlayerElement ) , '#%x%x%x%x%x%x', ' ' ),PlayerElement,255,255,255,true ) end ) More Clear .
  14. source = هو المود اللي توهـ اشتغل بدلة بـ كوماند وعرف السورس #
  15. تقدر تقولي من وين جبت سورس؟ آنها لاعب؟
  16. This function is deprecated. This means that its use is discouraged and that it might not exist in future versions. Please use setElementModel instead.
  17. المفروض تتحقق من اللي لمس الماركر لو صار سيارة وش تتوقع يصير؟
  18. لاحد يهرج واجد وردود بدون فايدة وي عبادي يمكن الداتا تختلف ذذ و ننتظر صاحب الموضوع لين يجي هو ويتكلم!
  19. مايقصد قروب ACL (يعني مثل قروباآت حرب العصابات)
  20. و آنت كيف مسوي القروب ؟ عنوانكـ مخآلف ..
  21. -- # Client Side : local font = guiCreateFont("3NAD.ttf") local font0 = guiCreateFont("AUTHOR.ttf", 12) GUIEditor = { checkbox = {}, window = {}, edit = {}, label = {} } addEventHandler( 'onClientResourceStart', getResourceRootElement( getThisResource( ) ), function( ) GUIEditor.window[1] = guiCreateWindow(157, 54, 466, 470, "~[ Made A Car | صناعة سيارة ]~", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetVisible(GUIEditor.window[1], false) GUIEditor.label[1] = guiCreateLabel(21, 25, 421, 82, "1- يجب أن تضع سريال اللاعب\n2- يجب وضع أسم اللاعب لأجل الشات والأملاك\n3- يجب أختيار نوع السيارة عن طريق وضع الأي دي الخاص بها\n4- إن لم يرد اللاعب دخان السيارة فأضغط خطأ", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], font) guiLabelSetColor(GUIEditor.label[1], 255, 255, 0) GUIEditor.edit[1] = guiCreateEdit(186, 154, 256, 30, "", false, GUIEditor.window[1]) GUIEditor.label[2] = guiCreateLabel(77, 154, 84, 40, "Serial", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], font0) GUIEditor.label[3] = guiCreateLabel(73, 224, 88, 38, "Name", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], font0) GUIEditor.edit[2] = guiCreateEdit(186, 232, 256, 30, "", false, GUIEditor.window[1]) GUIEditor.label[4] = guiCreateLabel(83, 288, 72, 48, "ID", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[4], font0) GUIEditor.edit[3] = guiCreateEdit(186, 298, 118, 31, "", false, GUIEditor.window[1]) GUIEditor.checkbox[1] = guiCreateCheckBox(186, 355, 118, 22, "Yes", false, false, GUIEditor.window[1]) guiSetFont(GUIEditor.checkbox[1], font0) GUIEditor.label[5] = guiCreateLabel(73, 355, 100, 40, "Car \"D5AN\"", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], font0) GUIEditor.checkbox[2] = guiCreateCheckBox(186, 377, 118, 22, "No", false, false, GUIEditor.window[1]) guiSetFont(GUIEditor.checkbox[2], font0) GUIEditor.label[6] = guiCreateLabel(83, 420, 100, 40, "Arrow", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[6], font0) guiLabelSetHorizontalAlign(GUIEditor.label[6], "center", false) GUIEditor.checkbox[3] = guiCreateCheckBox(186, 438, 118, 22, "No", true, false, GUIEditor.window[1]) guiSetFont(GUIEditor.checkbox[3], font0) GUIEditor.checkbox[4] = guiCreateCheckBox(186, 416, 118, 22, "Yes", false, false, GUIEditor.window[1]) guiSetFont(GUIEditor.checkbox[4], font0) GUIEditor.button[1] = guiCreateButton(317, 374, 139, 86, "Finish", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") guiSetFont(GUIEditor.button[1], font0) bindKey(']','down', function ( ) triggerServerEvent ( 'CheckGroup',localPlayer,'Console' ) end ) addEvent('ShowTheGui',true) addEventHandler('ShowTheGui',root, function ( ) guiSetVisible ( GUIEditor.window[1],not guiGetVisible ( GUIEditor.window[1] ) ) showCursor ( guiGetVisible ( GUIEditor.window[1] ) ) end ) addEventHandler( "onClientGUIClick", GUIEditor.button[1], function( ) local serial = guiGetText(GUIEditor.edit[1]); local name = guiGetText(GUIEditor.edit[2]) local ID = guiGetText(GUIEditor.edit[3]) if string.len( serial ) >= 15 and string.len( ID ) == 3 then triggerServerEvent( "onVehicleCreate",localPlayer,serial,ID) return end outputChatBox( 'يجب أن تدخل آيدي + سيريال صحيحين' ); end ); -- # Server Side : addEvent( "onVehicleCreate", true ) addEventHandler( "onVehicleCreate", getRootElement(), function( serial, ID ) ID = tonumber( ID ); if ID then for k,v in ipairs( getElementsByType( 'player' ) ) do if getPlayerSerial( v ) == serial then local C = createVehicle( ID, 1797.2901611328, 841.5078125, 10.643834114075 ); setElementData( C, 'owned', true ); setElementData( C, 'owner', serial ); end end end end ); addEventHandler( "onVehicleStartEnter", getRootElement(), function( player ) if getElementData( source, 'owned' ) then if getElementData( source, 'owner' ) ~= getPlayerSerial ( player ) then cancelEvent( ); outputChatBox( 'هذه أملاك خاصة', player ); return end outputChatBox( 'مرحبا في سيارتك', player ); end end ); addEvent('CheckGroup',true) addEventHandler('CheckGroup',root, function ( Group ) if isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( source ) ), aclGetGroup ( Group ) ) then triggerClientEvent ( source,'ShowTheGui',source ) else outputChatBox('You are not '..Group..' ',source,255,0,0 ) end end )
×
×
  • Create New...