Jump to content

DonOmar

Members
  • Posts

    96
  • Joined

  • Last visited

Everything posted by DonOmar

  1. np dude i fixed it by my self and ty for your code.
  2. already Bag cant be spawned if i started the script and got this bug ERROR: Loading script failed: CIFmbag/mbag.slua:64:'eof>' excepted near 'end'
  3. OMG bro u didnt understand i mean if i had gone to take the bag i will get the stuff but the blip won't be destroyed and the bag won't spawn in another place
  4. so please can u check this ? function purchaseAmmo() local weapons = getPlayerWeapons( player, weaponSlot) local currentWeaponAmmo = getPedTotalAmmo( player, getSlotFromWeapon(weaponID)) local totalAmmo = currentWeaponAmmo+weaponAmmo if ammoType == "magazine" then if currentWeaponAmmo then setWeaponAmmo( player, weaponID, currentWeaponAmmo+weaponAmmo) end
  5. so why i requested it because i cant make it or make any code.
  6. pfffffffffffff of course u know guys i cant create it iam requesting it.
  7. Hi iam asking anyone for a code that if i have satchel and wanna buy Grenades the satchels will be replaced to Grenades. in my server if i have [EXAMPLE:] 80 satchels and bought 1 grenade i will lose satchel . so i wanna make it when i buy 1 grenade and i have 80 satchel it will be changed to 81 grenades.
  8. Bro its working but i want it just when i aim with weapon .the code that u gave me is giving WL when looking to a cop without aim also i wanna make it +1 WL every 5sec of aiming iam just learning lua from some months and iam improving me self but i tried too much times with this code and still bugged. Help plz
  9. also i wanna make it just get WL in LS and SF not in LV
  10. Omg when i just look to the police i got WL i want if i aimed with a weapon get 1 WL .
  11. what about this ? addEventHandler("onPlayerTarget",root,function(target) if(getElementType(target)=="player")then if(getTeamName(getPlayerTeam(target))=="Police")then setPlayerWantedLevel(source,1) end end)
  12. ty Walid but iam noob scripter cant do it 100% can u help me with it ?
  13. Today, i wanna ask for a script which gives Wanted Level when aiming at cop i mean when Criminal or any other Occ aiming at cop he will get Wanted Level.
  14. Hi today i wanna ask for any script to disable Grenades and Satchels and Rockets in LS and SF can anyone help me with the code ?
×
×
  • Create New...