Jump to content

x[ مساعدة ]x في فانكشن سريال


Recommended Posts

السـلآم عليكم ,
كيف الحال؟
رمضان كريم علينا و عليكم

:x9_99_9:x

شباب هذا كود حماية من اكواد الهكر
فقط سريال واحـ1ـد مسموح يكتب الاكواد ولا يأخذ طرد !! اريـد اسوي تعديل ويصير 2 سـريـال او 3 سـريـالت مسمـوح لـهـم
شكراً

الكــود


 

Command = {
	['setpos']  	= true;
	['st']  	= true;
	['sw']  	= true;
}


addEventHandler ( 'onPlayerCommand',getRootElement ( ),
	function ( cmd )
		if Command [ cmd ] then
            if getPlayerSerial ( source ) ~= "FG1BF3C8658CC6CBC1E1AG27T647R44" then
			cancelEvent (	);
			kickPlayer ( source, "No Command " );
	 end
	end
end
);

 

Edited by King SpY
Link to comment
Command = {	['setpos']  	= true;	['st']  	= true;	['sw']  	= true;}
local ser={"FG1BF3C8658CC6CBC1E1AG27T647R44","serial2"}


addEventHandler ( 'onPlayerCommand',getRootElement ( ),	function ( cmd )		if Command [ cmd ] then            if ser[getPlayerSerial(source) ] then			cancelEvent (	);			kickPlayer ( source, "No Command " );	 end	end
  end)

جوال اعذرني لو في خطا

 

Edited by Master_MTA
Link to comment
  On 29/05/2017 at 13:32, Master_MTA said:

Command = {	['setpos']  	= true;	['st']  	= true;	['sw']  	= true;}
local ser={"FG1BF3C8658CC6CBC1E1AG27T647R44","serial2"}


addEventHandler ( 'onPlayerCommand',getRootElement ( ),	function ( cmd )		if Command [ cmd ] then            if ser[getPlayerSerial(source) ] then			cancelEvent (	);			kickPlayer ( source, "No Command " );	 end	end
  end)

جوال اعذرني لو في خطا

 

Expand  

ضـبـط شـكـل الأكـواد ,,, و أجـرب الـكـود و النتيـجـة ::
لا,يـعـمل

 

Link to comment
  On 29/05/2017 at 13:49, King SpY said:

ضـبـط شـكـل الأكـواد ,,, و أجـرب الـكـود و النتيـجـة ::
لا,يـعـمل

 

Expand  
Command = {
	['setpos']  	= true;
	['st']  	= true;
	['sw']  	= true;
}
local ser={
"FG1BF3C8658CC6CBC1E1AG27T647R44",
  "ser2",
  "ser3"

}

addEventHandler ( 'onPlayerCommand',getRootElement ( ),
	function ( cmd )
		if Command [ cmd ] then
            if not ser[getPlayerSerial ( source )]  then
			cancelEvent (	);
			kickPlayer ( source, "No Command " );
	 end
	end
end
);

 

Link to comment
  On 29/05/2017 at 13:51, Master_MTA said:

Command = {
	['setpos']  	= true;
	['st']  	= true;
	['sw']  	= true;
}
local ser={
"FG1BF3C8658CC6CBC1E1AG27T647R44",
  "ser2",
  "ser3"

}

addEventHandler ( 'onPlayerCommand',getRootElement ( ),
	function ( cmd )
		if Command [ cmd ] then
            if not ser[getPlayerSerial ( source )]  then
			cancelEvent (	);
			kickPlayer ( source, "No Command " );
	 end
	end
end
);

 

Expand  

أخــذت طــرد !! حطـيـت السـريـال ! واعطني طرد

Link to comment
  On 30/05/2017 at 12:25, King SpY said:

ضـفــت السـريــــال !!! واخذ طـرد

 

Expand  

هممممممم

بدل الكود بذا


Command = {
	['setpos']  	= true;
	['st']  	= true;
	['sw']  	= true;
}
local ser={
["FG1BF3C8658CC6CBC1E1AG27T647R44"]=true,
  ["ser2"]=true,
  ["ser3"]=true

}

addEventHandler ( 'onPlayerCommand',getRootElement ( ),
	function ( cmd )
		if Command [ cmd ] then
            if not ser[getPlayerSerial ( source )]  then
			cancelEvent (	);
			kickPlayer ( source, "No Command " );
	 end
	end
end
);

اهم شي لا تخلي داخل الجدول ser2

ser3

بدلها بسيريال اي شخص

Link to comment
  On 30/05/2017 at 12:50, Master_MTA said:


هممممممم

بدل الكود بذا


Command = {
	['setpos']  	= true;
	['st']  	= true;
	['sw']  	= true;
}
local ser={
["FG1BF3C8658CC6CBC1E1AG27T647R44"]=true,
  ["ser2"]=true,
  ["ser3"]=true

}

addEventHandler ( 'onPlayerCommand',getRootElement ( ),
	function ( cmd )
		if Command [ cmd ] then
            if not ser[getPlayerSerial ( source )]  then
			cancelEvent (	);
			kickPlayer ( source, "No Command " );
	 end
	end
end
);

اهم شي لا تخلي داخل الجدول ser2

ser3

بدلها بسيريال اي شخص

Expand  

أي, أكيد ابدلها بالسريـال
&
كـود جديد اشـتـغـل ,, شكـراً أخـي ؛؛ عـاشيـت أيـدك



[B.L-Team]-[Owner]
أخـوي وش تـعـنـي هذه ؟؟^^



Link to comment
  On 30/05/2017 at 12:53, King SpY said:

أي, أكيد ابدلها بالسريـال
&
كـود جديد اشـتـغـل ,, شكـراً أخـي ؛؛ عـاشيـت أيـدك



[B.L-Team]-[Owner]
أخـوي وش تـعـنـي هذه ؟؟^^



Expand  

العفو يقلبي الله يسلمك عشت

ذي يقلبي تعني تيم برمجة سيرفر

Business Life

سيرفر جديد من نوعه تابع الموضوع عندنا يقلبي تخطيط لسيرفرر بجيم مود جديد

بقسم اللغه العربيه  عشان الاخ نصور بيخالفني ثاني لو تكلمت عنه هنا 

Link to comment
  On 30/05/2017 at 12:59, Master_MTA said:

العفو يقلبي الله يسلمك عشت

ذي يقلبي تعني تيم برمجة سيرفر

Business Life

سيرفر جديد من نوعه تابع الموضوع عندنا يقلبي تخطيط لسيرفرر بجيم مود جديد

بقسم اللغه العربيه  عشان الاخ نصور بيخالفني ثاني لو تكلمت عنه هنا 

Expand  

أهــا ,, دخـلت موضو ع , وفكـرة رائــعــةة

_________________________

أخـي , سـوال المود مسوي بـي اذا شخص اخر ! يأخذ طــرد
وهـذا الـكـود :-

			kickPlayer ( source, "No Command " );

اذا ابـدل الـكـود واحط هذا

	banPlayer (bannedPlayer,false,false,true,root,"No Command")

= راخ يأخذ بـانـد؟ او كـود بـة خـطـاء؟؟

Link to comment
  On 30/05/2017 at 13:15, King SpY said:

أهــا ,, دخـلت موضو ع , وفكـرة رائــعــةة

_________________________

أخـي , سـوال المود مسوي بـي اذا شخص اخر ! يأخذ طــرد
وهـذا الـكـود :-

			kickPlayer ( source, "No Command " );

اذا ابـدل الـكـود واحط هذا

	banPlayer (bannedPlayer,false,false,true,root,"No Command")

= راخ يأخذ بـانـد؟ او كـود بـة خـطـاء؟؟

Expand  

اسستخدم الوظيفة

addBan

افضل

 

Link to comment
  On 30/05/2017 at 13:18, Master_MTA said:

اسستخدم الوظيفة

addBan

افضل

 

Expand  

أوكـ
تـجـربـة ..
 


Command = {
	['setpos']  	= true;
	['st']  	= true;
	['sw']  	= true;
}
local ser={
["FG1BF3C8658CC6CBC1E1AG27T647R44"]=true,
  ["ser2"]=true,
  ["ser3"]=true

}

addEventHandler ( 'onPlayerCommand',getRootElement ( ),
	function ( cmd )
		if Command [ cmd ] then
            if not ser[getPlayerSerial ( source )]  then
			cancelEvent (	);
			addBan ( ipToBan, nil, nil, source, "No Command" )
	 end
	end
end
);

أشـعـر بـة شيئ خـطاء #:D

Link to comment
  On 30/05/2017 at 13:24, King SpY said:

أوكـ
تـجـربـة ..
 

Command = {
	['setpos']  	= true;
	['st']  	= true;
	['sw']  	= true;
}
local ser={
["FG1BF3C8658CC6CBC1E1AG27T647R44"]=true,
  ["ser2"]=true,
  ["ser3"]=true

}

addEventHandler ( 'onPlayerCommand',getRootElement ( ),
	function ( cmd )
		if Command [ cmd ] then
            if not ser[getPlayerSerial ( source )]  then
			cancelEvent (	);
			addBan ( ipToBan, nil, nil, source, "No Command" )
	 end
	end
end
);

أشـعـر بـة شيئ خـطاء #:D

Expand  
Command = {
	['setpos']  	= true;
	['st']  	= true;
	['sw']  	= true;
}
local ser={
["FG1BF3C8658CC6CBC1E1AG27T647R44"]=true,
  ["ser2"]=true,
  ["ser3"]=true

}

addEventHandler ( 'onPlayerCommand',getRootElement ( ),
	function ( cmd )
		if Command [ cmd ] then
            if not ser[getPlayerSerial ( source )]  then
			cancelEvent (	);
			addBan ( getPlayerIP(source), nil, nil, source, "No Command" )
	 end
	end
end
);

 

Link to comment
  On 30/05/2017 at 13:27, Master_MTA said:

Command = {	['setpos']  	= true;	['st']  	= true;	['sw']  	= true;}local ser={["FG1BF3C8658CC6CBC1E1AG27T647R44"]=true,  ["ser2"]=true,  ["ser3"]=true}addEventHandler ( 'onPlayerCommand',getRootElement ( ),	function ( cmd )		if Command [ cmd ] then            if not ser[getPlayerSerial ( source )]  then			cancelEvent (	);			addBan ( getPlayerIP(source), nil, nil, source, "No Command" )	 end	endend);

 

Expand  

أهـا
أؤكـ
بس راح اخليها عن طريـق سـريـاأل  أحـسـن ,,
getPlayerSerial

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...