Jump to content

طلب مساعدة


fargot..

Recommended Posts

  1. gang = "Army"
  2. skin = 46 --- رقم شخصيه 46
  3.  
  4.  
  5. addEventHandler("onElementModelChange",root,
  6. function (int)
  7. if ( getElementData(source, "gang") ~= gang ) then
  8. if not ( getElementModel(source) == skin ) then
  9. setElementModel(source,int)
  10. end
  11. end
  12. end
  13. )
  14.  

يعني كذا بس 

وين اروح اي مود - مود شخصية او مود قروب سيستم او وش ؟

 

Edited by Ad[N]a[N]e
Link to comment

local GangName = "Army" -- اسم القروب

local SkinId = 46 --- رقم شخصيه 46


addEventHandler("onElementModelChange",root,

	function ( oldSkin )

	if ( source and getElementType ( source ) == "player" ) then

	if ( getElementData ( source, "Group" ) and getElementData ( source , "Group" ) ~= GangName and getElementModel ( source ) ~= SkinId ) then 

	setElementModel ( source , oldSkin )

			end
		end
	end
	)

بأسم داتا القروبات Group استبدل

ولاتنسى تغير ايدي الشخصية واسم القروب

حط الكود بملف يكون سيرفر سايد

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