iMr.G[7]A Posted March 20, 2014 Share Posted March 20, 2014 شباب سويت سيرفر زومبي صارو كل اللاعبين يقدرو يقتلو بعض @@؟ حطيت تيم وانهم اللي في التيم ما يقدرو يقتلو بعض! لاكن ما فادتني مشكلة التيم @@؟ المشكلة كانت اذا هو في التيم ومات يطلعه @@؟ والحل ؟ عطوني Link to comment
iPrestege Posted March 20, 2014 Share Posted March 20, 2014 استخدم هالكود بجانب الكلنت : addEventHandler ( 'onClientPlayerDamage',root, function ( attacker ) if attacker and attacker ~= source and getElementType ( attacker ) == 'player' then cancelEvent ( ) end end ) Link to comment
iMr.G[7]A Posted March 20, 2014 Author Share Posted March 20, 2014 تم الافادهـ من قبل المزهـ برستيج في موضوع : جبوهـ لي local theTeam = createTeam ( 'Zombies Killer', 3, 255, 0 ) setTeamFriendlyFire ( theTeam,false ) addEventHandler( 'onPlayerJoin', root, function( ) if theTeam then setPlayerTeam( source,theTeam ) end end ) addEventHandler ( 'onPlayerSpawn',root, function ( ) setTimer ( setPlayerTeam,2000,1,source,theTeam ) end ) 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