Jump to content

x[ مساعده في اكواد ]x


|M.r|LooFe|

Recommended Posts

السلام عليكم يعيال كيفكم ؟

اليوم انا صممت مود السحب العشوائي لسيرفري

يختار عشوائي لاعب ويسحب عليه

يا يطلع له باند يا كيك يا ساعات يا فلوس يا سحب ساعات يا مخالف ال..خ

لمهم صممت لوحة خاصة بالمود انها في جريد ليست تختار اسم اللاعب يلي فاز

من زر تختار يا باند يا فلوس يا كيك يا سلاب

انا برمج السلاب وظبط لكن في مشكلةة

انه باند ما يصك + كيك ما يصك

اكوادي  :

-- سيرفر
addEvent("killPlayerr",true)
addEventHandler("killPlayerr",root,
	function (player)
		local player = getPlayerFromName(player)
		if ( player ) then
			killPed(player)
			outputChatBox("#FFF000[S7b-System] : " .. getPlayerName(player) .. "#FFF000 Has Been Killed ",root,255,0,0,true)
		end
	end
)


addEvent("onKick",true)
addEventHandler("onKick",root,
	function (player)
		local player = getPlayerFromName(player)
        kickPlayer ( player, "مسابقة السحب العشوائي" )
		outputChatBox("#FFF000[S7b-System] : " .. getPlayerName(player) .. "#FFF000 Has Been Kick",root,255,0,0,true)
	end
)


addEvent("onBan",true)
addEventHandler("onBan",root,
	function (player)
		local player = getPlayerFromName(player)
        banPlayer ( player, "مسابقة السحب العشوائي" )
		outputChatBox("#FFF000[S7b-System] : " .. getPlayerName(player) .. "#FFF000 Has Been Ban (1 mints)" .. getPlayerName(source),root,255,0,0,true)
	end
)

-- كليننت
addEventHandler("onClientGUIClick",root,
	function ()
		local sel = guiGridListGetSelectedItem(grid)
		local text = guiGridListGetItemText(grid,sel,1)
		if ( source == btnslap ) then
			if ( sel ~= -1 ) then
				guiSetEnabled(btnslap,false)
				setTimer(guiSetEnabled,1000,1,btnslap,true)
				triggerServerEvent("killPlayerr",localPlayer,text)
			else
				show("Please Choose Player To Kill it")
			end
		elseif ( source == btnkick ) then
			if ( sel ~= -1 ) then
				local player = getPlayerFromName(text)
				if isPedInVehicle(player) then
					triggerServerEvent("onKick",localPlayer,text)
				else
					show("This Player Don't Have Vehicle")
				end
			else
				show("Please Choose Player To Destroy His Vehicle")
			end
		elseif ( source == btnban ) then
			if ( sel ~= -1 ) then
				local player = getPlayerFromName(text)
				if isPedInVehicle(player) then
					triggerServerEvent("onBan",localPlayer,text)
				else
					show("This Player Don't Have Vehicle")
				end
			else
				show("Please Choose Player To Blow His Vehicle")
			end
		end
	end
)

هذي اكوادي الرجاء لمساعده

+ ابيه يوم ينصك باند يكون 1 دقيقة وينفك

Link to comment
21 hours ago, |M.r|LooFe| said:

السلام عليكم يعيال كيفكم ؟

اليوم انا صممت مود السحب العشوائي لسيرفري

يختار عشوائي لاعب ويسحب عليه

يا يطلع له باند يا كيك يا ساعات يا فلوس يا سحب ساعات يا مخالف ال..خ

لمهم صممت لوحة خاصة بالمود انها في جريد ليست تختار اسم اللاعب يلي فاز

من زر تختار يا باند يا فلوس يا كيك يا سلاب

انا برمج السلاب وظبط لكن في مشكلةة

انه باند ما يصك + كيك ما يصك

اكوادي  :


-- سيرفر
addEvent("killPlayerr",true)
addEventHandler("killPlayerr",root,
	function (player)
		local player = getPlayerFromName(player)
		if ( player ) then
			killPed(player)
			outputChatBox("#FFF000[S7b-System] : " .. getPlayerName(player) .. "#FFF000 Has Been Killed ",root,255,0,0,true)
		end
	end
)


addEvent("onKick",true)
addEventHandler("onKick",root,
	function (player)
		local player = getPlayerFromName(player)
        kickPlayer ( player, "مسابقة السحب العشوائي" )
		outputChatBox("#FFF000[S7b-System] : " .. getPlayerName(player) .. "#FFF000 Has Been Kick",root,255,0,0,true)
	end
)


addEvent("onBan",true)
addEventHandler("onBan",root,
	function (player)
		local player = getPlayerFromName(player)
        banPlayer ( player, "مسابقة السحب العشوائي" )
		outputChatBox("#FFF000[S7b-System] : " .. getPlayerName(player) .. "#FFF000 Has Been Ban (1 mints)" .. getPlayerName(source),root,255,0,0,true)
	end
)

-- كليننت
addEventHandler("onClientGUIClick",root,
	function ()
		local sel = guiGridListGetSelectedItem(grid)
		local text = guiGridListGetItemText(grid,sel,1)
		if ( source == btnslap ) then
			if ( sel ~= -1 ) then
				guiSetEnabled(btnslap,false)
				setTimer(guiSetEnabled,1000,1,btnslap,true)
				triggerServerEvent("killPlayerr",localPlayer,text)
			else
				show("Please Choose Player To Kill it")
			end
		elseif ( source == btnkick ) then
			if ( sel ~= -1 ) then
				local player = getPlayerFromName(text)
				if isPedInVehicle(player) then
					triggerServerEvent("onKick",localPlayer,text)
				else
					show("This Player Don't Have Vehicle")
				end
			else
				show("Please Choose Player To Destroy His Vehicle")
			end
		elseif ( source == btnban ) then
			if ( sel ~= -1 ) then
				local player = getPlayerFromName(text)
				if isPedInVehicle(player) then
					triggerServerEvent("onBan",localPlayer,text)
				else
					show("This Player Don't Have Vehicle")
				end
			else
				show("Please Choose Player To Blow His Vehicle")
			end
		end
	end
)

هذي اكوادي الرجاء لمساعده

+ ابيه يوم ينصك باند يكون 1 دقيقة وينفك

متأكد انك حاط المود ب قروب الادمن ؟

Link to comment
addEvent("killPlayerr",true)
addEventHandler("killPlayerr",root,
	function (player)
		local player = getPlayerFromName(player)
		if ( player ) then
			killPed(player)
			outputChatBox("#FFF000[S7b-System] : " .. getPlayerName(player) .. "#FFF000 Has Been Killed ",root,255,0,0,true)
		end
	end
)


addEvent("onKick",true)
addEventHandler("onKick",root,
	function (player)
		local player = getPlayerFromName(player)
	if ( hasObjectPermissionTo ( kick, "function.kickPlayer" ) ) then
        kickPlayer ( player,kick, "مسابقة السحب العشوائي" )
		outputChatBox("#FFF000[S7b-System] : " .. getPlayerName(player) .. "#FFF000 Has Been Kick",root,255,0,0,true)
	end
)


addEvent("onBan",true)
addEventHandler("onBan",root,
	function (player)
		local player = getPlayerFromName(player)
	if ( hasObjectPermissionTo ( ban, "function.banPlayer" ) ) then
        banPlayer ( player,ban, "مسابقة السحب العشوائي" )
		outputChatBox("#FFF000[S7b-System] : " .. getPlayerName(player) .. "#FFF000 Has Been Ban (1 mints)" .. getPlayerName(source),root,255,0,0,true)
	end
)

 

Link to comment
16 hours ago, Abdul KariM said:

طيب ليش ماتستخدم


getRandomPlayer

 

مستخدمه من زمان حبي لكن ذي كود الجوائز

16 hours ago, Talis said:

+ عرف التكست في سطر 48 و 59

مفي سطر 48 و 59

+ طيب قول الباند 1 دقيقة وين احط   المدة ؟

Link to comment
17 hours ago, Talis said:

addEvent("killPlayerr",true)
addEventHandler("killPlayerr",root,
	function (player)
		local player = getPlayerFromName(player)
		if ( player ) then
			killPed(player)
			outputChatBox("#FFF000[S7b-System] : " .. getPlayerName(player) .. "#FFF000 Has Been Killed ",root,255,0,0,true)
		end
	end
)


addEvent("onKick",true)
addEventHandler("onKick",root,
	function (player)
		local player = getPlayerFromName(player)
	if ( hasObjectPermissionTo ( kick, "function.kickPlayer" ) ) then
        kickPlayer ( player,kick, "مسابقة السحب العشوائي" )
		outputChatBox("#FFF000[S7b-System] : " .. getPlayerName(player) .. "#FFF000 Has Been Kick",root,255,0,0,true)
	end
)


addEvent("onBan",true)
addEventHandler("onBan",root,
	function (player)
		local player = getPlayerFromName(player)
	if ( hasObjectPermissionTo ( ban, "function.banPlayer" ) ) then
        banPlayer ( player,ban, "مسابقة السحب العشوائي" )
		outputChatBox("#FFF000[S7b-System] : " .. getPlayerName(player) .. "#FFF000 Has Been Ban (1 mints)" .. getPlayerName(source),root,255,0,0,true)
	end
)

 

احا يخوي ما اشتغل شي غير السلاب على نفسه

Link to comment
1 minute ago, ععيونككء اخخر امممأليء ^ said:

انا فاهم عليه وش يبي يقلد 
يبي يقلد مسابقة الصناديق الي فسيرفرنا 
-------------
الرجاء من المبرمجين عدم مساعدته  لان هذا يضر بـ مصلحة سيرفر !!! 

شدخلك انت ؟

انصرف انصرف

 

Link to comment
2 minutes ago, Default#^ said:

هي مافيها شيء لو تقلدهم , بس ليه ماتجيب شيء من رآسك وتسوية ؟

اصلا انت لو فاتح سيرفر ويجي واحد ويقلدك بشيء حصري آكيد بتتنرفز .

يهوا ترا ما اقلددد

وانا صممت بأيدي

والمسابقة هي مو نفسهم

ترا مسابقة السحب العشوائي لو مو عارفها فيك تخش سيرفري وناسة فلسطين واسويها قدامك

تراه يتهمني كذب

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...