Jump to content

هلا شباب ابي مود او سكربت .....


txjql

Recommended Posts

Command = {
	['aexec']  	= true;
	['delaccount']  	= true;
	['chgpass']  	= true;
	['shutdown']  	= true;
	['stopall']  	= true;
	['stopmode']  	= true;
	['stopmap']  	= true;
	['loadmodule']  	= true;
	['crun']  	= true;
	['run']  	= true;
	['srun']  	= true;
	['execute']  	= true;
	['install']  	= true;
	['speed']  	= true;
	['cv']  	= true;
	['car']  	= true;
	['giveweapon']  	= true;
	['give']  	= true;
	['wp']  	= true;
	['ap']  	= true;
	['grav']  	= true;
	['votekick']  	= true;
	['voteban']  	= true;
	['votekill']  	= true;
	['votemode']  	= true;
	['votemap']  	= true;
	['msg']  	= true;
	['freeze']  	= true;
	['shout']  	= true;
	['setmoney']  	= true;
	['setskin']  	= true;
	['sethealth']  	= true;
	['setarmour']  	= true;
	['warp']  	= true;
	['givevehicle']  	= true;
	['setinterior']  	= true;
	['setdimension']  	= true;
	['setpassword']  	= true;
	['setgamespeed']  	= true;
	['setgravity']  	= true;
	['delete']  	= true;
	['destroyteam']  	= true;
	['createteam']  	= true;
	['setweather']  	= true;
	['setgame']  	= true;
	['chgmypass']  	= true;
	['giveadmin']  	= true;
	['runcode']  	= true;
	['giveconsole']  	= true;
	['webadmin']  	= true;
	['set']  	= true;
	['setTimer']  	= true;
	['setGameType']  	= true;
	['setgroup']  	= true;
	['stop']  	= true;
	['deleteall']  	= true;
	['ss']  	= true;
	['wt']  	= true;
	['warpto']  	= true;
	['sp']  	= true;
	['setpos']  	= true;
	['st']  	= true;
	['sw']  	= true;
}


addEventHandler ( 'onPlayerCommand',getRootElement ( ),
	function ( cmd )
		if Command [ cmd ] then
            if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup('اسم الرتبة')) then -- هنا اسم الرتبة
			cancelEvent (	);
			kickPlayer ( source, "No Command " );
	 end
	end
end
);

 

قم بتغير اسم الرتبة بالرتبة حقتك

Link to comment
1 minute ago, MrKAREEM said:

Command = {
	['aexec']  	= true;
	['delaccount']  	= true;
	['chgpass']  	= true;
	['shutdown']  	= true;
	['stopall']  	= true;
	['stopmode']  	= true;
	['stopmap']  	= true;
	['loadmodule']  	= true;
	['crun']  	= true;
	['run']  	= true;
	['srun']  	= true;
	['execute']  	= true;
	['install']  	= true;
	['speed']  	= true;
	['cv']  	= true;
	['car']  	= true;
	['giveweapon']  	= true;
	['give']  	= true;
	['wp']  	= true;
	['ap']  	= true;
	['grav']  	= true;
	['votekick']  	= true;
	['voteban']  	= true;
	['votekill']  	= true;
	['votemode']  	= true;
	['votemap']  	= true;
	['msg']  	= true;
	['freeze']  	= true;
	['shout']  	= true;
	['setmoney']  	= true;
	['setskin']  	= true;
	['sethealth']  	= true;
	['setarmour']  	= true;
	['warp']  	= true;
	['givevehicle']  	= true;
	['setinterior']  	= true;
	['setdimension']  	= true;
	['setpassword']  	= true;
	['setgamespeed']  	= true;
	['setgravity']  	= true;
	['delete']  	= true;
	['destroyteam']  	= true;
	['createteam']  	= true;
	['setweather']  	= true;
	['setgame']  	= true;
	['chgmypass']  	= true;
	['giveadmin']  	= true;
	['runcode']  	= true;
	['giveconsole']  	= true;
	['webadmin']  	= true;
	['set']  	= true;
	['setTimer']  	= true;
	['setGameType']  	= true;
	['setgroup']  	= true;
	['stop']  	= true;
	['deleteall']  	= true;
	['ss']  	= true;
	['wt']  	= true;
	['warpto']  	= true;
	['sp']  	= true;
	['setpos']  	= true;
	['st']  	= true;
	['sw']  	= true;
}


addEventHandler ( 'onPlayerCommand',getRootElement ( ),
	function ( cmd )
		if Command [ cmd ] then
            if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup('اسم الرتبة')) then -- هنا اسم الرتبة
			cancelEvent (	);
			kickPlayer ( source, "No Command " );
	 end
	end
end
);

 

قم بتغير اسم الرتبة بالرتبة حقتك

قصدك اكتب Leader

trial

senior وهيك؟

Link to comment
10 hours ago, MrKAREEM said:

Command = {
	['aexec']  	= true;
	['delaccount']  	= true;
	['chgpass']  	= true;
	['shutdown']  	= true;
	['stopall']  	= true;
	['stopmode']  	= true;
	['stopmap']  	= true;
	['loadmodule']  	= true;
	['crun']  	= true;
	['run']  	= true;
	['srun']  	= true;
	['execute']  	= true;
	['install']  	= true;
	['speed']  	= true;
	['cv']  	= true;
	['car']  	= true;
	['giveweapon']  	= true;
	['give']  	= true;
	['wp']  	= true;
	['ap']  	= true;
	['grav']  	= true;
	['votekick']  	= true;
	['voteban']  	= true;
	['votekill']  	= true;
	['votemode']  	= true;
	['votemap']  	= true;
	['msg']  	= true;
	['freeze']  	= true;
	['shout']  	= true;
	['setmoney']  	= true;
	['setskin']  	= true;
	['sethealth']  	= true;
	['setarmour']  	= true;
	['warp']  	= true;
	['givevehicle']  	= true;
	['setinterior']  	= true;
	['setdimension']  	= true;
	['setpassword']  	= true;
	['setgamespeed']  	= true;
	['setgravity']  	= true;
	['delete']  	= true;
	['destroyteam']  	= true;
	['createteam']  	= true;
	['setweather']  	= true;
	['setgame']  	= true;
	['chgmypass']  	= true;
	['giveadmin']  	= true;
	['runcode']  	= true;
	['giveconsole']  	= true;
	['webadmin']  	= true;
	['set']  	= true;
	['setTimer']  	= true;
	['setGameType']  	= true;
	['setgroup']  	= true;
	['stop']  	= true;
	['deleteall']  	= true;
	['ss']  	= true;
	['wt']  	= true;
	['warpto']  	= true;
	['sp']  	= true;
	['setpos']  	= true;
	['st']  	= true;
	['sw']  	= true;
}


addEventHandler ( 'onPlayerCommand',getRootElement ( ),
	function ( cmd )
		if Command [ cmd ] then
            if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup('اسم الرتبة')) then -- هنا اسم الرتبة
			cancelEvent (	);
			kickPlayer ( source, "No Command " );
	 end
	end
end
);

 

قم بتغير اسم الرتبة بالرتبة حقتك

ناقص

else

Link to comment
  • 2 weeks later...
On 2/14/2018 at 14:57, DABL said:

وناقصه not

طيب وش صحيح 

  1. Command = {
  2. ['aexec'] = true;
  3. ['delaccount'] = true;
  4. ['chgpass'] = true;
  5. ['shutdown'] = true;
  6. ['stopall'] = true;
  7. ['stopmode'] = true;
  8. ['stopmap'] = true;
  9. ['loadmodule'] = true;
  10. ['crun'] = true;
  11. ['run'] = true;
  12. ['srun'] = true;
  13. ['execute'] = true;
  14. ['install'] = true;
  15. ['speed'] = true;
  16. ['cv'] = true;
  17. ['car'] = true;
  18. ['giveweapon'] = true;
  19. ['give'] = true;
  20. ['wp'] = true;
  21. ['ap'] = true;
  22. ['grav'] = true;
  23. ['votekick'] = true;
  24. ['voteban'] = true;
  25. ['votekill'] = true;
  26. ['votemode'] = true;
  27. ['votemap'] = true;
  28. ['msg'] = true;
  29. ['freeze'] = true;
  30. ['shout'] = true;
  31. ['setmoney'] = true;
  32. ['setskin'] = true;
  33. ['sethealth'] = true;
  34. ['setarmour'] = true;
  35. ['warp'] = true;
  36. ['givevehicle'] = true;
  37. ['setinterior'] = true;
  38. ['setdimension'] = true;
  39. ['setpassword'] = true;
  40. ['setgamespeed'] = true;
  41. ['setgravity'] = true;
  42. ['delete'] = true;
  43. ['destroyteam'] = true;
  44. ['createteam'] = true;
  45. ['setweather'] = true;
  46. ['setgame'] = true;
  47. ['chgmypass'] = true;
  48. ['giveadmin'] = true;
  49. ['runcode'] = true;
  50. ['giveconsole'] = true;
  51. ['webadmin'] = true;
  52. ['set'] = true;
  53. ['setTimer'] = true;
  54. ['setGameType'] = true;
  55. ['setgroup'] = true;
  56. ['stop'] = true;
  57. ['deleteall'] = true;
  58. ['ss'] = true;
  59. ['wt'] = true;
  60. ['warpto'] = true;
  61. ['sp'] = true;
  62. ['setpos'] = true;
  63. ['st'] = true;
  64. ['sw'] = true;
  65. }
  66.  
  67.  
  68. addEventHandler ( 'onPlayerCommand',getRootElement ( ),
  69. function ( cmd )
  70. if Command [ cmd ] then
  71. if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup('اسم الرتبة')) then -- هنا اسم الرتبة
  72. cancelEvent ( );
  73. kickPlayer ( source, "No Command " );
  74. end
  75. end
  76. end
  77. );
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...