☠ RaZeR ☠ Posted February 1, 2014 Share Posted February 1, 2014 هلا شباب ابي كود مايدخل المكان هذا الا اللي في قروب معين حق البيس مو= Link to comment
EH10 Posted February 1, 2014 Share Posted February 1, 2014 مافهمتك قصدك مكان الي يدخلة غير التيم المحدد ينقلة لبرا Link to comment
☠ RaZeR ☠ Posted February 1, 2014 Author Share Posted February 1, 2014 مافهمتك قصدك مكان الي يدخلة غير التيم المحدد ينقلة لبرا يب مثلا : واحد راح يدخل المكان يقوله لا انت لست شرطي ويعطيه سلاب Link to comment
K1NG Posted February 1, 2014 Share Posted February 1, 2014 مافهمتك قصدك مكان الي يدخلة غير التيم المحدد ينقلة لبرا يب مثلا : واحد راح يدخل المكان يقوله لا انت لست شرطي ويعطيه سلاب createColRectangle Event: "onColShapeHit" getElementType getPlayerTeam getTeamName killPed outputChatBox Link to comment
Do_De<3 Posted February 3, 2014 Share Posted February 3, 2014 Server addEvent("enksar",true) addEventHandler("enksar",root, function() local acc=getPlayerAccount(client) if(isObjectInACLGroup("user."..getAccountName(acc),aclGetGroup("Admin"))) then outputChatBox( "* تم دخولك للمنطقة المحمية", source, math.random(255), math.random(255), math.random(255), true ) else outputChatBox( "* انت غير موجود في تيم الادمن ", source, math.random(255), math.random(255), math.random(255), true ) setElementHealth(source,0) end end ) Celint _marker = createMarker ( 2290.748046875, 532.40942382813, 0.897346496582, 'cylinder', 5, r, g, b, a ) addEventHandler ( 'onClientMarkerHit', _marker, function ( _player ) if _player == localPlayer then triggerServerEvent ( "enksar", localPlayer) end end ) : ) جرب : ) Link to comment
The Killer Posted February 3, 2014 Share Posted February 3, 2014 Server addEvent("enksar",true) addEventHandler("enksar",root, function() local acc=getPlayerAccount(client) if(isObjectInACLGroup("user."..getAccountName(acc),aclGetGroup("Admin"))) then outputChatBox( "* تم دخولك للمنطقة المحمية", source, math.random(255), math.random(255), math.random(255), true ) else outputChatBox( "* انت غير موجود في تيم الادمن ", source, math.random(255), math.random(255), math.random(255), true ) setElementHealth(source,0) end end ) Celint _marker = createMarker ( 2290.748046875, 532.40942382813, 0.897346496582, 'cylinder', 5, r, g, b, a ) addEventHandler ( 'onClientMarkerHit', _marker, function ( _player ) if _player == localPlayer then triggerServerEvent ( "enksar", localPlayer) end end ) : ) جرب : ) -,- createColRectangle Event: "onColShapeHit" getElementType getPlayerTeam getTeamName killPed outputChatBox مشكووورر Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now