• Content count

  • Joined

  • Last visited

Community Reputation

5 Neutral

About Saw^^

  • Rank


  • Gang
    SACG:RPG Owner

Recent Profile Visitors

125 profile views
  1. Hello MTA Community, i've made a script which Makes the Team "name" undamageable until they get a wanted level, i've tried it in many ways and i'm still having this error : ANTIDM/Server.lua:3: syntax error near 'end' Client Side : dmteam = { ["Emergency"] = true, } function antidm (Player) Player = getLocalPlayer() if dmteam[getTeamName(getPlayerTeam(Player))] and triggerServerEvent("Dm", Player, Player) then cancelEvent() end end addEventHandler("onClientPlayerDamage", getRootElement(), antidm) Server Side : function check(Player) (exports.SACGpolice:getWantedLevel(Player) == 0) end addEvent("Dm",true) addEventHandler("Dm", getRootElement(Player), check) Note : i've done this TriggerServerEvent, cause the "SACGpolice" is exportable with Server Side. Thank you.
  2. local friends = { ["Emergency"] = true, } function friendy () for index, theTeam in ipairs(friends) do if ( getTeamFriendlyFire ( theTeam ) == false ) then setTeamFriendlyFire ( theTeam, true ) end end end addEventHandler("onClientPlayerDamage", getRootElement(), friendy) Well, i wanted to restrict The Emergency team from getting Killed by each other for an exemple, The Scripts works fine without any Warnings/Errors But It's not running Correctly, there has to be a mistake. The Second Part : I've made a script in the past days experiencing The "setWeaponProperty" with some weapons such as M4/minigun Damage, i thought by deleting the script, the weapon damage should have been refreshed, but still NOT, so i'm asking for a little Help if someone can help me out to Get it back like every weapon used to be. Thank you.
  3. [ERROR]Server Side

    Yeap, thanks it worked.
  4. [ERROR]Server Side

    No, it's not the only one. I have fewscripts having the same table function
  5. [ERROR]Server Side

    Hello MTA Team and Everyone else, I'm having an issue with the server side like i've been trying to lock this Jetpack to a specific Team and i'm having this Type of Error : " error: attemp to index global 'allowedTeams' (a nil value) " Thank you.
  6. Contact me ASAP via Discord: Sawos#5818

    i had a good check on this server lately, the server looks awesome and fair with scripts. Great Job.
  8. [Help]Interior Secript

    So , Hey Everyone i m just in need for teleport secript with markers which i can make them ( a simple one ) that would be a big pleasure if you guys Help me with it , Thx .