Jump to content

Raversing

Members
  • Posts

    3
  • Joined

  • Last visited

Raversing's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

0

Reputation

  1. Hi, I've got an idea about the setWeaponProperty function, I think we could improve it by adding an argument to choose to which element the function should affect.It could be useful to make a custom skill system. Like this : bool setWeaponProperty ( element theElement, int weaponID/string weaponName, string weaponSkill, string property, int/float theValue )
  2. Ok, thanks for reply, maybe the function could be changed by MTA Devs ? From this : bool setWeaponProperty ( int weaponID/string weaponName, string weaponSkill, string property, int/float theValue ) To this : bool setWeaponProperty ( element theElement, int weaponID/string weaponName, string weaponSkill, string property, int/float theValue ) And also for getWeaponProperty. But I don't know if its possible.
  3. Hi, I have a question about setWeaponProperty, when I use setWeaponProperty will it apply the stats modifications on all elements or just to a specific element ? For example : function setRifleStats(thePlayer) setWeaponProperty(33, "pro", "flags", 0x000010) -- Country Rifle setWeaponProperty(33, "pro", "flags", 0x000020) -- Country Rifle setWeaponProperty(33, "pro", "damage", 220) -- Country Rifle end addCommandHandler( "upgraderifle", setRifleStats ) This script will change the stats for the player who entered the command or to all elements ? Thanks.
×
×
  • Create New...