Jump to content

AliAlanzi

Members
  • Posts

    247
  • Joined

  • Last visited

Everything posted by AliAlanzi

  1. امسح debugscript 3 امسحه ولا وشش اسوي ض
  2. local groupName = '[ARMY]' -- اسم القروب -------------------- RadioMarkerBASE1 = createMarker( 191.73413, 1903.36255, 17.64063-1, "cylinder", 1.5, 150, 0, 150, 255) setElementInterior ( RadioMarkerBASE1, 0 ) setElementDimension ( RadioMarkerBASE1, 0 ) Window_Radio = guiCreateWindow(271, 144, 342, 453, "Radio", false) guiSetVisible(Window_Radio, false) guiWindowSetSizable(Window_Radio, false) button_Play = guiCreateButton(40, 386, 61, 34, "Play", false, Window_Radio) button_Stop = guiCreateButton(127, 386, 61, 34, "Stop", false, Window_Radio) button_Close_Radio = guiCreateButton(290, 406, 33, 29, "x", false, Window_Radio) songGridList = guiCreateGridList(28, 38, 293, 324, false, Window_Radio) guiGridListSetSelectionMode(songGridList,0) songColumn = guiGridListAddColumn(songGridList,"Artist - Title",0.8) songs = { {"طني ورور","http://alshira3.com/uploads/songs/gmylh_6ny_wrwr.mp3"}, {"وديع - قمر زمان","http://www.s1.bagdady.com/songs/ferqat-alorans/garatak-aldenya.mp3"}, {"جورج وسوف - كلامك يأ حبيبي","http://www.al7an.org/songs/mp3/arabic/2008/goerge-wassof-klamk-ya-7bebe/gorg_wassof_kalamak_ya_habeby.mp3"}, {"رابح صقر - شفت الحياه","http://alshira3.com/uploads/songs/shft_al7yah.mp3"}, {"زايد الصالح - ذهب ذهب ","http://alshira3.com/uploads/songs/dhb_dhb.mp3"}, {"زايد الصالح - حكم المؤبد","http://alshira3.com/uploads/songs/7km_aloabd.mp3"}, {"جورج وسوف - ادي الكانو","http://www.al7an.org/songs/mp3/arabic/2008/goerge-wassof-klamk-ya-7bebe/gorg_wassof_ady_elly_kano.mp3"}, {"زايد الصالح - شسويله عشان يحبني","http://www.alshira3.com/songs/zayd-alsalh/17.mp3"}, {"زايد الصالح - سويت فيا","http://alshira3.com/uploads/songs/swyt_fya.mp3"}, {"زايد الصالح - اه من الدنيا","http://alshira3.com/uploads/songs/ah_mn_aldnya.mp3"}, {"زايد الصالح - حبيبي نساني","http://alshira3.com/uploads/songs/7byby_nsany.mp3"}, {"هيفا وهبي -واوا","http://www.al7an.org/songs/mp3/arabic/2010/Hayfa_Wehby_Baby/Haifa_Wehbi-05.El_Wawaa.mp3"}, {"Inna - Sexy Wild","http://www.woo55.pk/adata/741/Inna%20-%20Crazy%20Sexy%20Wild%20(www.SongsLover.Pk).mp3"}, {"Akon - chammak challo","http://brit-asian.com/wp-content/uploads/2011/05/Ra-One-Chamak-Challo-Akon.mp3"}, {"Pitbull - Give Me Everything","http://a.tumblr.com/tumblr_lm8dlxNmwl1qck53eo1.mp3"}, {"PSV-Gangm","http://www.al7an.org/songs/mp3/desco/02.mp3"}, } for i,v in ipairs (songs) do local row = guiGridListAddRow (songGridList) guiGridListSetItemText (songGridList, row, 1, tostring(v[1]), false, true) guiGridListSetItemData (songGridList, row, 1, tostring(v[2])) end function CloseTheGui() guiSetVisible(Window_Radio, false) showCursor(false) end addEventHandler("onClientPlayerWasted", getLocalPlayer(), CloseTheGui) addEventHandler("onClientGUIClick", button_Close_Radio, CloseTheGui, false) function PlayRadio() SongFileB = guiGridListGetItemData(songGridList, guiGridListGetSelectedItem (songGridList), 1) local scheck = guiGridListGetItemText(songGridList, guiGridListGetSelectedItem ( songGridList ), 1) outputChatBox(scheck,255, 255, 0, true ) if scheck then local stationName = guiGridListGetItemText (songGridList, scheck, songColumn) if stationName then triggerServerEvent("SetSongBASE2", localPlayer, SongFileB) else outputChatBox("unknown error") end end end addEventHandler("onClientGUIClick", button_Play, PlayRadio, false) addEvent("StartSongBASE2", true) addEventHandler("StartSongBASE2", root, function(link) if isElement(soundBASE1) then stopSound(soundBASE1) end if not link then return end CloseTheGui() soundBASE1 = playSound3D(link, 191.73413, 1903.36255, 17.64063, true) setElementInterior ( soundBASE1, 0 ) setElementDimension ( soundBASE1, 0 ) setSoundVolume(soundBASE1, 2) setSoundMaxDistance(soundBASE1, 250) end) function SongPlaying (hitPlayer) if getElementType(hitPlayer) == "vehicle" or getElementType(hitPlayer) == "marker" or hitPlayer ~= localPlayer then return end local theGroup = getElementData (hitPlayer , "Group" ) if theGroup == groupName then if isElement(soundBASE1) then stopSound(soundBASE1) end guiSetVisible(Window_Radio, true) showCursor(true) else outputChatBox("group "..groupName.." only",255, 0, 255, true ) end end addEventHandler ("onClientMarkerHit", RadioMarkerBASE1,SongPlaying) function StopRadio() if isElement(soundBASE1) then stopSound(soundBASE1) end triggerServerEvent("SetSongBASE2", localPlayer, false) end addEventHandler("onClientGUIClick", button_Stop, StopRadio, false)
  3. local groupName = '[ARMY]' -- اسم القروب -------------------- RadioMarkerBASE1 = createMarker( 191.73413, 1903.36255, 17.64063-1, "cylinder", 1.5, 150, 0, 150, 255) setElementInterior ( RadioMarkerBASE1, 0 ) setElementDimension ( RadioMarkerBASE1, 0 ) Window_Radio = guiCreateWindow(271, 144, 342, 453, "Radio", false) guiSetVisible(Window_Radio, false) guiWindowSetSizable(Window_Radio, false) button_Play = guiCreateButton(40, 386, 61, 34, "Play", false, Window_Radio) button_Stop = guiCreateButton(127, 386, 61, 34, "Stop", false, Window_Radio) button_Close_Radio = guiCreateButton(290, 406, 33, 29, "x", false, Window_Radio) songGridList = guiCreateGridList(28, 38, 293, 324, false, Window_Radio) guiGridListSetSelectionMode(songGridList,0) songColumn = guiGridListAddColumn(songGridList,"Artist - Title",0.8) songs = { {"طني ورور","http://alshira3.com/uploads/songs/gmylh_6ny_wrwr.mp3"}, {"وديع - قمر زمان","http://www.s1.bagdady.com/songs/ferqat-alorans/garatak-aldenya.mp3"}, {"جورج وسوف - كلامك يأ حبيبي","http://www.al7an.org/songs/mp3/arabic/2008/goerge-wassof-klamk-ya-7bebe/gorg_wassof_kalamak_ya_habeby.mp3"}, {"رابح صقر - شفت الحياه","http://alshira3.com/uploads/songs/shft_al7yah.mp3"}, {"زايد الصالح - ذهب ذهب ","http://alshira3.com/uploads/songs/dhb_dhb.mp3"}, {"زايد الصالح - حكم المؤبد","http://alshira3.com/uploads/songs/7km_aloabd.mp3"}, {"جورج وسوف - ادي الكانو","http://www.al7an.org/songs/mp3/arabic/2008/goerge-wassof-klamk-ya-7bebe/gorg_wassof_ady_elly_kano.mp3"}, {"زايد الصالح - شسويله عشان يحبني","http://www.alshira3.com/songs/zayd-alsalh/17.mp3"}, {"زايد الصالح - سويت فيا","http://alshira3.com/uploads/songs/swyt_fya.mp3"}, {"زايد الصالح - اه من الدنيا","http://alshira3.com/uploads/songs/ah_mn_aldnya.mp3"}, {"زايد الصالح - حبيبي نساني","http://alshira3.com/uploads/songs/7byby_nsany.mp3"}, {"هيفا وهبي -واوا","http://www.al7an.org/songs/mp3/arabic/2010/Hayfa_Wehby_Baby/Haifa_Wehbi-05.El_Wawaa.mp3"}, {"Inna - Sexy Wild","http://www.woo55.pk/adata/741/Inna%20-%20Crazy%20Sexy%20Wild%20(www.SongsLover.Pk).mp3"}, {"Akon - chammak challo","http://brit-asian.com/wp-content/uploads/2011/05/Ra-One-Chamak-Challo-Akon.mp3"}, {"Pitbull - Give Me Everything","http://a.tumblr.com/tumblr_lm8dlxNmwl1qck53eo1.mp3"}, {"PSV-Gangm","http://www.al7an.org/songs/mp3/desco/02.mp3"}, } for i,v in ipairs (songs) do local row = guiGridListAddRow (songGridList) guiGridListSetItemText (songGridList, row, 1, tostring(v[1]), false, true) guiGridListSetItemData (songGridList, row, 1, tostring(v[2])) end function CloseTheGui() guiSetVisible(Window_Radio, false) showCursor(false) end addEventHandler("onClientPlayerWasted", getLocalPlayer(), CloseTheGui) addEventHandler("onClientGUIClick", button_Close_Radio, CloseTheGui, false) function PlayRadio() SongFileB = guiGridListGetItemData(songGridList, guiGridListGetSelectedItem (songGridList), 1) local scheck = guiGridListGetItemText(songGridList, guiGridListGetSelectedItem ( songGridList ), 1) outputChatBox(scheck,255, 255, 0, true ) if scheck then local stationName = guiGridListGetItemText (songGridList, scheck, songColumn) if stationName then triggerServerEvent("SetSongBASE2", localPlayer, SongFileB) else outputChatBox("unknown error") end end end addEventHandler("onClientGUIClick", button_Play, PlayRadio, false) addEvent("StartSongBASE2", true) addEventHandler("StartSongBASE2", root, function(link) if isElement(soundBASE1) then stopSound(soundBASE1) end if not link then return end CloseTheGui() soundBASE1 = playSound3D(link, 191.73413, 1903.36255, 17.64063, true) setElementInterior ( soundBASE1, 0 ) setElementDimension ( soundBASE1, 0 ) setSoundVolume(soundBASE1, 2) setSoundMaxDistance(soundBASE1, 250) end) function SongPlaying (hitPlayer) if getElementType(hitPlayer) == "vehicle" or getElementType(hitPlayer) == "marker" or hitPlayer ~= localPlayer then return end local theGroup = getElementData (hitPlayer , "Group" ) if theGroup == groupName then if isElement(soundBASE1) then stopSound(soundBASE1) end guiSetVisible(Window_Radio, true) showCursor(true) else outputChatBox("group "..groupName.." only",255, 0, 255, true ) end end addEventHandler ("onClientMarkerHit", RadioMarkerBASE1,SongPlaying) function StopRadio() if isElement(soundBASE1) then stopSound(soundBASE1) end triggerServerEvent("SetSongBASE2", localPlayer, false) end addEventHandler("onClientGUIClick", button_Stop, StopRadio, false) كل شي يشتغل بس لمن ادعس play ما يجي صوت ليش
  4. local groupName = '[ARMY]' -- اسم القروب -------------------- RadioMarkerBASE1 = createMarker( 191.73413, 1903.36255, 17.64063-1, "cylinder", 1.5, 150, 0, 150, 255) setElementInterior ( RadioMarkerBASE1, 0 ) setElementDimension ( RadioMarkerBASE1, 0 ) Window_Radio = guiCreateWindow(271, 144, 342, 453, "Radio", false) guiSetVisible(Window_Radio, false) guiWindowSetSizable(Window_Radio, false) button_Play = guiCreateButton(40, 386, 61, 34, "Play", false, Window_Radio) button_Stop = guiCreateButton(127, 386, 61, 34, "Stop", false, Window_Radio) button_Close_Radio = guiCreateButton(290, 406, 33, 29, "x", false, Window_Radio) songGridList = guiCreateGridList(28, 38, 293, 324, false, Window_Radio) guiGridListSetSelectionMode(songGridList,0) songColumn = guiGridListAddColumn(songGridList,"Artist - Title",0.8) songs = { {"طني ورور","http://alshira3.com/uploads/songs/gmylh_6ny_wrwr.mp3"}, {"وديع - قمر زمان","http://www.s1.bagdady.com/songs/ferqat-alorans/garatak-aldenya.mp3"}, {"جورج وسوف - كلامك يأ حبيبي","http://www.al7an.org/songs/mp3/arabic/2008/goerge-wassof-klamk-ya-7bebe/gorg_wassof_kalamak_ya_habeby.mp3"}, {"رابح صقر - شفت الحياه","http://alshira3.com/uploads/songs/shft_al7yah.mp3"}, {"زايد الصالح - ذهب ذهب ","http://alshira3.com/uploads/songs/dhb_dhb.mp3"}, {"زايد الصالح - حكم المؤبد","http://alshira3.com/uploads/songs/7km_aloabd.mp3"}, {"جورج وسوف - ادي الكانو","http://www.al7an.org/songs/mp3/arabic/2008/goerge-wassof-klamk-ya-7bebe/gorg_wassof_ady_elly_kano.mp3"}, {"زايد الصالح - شسويله عشان يحبني","http://www.alshira3.com/songs/zayd-alsalh/17.mp3"}, {"زايد الصالح - سويت فيا","http://alshira3.com/uploads/songs/swyt_fya.mp3"}, {"زايد الصالح - اه من الدنيا","http://alshira3.com/uploads/songs/ah_mn_aldnya.mp3"}, {"زايد الصالح - حبيبي نساني","http://alshira3.com/uploads/songs/7byby_nsany.mp3"}, {"هيفا وهبي -واوا","http://www.al7an.org/songs/mp3/arabic/2010/Hayfa_Wehby_Baby/Haifa_Wehbi-05.El_Wawaa.mp3"}, {"Inna - Sexy Wild","http://www.woo55.pk/adata/741/Inna%20-%20Crazy%20Sexy%20Wild%20(www.SongsLover.Pk).mp3"}, {"Akon - chammak challo","http://brit-asian.com/wp-content/uploads/2011/05/Ra-One-Chamak-Challo-Akon.mp3"}, {"Pitbull - Give Me Everything","http://a.tumblr.com/tumblr_lm8dlxNmwl1qck53eo1.mp3"}, {"PSV-Gangm","http://www.al7an.org/songs/mp3/desco/02.mp3"}, } for i,v in ipairs (songs) do local row = guiGridListAddRow (songGridList) guiGridListSetItemText (songGridList, row, 1, tostring(v[1]), false, true) guiGridListSetItemData (songGridList, row, 1, tostring(v[2])) end function CloseTheGui() guiSetVisible(Window_Radio, false) showCursor(false) end addEventHandler("onClientPlayerWasted", getLocalPlayer(), CloseTheGui) addEventHandler("onClientGUIClick", button_Close_Radio, CloseTheGui, false) function PlayRadio() SongFileB = guiGridListGetItemData(songGridList, guiGridListGetSelectedItem (songGridList), 1) local scheck = guiGridListGetItemText(songGridList, guiGridListGetSelectedItem ( songGridList ), 1) outputChatBox(scheck,255, 255, 0, true ) if scheck then local stationName = guiGridListGetItemText (songGridList, scheck, songColumn) if stationName then triggerServerEvent("SetSongBASE2", localPlayer, SongFileB) else outputChatBox("unknown error") end end end addEventHandler("onClientGUIClick", button_Play, PlayRadio, false) addEvent("StartSongBASE2", true) addEventHandler("StartSongBASE2", root, function(link) if isElement(soundBASE1) then stopSound(soundBASE1) end if not link then return end CloseTheGui() soundBASE1 = playSound3D(link, 191.73413, 1903.36255, 17.64063, true) setElementInterior ( soundBASE1, 0 ) setElementDimension ( soundBASE1, 0 ) setSoundVolume(soundBASE1, 2) setSoundMaxDistance(soundBASE1, 250) end) function SongPlaying (hitPlayer) if getElementType(hitPlayer) == "vehicle" or getElementType(hitPlayer) == "marker" or hitPlayer ~= localPlayer then return end local theGroup = getElementData (hitPlayer , "Group" ) if theGroup == groupName then if isElement(soundBASE1) then stopSound(soundBASE1) end guiSetVisible(Window_Radio, true) showCursor(true) else outputChatBox("group "..groupName.." only",255, 0, 255, true ) end end addEventHandler ("onClientMarkerHit", RadioMarkerBASE1,SongPlaying) function StopRadio() if isElement(soundBASE1) then stopSound(soundBASE1) end triggerServerEvent("SetSongBASE2", localPlayer, false) end addEventHandler("onClientGUIClick", button_Stop, StopRadio, false) الحين الكواد ذي شغل اغاني مخليها في ملف كيلنت صح؟ ولا اخليها ب سيرفر المهم شوفوا اذا في غلط بالكودات عشان الاغنيه ما تشتغل يطلع ماركر و الاغاني بس مافي صوت!
  5. ضضض ما نفعت الخطه اففففففففف
  6. انا رحت هناك هلى انبوت بوكس و في مثلا function aFreezeInputBoxFinish () -- Get duration local seconds = false for i,dur in ipairs(aFreezeDurations) do if guiRadioButtonGetSelected( aFreezeInputRadio2s ) then seconds = dur end end -- Get reason local reason = guiGetText ( aFreezeInputValue ) -- Validate settings if seconds == false then aMessageBox ( "error", "No duration selected!" ) return end -- Send Freeze info to the server triggerServerEvent ( "aPlayer", localPlayer, aFreezeInputPlayer, "Freezed", reason, seconds ) -- Clear input guiSetText ( aFreezeInputValue, "" ) for i,dur in ipairs(aFreezeDurations) do guiRadioButtonSetSelected( aFreezeInputRadio2s, false ) في اكواد اكثر كان مكتوب Mute شلتها و خليت Freeze قلت يمكن ينفع ضضض
  7. ابي اسوي لمن اجي اصكك فريز يقلي ادخل السبب و يطلع السبب بالشات ملاحظه: انا مبرمج توني جديد معرف ابرمج غير مقرات و بس
  8. وشش سويت ضضض لمن اصكك ميوت ما يطلع اصلن توني شفت التعديل حقق ظبتط قلي وس سويت او وش ظفت عشان اعرف
  9. طيب بجربها و قلي وش سويت عشان اشرح عل يوتيوب لو سمحت
  10. تقصد ذي؟ <messages> <!-- Accepted subgroups: all - Output to chatbox for all log - Log file output player - Victim/Player chatbox output admin - Admin chatbox output Variables: $player - player $admin - admin $data - Additional information, not all the nodes use it. $data2 - Additional information, not all the nodes use it. --> <player> <group action="ban" r="255" g="0" b="0"> <all>$player has been banned$by_admin_4all. $data2</all> <log>ADMIN: $admin has banned $player $data $data2</log> </group> <group action="kick" r="255" g="0" b="0"> <all>$player has been kicked$by_admin_4all.</all> <log>ADMIN: $admin has kicked $player $data</log> </group> <group action="mute" r="255" g="0" b="0"> <all>$player has been muted$by_admin_4all. $data2</all> <log>ADMIN: $admin has muted $player $data $data2</log> </group> <group action="setnick" r="255" g="0" b="0"> <log>ADMIN: $player name changed to $data2 $by_admin_4all.</log> </group> <group action="unmute" r="0" g="255" b="100"> <all>$player has been unmuted$by_admin_4all.</all> <log>ADMIN: $admin has unmuted $player</log> </group> <group action="freeze" r="255" g="0" b="0"> <admin>$player has been frozen$by_admin_4all.</admin> <player>You have been frozen$by_admin_4plr.</player> <log>ADMIN: $admin has frozen $player</log> </group> <group action="unfreeze" r="0" g="255" b="100"> <admin>$player has been unfrozen$by_admin_4all.</admin> <player>You have been unfrozen$by_admin_4plr.</player> <log>ADMIN: $admin has unfrozen $player</log> </group> <group action="slap" r="235" g="20" b="200"> <all>$player has been slapped$by_admin_4all. ($data HP)</all> <log>ADMIN: $admin has slapped $player ($data HP)</log> </group> <group action="shout" r="255" g="100" b="30"> <admin>You have shouted at $player</admin> </group> <group action="sethealth" r="0" g="170" b="170"> <admin>$player's health has been changed to $data</admin> <player>Your health has been changed to $data$by_admin_4plr.</player> <log>ADMIN: $admin has changed $player's health to $data</log> </group> <group action="setarmour" r="122" g="122" b="122"> <admin>$player's armour has been changed to $data</admin> <player>Your armour has been changed to $data$by_admin_4plr.</player> <log>ADMIN: $admin has changed $player's armour to $data</log> </group> <group action="setmoney" r="225" g="170" b="90"> <admin>$player's money has been set to $data</admin> <player>Your money has been set to $data$by_admin_4plr.</player> <log>ADMIN: $admin has set $player's money to $data</log> </group> <group action="setskin" r="255" g="122" b="0"> <admin>$player's skin has been changed to $data</admin> <player>Your skin has been changed to $data$by_admin_4plr.</player> <log>ADMIN: $admin has changed $player's skin to $data</log> </group> <group action="setteam" r="255" g="255" b="0"> <admin>$player has been moved to the $data team.</admin> <player>You have been moved to the $data team$by_admin_4plr.</player> <log>ADMIN: $admin has moved $player to the $data team</log> </group> <group action="removefromteam" r="255" g="255" b="0"> <admin>$player has been removed from the $data team.</admin> <player>You have been removed from the $data team$by_admin_4plr.</player> <log>ADMIN: $admin has removed $player from the $data team</log> </group> <group action="setinterior" r="0" g="255" b="0"> <admin>$player has been moved to the $data interior.</admin> <player>You have been moved to the $data interior$by_admin_4plr.</player> <log>ADMIN: $admin has moved $player to the $data interior</log> </group> <group action="setdimension" r="0" g="255" b="0"> <admin>$player has been moved to the $data dimension.</admin> <player>You have been moved to the $data dimension$by_admin_4plr.</player> <log>ADMIN: $admin has moved $player to the $data dimension</log> </group> <group action="setstat" r="255" g="122" b="0"> <admin>$player's $data has been set to $data2</admin> <player>Your $data has been set to $data2$by_admin_4plr.</player> <log>ADMIN: $admin has changed $player's $data to $data2</log> </group> <group action="jetpackr" r="255" g="0" b="0"> <admin>$player's jetpack has been removed</admin> <player>Your jetpack has been removed$by_admin_4plr.</player> <log>ADMIN: $admin has removed $player's jetpack</log> </group> <group action="jetpacka" r="255" g="122" b="0"> <admin>$player has been given a jetpack</admin> <player>You have been given a jetpack$by_admin_4plr.</player> <log>ADMIN: $admin has given a jetpack to $player</log> </group> <group action="adminr" r="255" g="0" b="0"> <admin>$player's admin rights have been revoked</admin> <player>Your admin rights have been revoked$by_admin_4plr.</player> <log>ADMIN: $admin has revoked admin privilegies from $player</log> </group> <group action="admina" r="0" g="255" b="0"> <admin>$player has been given admin rights</admin> <player>You have been give admin rights$by_admin_4plr.</player> <log>ADMIN: $admin has given admin privilegies to $player</log> </group> <group action="givevehicle" r="0" g="255" b="0"> <admin>$player has been given a '$data'</admin> <player>You have been given a '$data'$by_admin_4plr.</player> <log>ADMIN: $admin has given $player a '$data'" </log> </group> <group action="giveweapon" r="0" g="0" b="255"> <admin>$player has been given a '$data'($data2)</admin> <player>You have been given a '$data'($data2)$by_admin_4plr.</player> <log>ADMIN: $admin has given $player '$data'</log> </group> <group action="warp" r="0" g="200" b="50"> <admin>You have warped to $player</admin> <log>ADMIN: $admin has warped to $player</log> </group> <group action="warpto" r="0" g="200" b="50"> <admin>$player has been warped to $data</admin> <player>You have been warped to $data$by_admin_4plr.</player> <log>ADMIN: $admin has moved $player to $data</log> </group> </player> <team> <group action="createteam" r="225" g="170" b="90"> <admin>Successfully created team '$data'</admin> <log>ADMIN: $admin has created a team '$data'</log> </group> <group action="destroyteam" r="225" g="170" b="90"> <admin>Successfully destroyed team '$data'</admin> <log>ADMIN: $admin has destroyed a team '$data'</log> </group> </team> <vehicle> <group action="repair" r="0" g="255" b="0"> <admin>$player's vehicle has been fixed</admin> <player>Your vehicle has been fixed$by_admin_4plr.</player> <log>ADMIN: $admin has fixed vehicle of $player</log> </group> <group action="blowvehicle" r="255" g="0" b="0"> <admin>$player's vehicle has been blown</admin> <player>Your vehicle has been blown$by_admin_4plr.</player> <log>ADMIN: $admin has blown vehicle of $player</log> </group> <group action="destroyvehicle" r="255" g="0" b="0"> <admin>$player's vehicle has been destroyed</admin> <player>Your vehicle has been destroyed$by_admin_4plr.</player> <log>ADMIN: $admin has destroyed vehicle of $player</log> </group> <group action="customize" r="225" g="170" b="90"> <admin>$player's vehicle has been upgraded. ($data)</admin> <player>Your vehicle has been upgraded$by_admin_4plr.</player> <log>ADMIN: $admin has upgraded vehicle of $player ($data)</log> </group> <group action="customizer" r="225" g="170" b="90"> <admin>$player's vehicle upgrades have been removed.</admin> <player>Your vehicle upgrades have been removed$by_admin_4plr.</player> <log>ADMIN: $admin has has removed vehicle upgrades of $player</log> </group> <group action="setpaintjob" r="225" g="170" b="90"> <admin>$player's vehicle paint job set to $data</admin> <player>Your vehicle paint job has been changed to $data$by_admin_4plr.</player> <log>ADMIN: $admin has changed paint job of $player's vehicle to $data</log> </group> <group action="setcolor" r="225" g="170" b="90"> <admin>$player's vehicle color changed</admin> <player>Your vehicle color has been changed$by_admin_4plr.</player> <log>ADMIN: $admin has changed color of $player's vehicle</log> </group> <group action="setlights" r="225" g="170" b="90"> <admin>$player's vehicle lights color changed</admin> <player>Your vehicle lights color has been changed$by_admin_4plr.</player> <log>ADMIN: $admin has changed lights color of $player's vehicle</log> </group> <group action="setplates" r="225" g="170" b="90"> <admin>$player's license plates have been changed to '$data'</admin> <player>Your vehicle license plates have been changed to '$data'$by_admin_4plr</player> <log>ADMIN: $admin has changed license plates of $player's vehicle to '$data'</log> </group> </vehicle> <resource> </resource> <server> <group action="setgame" r="225" g="170" b="90"> <admin>ASE gamemode info has been changed to '$data'</admin> <log>ADMIN: $admin has changed ASE gamemode to '$data'</log> </group> <group action="setmap" r="225" g="170" b="90"> <admin>ASE map info has been changed to '$data'</admin> <log>ADMIN: $admin has changed ASE map info to '$data'</log> </group> <group action="setwelcome" r="225" g="170" b="90"> <admin>Welcome message has been set to '$data'</admin> <log>ADMIN: $admin has set welcome message to '$data'</log> </group> <group action="resetwelcome" r="225" g="170" b="90"> <admin>Welcome message has been reset</admin> <log>ADMIN: $admin has reset the welcome message</log> </group> <group action="setpassword" r="225" g="170" b="90"> <admin>Server password set to '$data'</admin> <log>ADMIN: $admin has set server password to '$data'</log> </group> <group action="resetpassword" r="225" g="170" b="90"> <admin>Server password has been reset</admin> <log>ADMIN: $admin has reset server password</log> </group> <group action="settime" r="225" g="170" b="90"> <all>Time set to $data$by_admin_4all.</all> <log>ADMIN: $admin has changed time to $data</log> </group> <group action="setweather" r="225" g="170" b="90"> <all>Weather set to '$data'$by_admin_4all.</all> <log>ADMIN: $admin has set weather to '$data'</log> </group> <group action="blendweather" r="225" g="170" b="90"> <admin>Blending weather to '$data'</admin> <log>ADMIN: $admin is blending weather to '$data'</log> </group> <group action="setgravity" r="225" g="170" b="90"> <all>Gravitation value set to '$data'$by_admin_4all.</all> <log>ADMIN: $admin has set gravitation to $data</log> </group> <group action="setgamespeed" r="225" g="170" b="90"> <all>Game speed set to '$data'$by_admin_4all.</all> <log>ADMIN: $admin has set game speed to '$data'</log> </group> <group action="setwaveheight" r="225" g="170" b="90"> <all>Waves height set to '$data'$by_admin_4all.</all> <log>ADMIN: $admin has set waves height to '$data'</log> </group> <group action="setblurlevel" r="225" g="170" b="90"> <all>Blur level set to '$data'$by_admin_4all.</all> <log>ADMIN: $admin has set blur level to '$data'</log> </group> </server> <bans> <group action="unbanip" r="225" g="170" b="90"> <admin>IP: $data successfully removed from bans list</admin> <log>ADMIN: $admin has unbanned IP $data</log> </group> <group action="unbanserial" r="225" g="170" b="90"> <admin>SERIAL: $data successfully removed from bans list</admin> <log>ADMIN: $admin has unbanned Serial $data</log> </group> <group action="banip" r="225" g="170" b="90"> <admin>IP: $data successfully added to bans list</admin> <log>ADMIN: $admin has banned IP $data</log> </group> <group action="banserial" r="225" g="170" b="90"> <admin>SERIAL: $data successfully added to bans list</admin> <log>ADMIN: $admin has banned Serial $data</log> </group> </bans> <admin> <group action="create" r="225" g="170" b="90"> <admin>$data has been successfully created</admin> <log>ADMIN: $data has been created by $admin</log> </group> <group action="destroy" r="225" g="170" b="90"> <admin>$data has been successfully destroyed</admin> <log>ADMIN: $data has been destroyed by $admin</log> </group> <group action="password" r="50" g="255" b="50"> <admin>You password has been successfully changed to '$data'</admin> </group> <group action="settings" r="225" g="170" b="90"> <admin>Set '$data' to '$data2'</admin> <log>ADMIN: Set '$data' to '$data2' by $admin</log> </group> </admin> </messages>
  11. في report , settings , IpToCountryCompact اي واحد تبي؟ ترا انا لوحه الادمنيه لوحه ادمنيه حقت اللعبه مو مغير شي
  12. aViewMessageForm = nil function aViewMessage ( id ) if ( aViewMessageForm == nil ) then local x, y = guiGetScreenSize() aViewMessageForm = guiCreateWindow ( x / 2 - 150, y / 2 - 125, 300, 250, "", false ) guiCreateLabel ( 0.05, 0.10, 0.30, 0.09, "Category:", true, aViewMessageForm ) guiCreateLabel ( 0.05, 0.18, 0.30, 0.09, "Subject:", true, aViewMessageForm ) guiCreateLabel ( 0.05, 0.26, 0.30, 0.09, "Time:", true, aViewMessageForm ) guiCreateLabel ( 0.05, 0.34, 0.30, 0.09, "By:", true, aViewMessageForm ) aViewMessageCategory = guiCreateLabel ( 0.40, 0.10, 0.55, 0.09, "", true, aViewMessageForm ) aViewMessageSubject = guiCreateLabel ( 0.40, 0.18, 0.55, 0.09, "", true, aViewMessageForm ) aViewMessageTime = guiCreateLabel ( 0.40, 0.26, 0.55, 0.09, "", true, aViewMessageForm ) aViewMessageAuthor = guiCreateLabel ( 0.40, 0.34, 0.55, 0.09, "", true, aViewMessageForm ) aViewMessageText = guiCreateMemo ( 0.05, 0.41, 0.90, 0.45, "", true, aViewMessageForm ) guiMemoSetReadOnly ( aViewMessageText, true ) aViewMessageCloseB = guiCreateButton ( 0.77, 0.88, 0.20, 0.09, "Close", true, aViewMessageForm ) addEventHandler ( "onClientGUIClick", aViewMessageForm, aClientMessageClick ) --Register With Admin Form aRegister ( "Message", aViewMessageForm, aViewMessage, aViewMessageClose ) end if ( _messages[id] ) then guiSetText ( aViewMessageCategory, _messages[id].category ) guiSetText ( aViewMessageSubject, _messages[id].subject ) guiSetText ( aViewMessageTime, _messages[id].time ) guiSetText ( aViewMessageAuthor, _messages[id].author ) guiSetText ( aViewMessageText, _messages[id].text ) guiSetVisible ( aViewMessageForm, true ) guiBringToFront ( aViewMessageForm ) triggerServerEvent ( "aMessage", getLocalPlayer(), "read", id ) end end function aViewMessageClose ( destroy ) if ( ( destroy ) or ( guiCheckBoxGetSelected ( aPerformanceMessage ) ) ) then if ( aViewMessageForm ) then removeEventHandler ( "onClientGUIClick", aViewMessageForm, aClientMessageClick ) destroyElement ( aViewMessageForm ) aViewMessageForm = nil end else if aViewMessageForm then guiSetVisible ( aViewMessageForm, false ) end end end function aClientMessageClick ( button ) if ( button == "left" ) then if ( source == aViewMessageCloseB ) then aViewMessageClose ( false ) end end end مكن ذا شوف انت aMuteInputForm = nil local aMuteDurations = {} function aMuteInputBox ( player ) -- parse 'mutedurations' setting local durations = {} for i,dur in ipairs( split( g_Prefs.mutedurations, string.byte(',') ) ) do if tonumber( dur ) then table.insert( durations, tonumber( dur ) ) end end -- destroy form if number of durations has changed if #aMuteDurations ~= #durations then if aMuteInputForm then _widgets["MuteInputBox"] = nil destroyElement( aMuteInputForm ) aMuteInputForm = nil end end aMuteDurations = durations if ( aMuteInputForm == nil ) then local x, y = guiGetScreenSize() aMuteInputForm = guiCreateWindow ( x / 2 - 150, y / 2 - 64, 300, 150 + #aMuteDurations * 15, "", false ) guiWindowSetSizable ( aMuteInputForm, false ) guiSetAlpha(aMuteInputForm, 1) y = 24 aMuteInputLabel = guiCreateLabel ( 20, y, 270, 15, "", false, aMuteInputForm ) guiLabelSetHorizontalAlign ( aMuteInputLabel, "center" ) y = y + 23 aMuteInputValue = guiCreateEdit ( 35, y, 230, 24, "", false, aMuteInputForm ) y = y + 33 local height2 = math.floor( #aMuteDurations * 1.02 * 15 ) + 20 aMuteInputRadioSet2bg = guiCreateTabPanel( 55, y, 300-55*2, height2, false, aMuteInputForm) aMuteInputRadioSet2 = guiCreateStaticImage(0,0,1,1, 'client\\images\\empty.png', true, aMuteInputRadioSet2bg) guiSetAlpha ( aMuteInputRadioSet2bg, 0.3 ) guiSetProperty ( aMuteInputRadioSet2, 'InheritsAlpha', 'false' ) local yy = 5 aMuteInputRadio2Label = guiCreateLabel ( 10, yy, 270, 15, "Duration:", false, aMuteInputRadioSet2 ) aMuteInputRadio2s = {} for i,dur in ipairs(aMuteDurations) do aMuteInputRadio2s = guiCreateRadioButton ( 70, yy, 120, 15, "-", false, aMuteInputRadioSet2 ) yy = yy + 15 end y = y + height2 + 10 aMuteInputOk = guiCreateButton ( 90, y, 55, 17, "Ok", false, aMuteInputForm ) aMuteInputCancel = guiCreateButton ( 150, y, 55, 17, "Cancel", false, aMuteInputForm ) y = y + 30 guiSetSize ( aMuteInputForm, guiGetSize ( aMuteInputForm, false ), y, false ) guiSetProperty ( aMuteInputForm, "AlwaysOnTop", "true" ) aMuteInputPlayer = nil addEventHandler ( "onClientGUIClick", aMuteInputForm, aMuteInputBoxClick ) addEventHandler ( "onClientGUIAccepted", aMuteInputValue, aMuteInputBoxAccepted ) --Register With Admin Form aRegister ( "MuteInputBox", aMuteInputForm, aMuteInputBox, aMuteInputBoxClose ) end -- update duration values in the form for i,dur in ipairs(aMuteDurations) do guiSetText ( aMuteInputRadio2s, dur>0 and secondsToTimeDesc(dur) or "Until reconnect" ) end guiSetText ( aMuteInputForm, "Mute player " .. getPlayerName(player) ) guiSetText ( aMuteInputLabel, "Enter the mute reason" ) aHideFloaters() guiSetVisible ( aMuteInputForm, true ) guiBringToFront ( aMuteInputForm ) aMuteInputPlayer = player end function aMuteInputBoxClose ( destroy ) if ( ( destroy ) or ( guiCheckBoxGetSelected ( aPerformanceInput ) ) ) then if ( aMuteInputForm ) then removeEventHandler ( "onClientGUIClick", aMuteInputForm, aMuteInputBoxClick ) removeEventHandler ( "onClientGUIAccepted", aMuteInputValue, aMuteInputBoxAccepted ) aMuteInputPlayer = nil destroyElement ( aMuteInputForm ) aMuteInputForm = nil end else guiSetVisible ( aMuteInputForm, false ) end end function aMuteInputBoxAccepted () aMuteInputBoxFinish() end function aMuteInputBoxClick ( button ) if ( button == "left" ) then if ( source == aMuteInputOk ) then aMuteInputBoxFinish() aMuteInputPlayer = nil aMuteInputBoxClose ( false ) elseif ( source == aMuteInputCancel ) then aMuteInputPlayer = nil aMuteInputBoxClose ( false ) end end end function aMuteInputBoxFinish () -- Get duration local seconds = false for i,dur in ipairs(aMuteDurations) do if guiRadioButtonGetSelected( aMuteInputRadio2s ) then seconds = dur end end -- Get reason local reason = guiGetText ( aMuteInputValue ) -- Validate settings if seconds == false then aMessageBox ( "error", "No duration selected!" ) return end -- Send mute info to the server triggerServerEvent ( "aPlayer", localPlayer, aMuteInputPlayer, "mute", reason, seconds ) -- Clear input guiSetText ( aMuteInputValue, "" ) for i,dur in ipairs(aMuteDurations) do guiRadioButtonSetSelected( aMuteInputRadio2s, false ) end end قلي وش سويت عشان انا ابي اشرح باليوتيوب برمجه ض
  13. الحن لمن اصككك موت قلي وش السبب لمن اكتب السبب و اصك ما يطلع بالشات و ابي اسوي لمن اصكك سلاب يقلي اكتب السبب و يطلعه بالشات كيف اسوي كذا؟
  14. ابي اعرف كيف اسوي لمن ادمن يصك شخص ميوت يقول اكتب السبب بس بعدين السبب ما يظهر ليش؟ ابي اعرف كيف اخله يظهر مو بس ميوت الفريز و كذا
  15. ابي شرح كيف اسوي ثوب او شخصيه من صنعي و كيف اسوي سياره بنفسي ابي اتعلم برمجه
  16. الحين في ملف ميتا لمن تكتب كل شي يجي Type في انواع server , client مدري اذا في بعد انا جديد عل برمجه المهم وش الفرق بين سيرفر و كلينت يعني سيرفر خليها ل وش و كلينت لوش اتوقع في script
  17. سلام عليكم ورحمه الله و بركاته في كود اول ما اشغل المود يطلع بالشات بس ما اعرف اخليه بلون محدد الكود هو addEventHandler("onResourceStart",resourceRoot, -- الايفنت هنا يجب ان تكون بين سترنق كما الموضح هنا function() outputChatBox("هنا كلامك ") end ) كيف اخليه بلون محدد اضيف بعد outputChatBox("هنا كلامك ") , R , B , G , false ) كذا صح ولا لا؟
×
×
  • Create New...