Jump to content

Hussain

Members
  • Content Count

    41
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Hussain

  • Rank
    Rat
  • Birthday 24/07/1996

Details

  • Location
    Saudi Arabia

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thank you very much, it worked! Can I save the binds so I can restore them anytime I want? Because I spent too much time on this.
  2. https://pastebin.mtasa.com/898534479
  3. When I press the joystick button in settings, nothing gets changed, it remains empty and I have to press Escape. And when I run Xpadder and tries the same thing, it just adds another "w" and when I press the button there, the vehicle doesn't accelerate.
  4. I used to play with a PS3 joystick using Xpadder but now some keys don't work like W,D,S ...etc What should I do?
  5. Thanks very much ! I will test it later .
  6. Like this ? function OnPlayerIsDamaged(attacker, attackerweapon, bodypart, loss) PlayerWantedLevel = getPlayerWantedLevel(source) AttackerTeam = getPlayerTeam(attacker) if(PlayerWantedLevel == 0) then if(AttackerTeam == "Police") then setElementHealth(source, getElementHealth(source) + loss) setElementHealth(attacker, getElementHealth(attacker) - 20) outputChatBox("Don't shot unwanted players or you will lose health!", attacker, 255, 0, 0) end end end addEventHandler("onPlayerDamage", getRootElement(), OnPlay
  7. Thanks but when i run any script it ouputChatBox my name
  8. How can i add this code fuction copyright outputChatBox ( "#FF0000Harm Script Made By : #00FF00Hussein", getRootElement(), 255, 255, 255, true ) addEventHandler ( "onResourceStart" ) to this function OnPlayerIsDamaged(attacker, attackerweapon, bodypart, loss) -- In this function, "source" is the player damaged. PlayerWantedLevel = getPlayerWantedLevel(source) AttackerTeam = getPlayerTeam(attacker) if(PlayerWantedLevel == 0) then if(AttackerTeam == "Police") then setElementHealth(source, getElementHealth(source) + loss) --Health
  9. يا قلبي الشيء الي قلته انت " اذا الاعب ماهو مطلوب والشرطي يطلق عليه مايصير له شيء " هذا متوفر لآ تحكم وتتسرع علي
  10. I have problem with my script it doesn't work.. It doesn't start when I try to run it I don't know why... Here is my code : function teamName ( Police ) local playerTeam = getPlayerTeam ( source ) if ( playerTeam ) Police then function wanted () local wantedLvl = getPlayerWantedLevel ( ) if wantedLvl == 0 then function showLocalHealth() local playerHealth = getElementHealth ( getLocalPlayer() ) if playerHealth then function hpSlap ( sourcePlayer, command, targetPlayerName ) if not hasObjectPermissionTo(sourcePlayer, "command.slap",
  11. يصير زي كذا ؟ اصلحولي الأخطاء اذا ممكن function teamName ( Police ) local playerTeam = getPlayerTeam ( source ) if ( playerTeam ) Police then function wanted () local wantedLvl = getPlayerWantedLevel ( ) if wantedLvl == 0 then function showLocalHealth() local playerHealth = getElementHealth ( getLocalPlayer() ) if playerHealth then function hpSlap ( sourcePlayer, command, targetPlayerName ) if not hasObjectPermissionTo(sourcePlayer, "command.slap", false) then return false end local targetPlayer = getPlayerFro
  12. Hello guys << نبي نقلبها انجليزي اليوم ض1 I want code for police team , when police hit player his wanted lvl = 0 The police get slap for 20 for all time he hit him And make DXtext up the player : Don't harm unwanted player ------ بالعربي شباب ابغى كود لـ فريق الششرطة إن لما الشرطي يضرب لآعب نجومه صصفر الشرطي ينقص دمه 20 بالمية على كل ضربه يضربها للآعب و يآريت اذا بالإمكان يجي كلآم فوق الاعب مثلآ Don't harm unwanted player وبكون شششآكر وممنون آسف عالطلب ولكن منكم نسستفيد ونفيد
  13. ششكرا عالمبادره كنت بقولك انا الي ابغاه يكون لما تفتح التآب يجيك خيآر مكتوب Hours ومكتوب جنب كل لآعب كم لعب بالسيرفر انت شكلك فهمت غلط
×
×
  • Create New...