1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361
| Common.UseWeaponInven(true) Common.SetSaveCurrentWeapons(true) Common.SetSaveWeaponInven(true) Common.SetAutoLoad(true) Common.DisableWeaponParts(true) Common.DisableWeaponEnhance(true) Common.DontGiveDefaultItems(true) Common.DontCheckTeamKill(true) Common.UseScenarioBuymenu(true) Common.SetNeedMoney(true) Common.UseAdvancedMuzzle(true) Common.SetMuzzleScale(1.0) Common.SetBloodScale(2) Common.SetGunsparkScale(10) Common.SetHitboxScale(2.5) Common.SetMouseoverOutline(true, {r = 255, g = 0, b = 0}) Common.SetUnitedPrimaryAmmoPrice(50) Common.SetUnitedSecondaryAmmoPrice(0)
EPSILON = 0.00001
SignalToGame = { openWeaponInven = 1, }
SignalToUI = { reloadStarted = 1, reloadFinished = 2 }
WeaponGrade = { normal = 1, rare = 2, unique = 3, legend = 4, END = 4 }
BuymenuWeaponList = { Common.WEAPON.P228, Common.WEAPON.DualBeretta, Common.WEAPON.FiveSeven, Common.WEAPON.Glock18C, Common.WEAPON.USP45, Common.WEAPON.DesertEagle50C, Common.WEAPON.DualInfinity, Common.WEAPON.Galil, Common.WEAPON.FAMAS, Common.WEAPON.M4A1, Common.WEAPON.AK47, Common.WEAPON.OICW, Common.WEAPON.MAC10, Common.WEAPON.UMP45, Common.WEAPON.MP5, Common.WEAPON.TMP, Common.WEAPON.P90, Common.WEAPON.MP7A1ExtendedMag, Common.WEAPON.Needler, Common.WEAPON.M3, Common.WEAPON.XM1014, Common.WEAPON.DoubleBarrelShotgun, Common.WEAPON.WinchesterM1887, Common.WEAPON.USAS12, Common.WEAPON.FireVulcan, Common.WEAPON.M249, Common.WEAPON.MG3, Common.WEAPON.M134Minigun, Common.WEAPON.K3, Common.WEAPON.QBB95, Common.WEAPON.M32MGL, Common.WEAPON.Leviathan, Common.WEAPON.Salamander, Common.WEAPON.RPG7 }
Common.SetBuymenuWeaponList(BuymenuWeaponList)
WeaponList = { Common.WEAPON.P228, Common.WEAPON.DualBeretta, Common.WEAPON.FiveSeven, Common.WEAPON.Glock18C, Common.WEAPON.USP45, Common.WEAPON.DesertEagle50C, Common.WEAPON.DualInfinity, Common.WEAPON.DualInfinityCustom, Common.WEAPON.DualInfinityFinal, Common.WEAPON.SawedOffM79, Common.WEAPON.Cyclone, Common.WEAPON.AttackM950, Common.WEAPON.DesertEagle50CGold, Common.WEAPON.ThunderGhostWalker, Common.WEAPON.PythonDesperado, Common.WEAPON.DesertEagleCrimsonHunter, Common.WEAPON.DualBerettaGunslinger, Common.WEAPON.Galil, Common.WEAPON.FAMAS, Common.WEAPON.M4A1, Common.WEAPON.SG552, Common.WEAPON.AK47, Common.WEAPON.AUG, Common.WEAPON.AN94, Common.WEAPON.M16A4, Common.WEAPON.AK47Custom, Common.WEAPON.HK416, Common.WEAPON.AK74U, Common.WEAPON.AKM, Common.WEAPON.L85A2, Common.WEAPON.FNFNC, Common.WEAPON.TAR21, Common.WEAPON.SCAR, Common.WEAPON.SKULL4, Common.WEAPON.OICW, Common.WEAPON.PlasmaGun, Common.WEAPON.StunRifle, Common.WEAPON.StarChaserAR, Common.WEAPON.CompoundBow, Common.WEAPON.LightningAR2, Common.WEAPON.Ethereal, Common.WEAPON.LightningAR1, Common.WEAPON.F2000, Common.WEAPON.Crossbow, Common.WEAPON.CrossbowAdvance, Common.WEAPON.M4A1DarkKnight, Common.WEAPON.AK47Paladin, Common.WEAPON.MAC10, Common.WEAPON.UMP45, Common.WEAPON.MP5, Common.WEAPON.TMP, Common.WEAPON.P90, Common.WEAPON.MP7A1ExtendedMag, Common.WEAPON.DualKriss, Common.WEAPON.KrissSuperV, Common.WEAPON.DualMP7A1, Common.WEAPON.Tempest, Common.WEAPON.TMPDragon, Common.WEAPON.P90Lapin, Common.WEAPON.DualUZI, Common.WEAPON.Needler, Common.WEAPON.InfinityLaserFist, Common.WEAPON.M3, Common.WEAPON.XM1014, Common.WEAPON.DoubleBarrelShotgun, Common.WEAPON.WinchesterM1887, Common.WEAPON.USAS12, Common.WEAPON.JackHammer, Common.WEAPON.TripleBarrelShotgun, Common.WEAPON.SPAS12Maverick, Common.WEAPON.FireVulcan, Common.WEAPON.BALROGXI, Common.WEAPON.BOUNCER, Common.WEAPON.FlameJackhammer, Common.WEAPON.RailCannon, Common.WEAPON.LightningSG1, Common.WEAPON.USAS12CAMO, Common.WEAPON.WinchesterM1887Gold, Common.WEAPON.UTS15PinkGold, Common.WEAPON.Volcano, Common.WEAPON.M249, Common.WEAPON.MG3, Common.WEAPON.M134Minigun, Common.WEAPON.MG36, Common.WEAPON.MK48, Common.WEAPON.K3, Common.WEAPON.QBB95, Common.WEAPON.QBB95AdditionalMag, Common.WEAPON.BALROGVII, Common.WEAPON.MG3CSOGSEdition, Common.WEAPON.CHARGER7, Common.WEAPON.ShiningHeartRod, Common.WEAPON.Coilgun, Common.WEAPON.Aeolis, Common.WEAPON.BroadDivine, Common.WEAPON.LaserMinigun, Common.WEAPON.M249Phoenix, Common.WEAPON.M32MGL, Common.WEAPON.PetrolBoomer, Common.WEAPON.Slasher, Common.WEAPON.Eruptor, Common.WEAPON.Leviathan, Common.WEAPON.Salamander, Common.WEAPON.RPG7, Common.WEAPON.M32MGLVenom, Common.WEAPON.Stinger, Common.WEAPON.MagnumDrill, Common.WEAPON.GaeBolg, Common.WEAPON.Ripper, Common.WEAPON.BlackDragonCannon, Common.WEAPON.Guillotine }
option = Common.GetWeaponOption(Common.WEAPON.P228) option.price = 100 option.damage = 1.0 option.penetration = 1.0 option.rangemod = 1.0 option.cycletime = 1.0 option.reloadtime = 1.0 option.accuracy = 1.0 option.spread = 1.0 option:SetBulletColor({r = 255, g = 255, b = 50}); option.user.grade = WeaponGrade.normal option.user.level = 1
function SetOption(weaponid, price, grade, level, red, green, blue) option = Common.GetWeaponOption(weaponid) option.price = price option.user.grade = grade option.user.level = level
if red ~= nil then option:SetBulletColor({r = red, g = green, b = blue}); end end
SetOption(Common.WEAPON.DualBeretta, 100, WeaponGrade.normal, 3, 255, 255, 50) SetOption(Common.WEAPON.FiveSeven, 100, WeaponGrade.normal, 1, 255, 255, 50) SetOption(Common.WEAPON.Glock18C, 100, WeaponGrade.normal, 1, 255, 255, 50) SetOption(Common.WEAPON.USP45, 100, WeaponGrade.normal, 1, 255, 255, 50) SetOption(Common.WEAPON.DesertEagle50C, 500, WeaponGrade.normal, 5, 255, 255, 50) SetOption(Common.WEAPON.DualInfinity, 500, WeaponGrade.normal, 3, 255, 255, 50) SetOption(Common.WEAPON.DualInfinityCustom, 800, WeaponGrade.normal, 4, 255, 255, 50) SetOption(Common.WEAPON.DualInfinityFinal, 1500, WeaponGrade.normal, 7, 255, 255, 50) SetOption(Common.WEAPON.SawedOffM79, 1000, WeaponGrade.normal, 5) SetOption(Common.WEAPON.Cyclone, 2000, WeaponGrade.unique, 8) SetOption(Common.WEAPON.AttackM950, 700, WeaponGrade.unique, 5, 255, 255, 50) SetOption(Common.WEAPON.DesertEagle50CGold, 700, WeaponGrade.unique, 5, 255, 255, 50) SetOption(Common.WEAPON.ThunderGhostWalker, 5000, WeaponGrade.legend, 7) SetOption(Common.WEAPON.PythonDesperado, 8000, WeaponGrade.legend, 15, 255, 255, 50) SetOption(Common.WEAPON.DesertEagleCrimsonHunter, 7000, WeaponGrade.legend, 12, 255, 255, 50) SetOption(Common.WEAPON.DualBerettaGunslinger, 20000, WeaponGrade.legend, 30, 255, 255, 50)
SetOption(Common.WEAPON.Galil, 500, WeaponGrade.normal, 2, 255, 128, 0) SetOption(Common.WEAPON.FAMAS, 500, WeaponGrade.normal, 2, 255, 128, 0) SetOption(Common.WEAPON.M4A1, 700, WeaponGrade.normal, 5, 255, 128, 0) SetOption(Common.WEAPON.SG552, 700, WeaponGrade.normal, 5, 255, 128, 0) SetOption(Common.WEAPON.AK47, 700, WeaponGrade.normal, 5, 255, 128, 0) SetOption(Common.WEAPON.AUG, 700, WeaponGrade.normal, 5, 255, 128, 0) SetOption(Common.WEAPON.AN94, 500, WeaponGrade.normal, 1, 255, 128, 0) SetOption(Common.WEAPON.M16A4, 500, WeaponGrade.normal, 1, 255, 128, 0) SetOption(Common.WEAPON.AK47Custom, 15000, WeaponGrade.normal, 20, 255, 128, 0) SetOption(Common.WEAPON.HK416, 500, WeaponGrade.normal, 2, 255, 128, 0) SetOption(Common.WEAPON.AK74U, 500, WeaponGrade.normal, 2, 255, 128, 0) SetOption(Common.WEAPON.AKM, 500, WeaponGrade.normal, 2, 255, 128, 0) SetOption(Common.WEAPON.L85A2, 500, WeaponGrade.normal, 2, 255, 128, 0) SetOption(Common.WEAPON.FNFNC, 500, WeaponGrade.normal, 2, 255, 128, 0) SetOption(Common.WEAPON.TAR21, 500, WeaponGrade.normal, 2, 255, 128, 0) SetOption(Common.WEAPON.SCAR, 500, WeaponGrade.normal, 2, 255, 128, 0) SetOption(Common.WEAPON.SKULL4, 5000, WeaponGrade.rare, 10, 255, 128, 0) SetOption(Common.WEAPON.OICW, 1000, WeaponGrade.unique, 5, 255, 128, 0) SetOption(Common.WEAPON.PlasmaGun, 1000, WeaponGrade.unique, 5, 255, 128, 0) SetOption(Common.WEAPON.StunRifle, 7000, WeaponGrade.unique, 15, 255, 128, 0) SetOption(Common.WEAPON.StarChaserAR, 8000, WeaponGrade.unique, 20, 255, 128, 0) SetOption(Common.WEAPON.CompoundBow, 1000, WeaponGrade.unique, 5, 255, 128, 0) SetOption(Common.WEAPON.LightningAR2, 1000, WeaponGrade.unique, 5, 255, 128, 0) SetOption(Common.WEAPON.Ethereal, 1000, WeaponGrade.unique, 5, 255, 128, 0) SetOption(Common.WEAPON.LightningAR1, 1000, WeaponGrade.unique, 5, 255, 128, 0) SetOption(Common.WEAPON.F2000, 1000, WeaponGrade.unique, 5, 255, 128, 0) SetOption(Common.WEAPON.Crossbow, 1000, WeaponGrade.legend, 8, 255, 128, 0) SetOption(Common.WEAPON.CrossbowAdvance, 2600, WeaponGrade.legend, 8, 255, 128, 0) SetOption(Common.WEAPON.M4A1DarkKnight, 20000, WeaponGrade.legend, 25, 255, 128, 0) SetOption(Common.WEAPON.AK47Paladin, 20000, WeaponGrade.legend, 25, 255, 128, 0)
SetOption(Common.WEAPON.MAC10, 300, WeaponGrade.normal, 2, 128, 255, 255) SetOption(Common.WEAPON.UMP45, 300, WeaponGrade.normal, 2, 128, 255, 255) SetOption(Common.WEAPON.MP5, 300, WeaponGrade.normal, 3, 128, 255, 255) SetOption(Common.WEAPON.TMP, 300, WeaponGrade.normal, 1, 128, 255, 255) SetOption(Common.WEAPON.P90, 300, WeaponGrade.normal, 1, 128, 255, 255) SetOption(Common.WEAPON.MP7A1ExtendedMag, 2000, WeaponGrade.normal, 10, 128, 255, 255) SetOption(Common.WEAPON.DualKriss, 500, WeaponGrade.normal, 5, 128, 255, 255) SetOption(Common.WEAPON.KrissSuperV, 300, WeaponGrade.normal, 3, 128, 255, 255) SetOption(Common.WEAPON.DualMP7A1, 500, WeaponGrade.normal, 5, 128, 255, 255) SetOption(Common.WEAPON.Tempest, 1000, WeaponGrade.unique, 6, 128, 255, 255) SetOption(Common.WEAPON.TMPDragon, 800, WeaponGrade.unique, 3, 128, 255, 255) SetOption(Common.WEAPON.P90Lapin, 800, WeaponGrade.unique, 3, 128, 255, 255) SetOption(Common.WEAPON.DualUZI, 1200, WeaponGrade.unique, 4, 128, 255, 255) SetOption(Common.WEAPON.Needler, 1000, WeaponGrade.unique, 3, 128, 255, 255) SetOption(Common.WEAPON.InfinityLaserFist, 20000, WeaponGrade.legend, 25)
SetOption(Common.WEAPON.M3, 300, WeaponGrade.normal, 3, 50, 255, 50) SetOption(Common.WEAPON.XM1014, 500, WeaponGrade.normal, 4, 50, 255, 50) SetOption(Common.WEAPON.DoubleBarrelShotgun, 200, WeaponGrade.normal, 1, 50, 255, 50) SetOption(Common.WEAPON.WinchesterM1887, 500, WeaponGrade.normal, 4, 50, 255, 50) SetOption(Common.WEAPON.USAS12, 700, WeaponGrade.normal, 5, 50, 255, 50) SetOption(Common.WEAPON.JackHammer, 500, WeaponGrade.normal, 3, 50, 255, 50) SetOption(Common.WEAPON.TripleBarrelShotgun, 600, WeaponGrade.normal, 4, 50, 255, 50) SetOption(Common.WEAPON.SPAS12Maverick, 1200, WeaponGrade.rare, 7, 50, 255, 50) SetOption(Common.WEAPON.FireVulcan, 3000, WeaponGrade.rare, 5, 50, 255, 50) SetOption(Common.WEAPON.BALROGXI, 10000, WeaponGrade.rare, 12, 50, 255, 50) SetOption(Common.WEAPON.BOUNCER, 20000, WeaponGrade.unique, 14) SetOption(Common.WEAPON.FlameJackhammer, 3000, WeaponGrade.unique, 5, 50, 255, 50) SetOption(Common.WEAPON.RailCannon, 3000, WeaponGrade.unique, 5, 50, 255, 50) SetOption(Common.WEAPON.LightningSG1, 3000, WeaponGrade.unique, 5, 50, 255, 50) SetOption(Common.WEAPON.USAS12CAMO, 3000, WeaponGrade.unique, 5, 50, 255, 50) SetOption(Common.WEAPON.WinchesterM1887Gold, 3000, WeaponGrade.unique, 5, 50, 255, 50) SetOption(Common.WEAPON.UTS15PinkGold, 3000, WeaponGrade.unique, 5, 50, 255, 50) SetOption(Common.WEAPON.Volcano, 15000, WeaponGrade.legend, 14, 50, 255, 50)
SetOption(Common.WEAPON.M249, 600, WeaponGrade.normal, 3, 255, 50, 255) SetOption(Common.WEAPON.MG3, 1500, WeaponGrade.normal, 7, 255, 50, 255) SetOption(Common.WEAPON.M134Minigun, 1000, WeaponGrade.normal, 3, 255, 50, 255) SetOption(Common.WEAPON.MG36, 1000, WeaponGrade.normal, 5, 255, 50, 255) SetOption(Common.WEAPON.MK48, 1000, WeaponGrade.normal, 5, 255, 50, 255) SetOption(Common.WEAPON.K3, 600, WeaponGrade.normal, 5, 255, 50, 255) SetOption(Common.WEAPON.QBB95, 800, WeaponGrade.normal, 7, 255, 50, 255) SetOption(Common.WEAPON.QBB95AdditionalMag, 1000, WeaponGrade.normal, 7, 255, 50, 255) SetOption(Common.WEAPON.BALROGVII, 2500, WeaponGrade.rare, 7, 255, 50, 255) SetOption(Common.WEAPON.MG3CSOGSEdition, 2500, WeaponGrade.rare, 7, 255, 50, 255) SetOption(Common.WEAPON.CHARGER7, 5000, WeaponGrade.rare, 7, 255, 50, 255) SetOption(Common.WEAPON.ShiningHeartRod, 8000, WeaponGrade.unique, 12, 255, 50, 255) SetOption(Common.WEAPON.Coilgun, 5000, WeaponGrade.unique, 7, 255, 50, 255) SetOption(Common.WEAPON.Aeolis, 5000, WeaponGrade.unique, 7, 255, 50, 255) SetOption(Common.WEAPON.BroadDivine, 7000, WeaponGrade.unique, 10, 255, 50, 255) SetOption(Common.WEAPON.LaserMinigun, 7000, WeaponGrade.unique, 10) SetOption(Common.WEAPON.M249Phoenix, 30000, WeaponGrade.legend, 25, 255, 50, 255)
SetOption(Common.WEAPON.M32MGL, 3000, WeaponGrade.normal, 5) SetOption(Common.WEAPON.PetrolBoomer, 3000, WeaponGrade.normal, 5) SetOption(Common.WEAPON.Slasher, 3000, WeaponGrade.normal, 5) SetOption(Common.WEAPON.Eruptor, 300, WeaponGrade.normal, 1) SetOption(Common.WEAPON.Leviathan, 2000, WeaponGrade.normal, 7) SetOption(Common.WEAPON.Salamander, 2000, WeaponGrade.normal, 7) SetOption(Common.WEAPON.RPG7, 1200, WeaponGrade.normal, 3) SetOption(Common.WEAPON.M32MGLVenom, 5000, WeaponGrade.unique, 15) SetOption(Common.WEAPON.Stinger, 3000, WeaponGrade.unique, 3) SetOption(Common.WEAPON.MagnumDrill, 20000, WeaponGrade.legend, 25, 50, 50, 255) SetOption(Common.WEAPON.GaeBolg, 10000, WeaponGrade.legend, 15) SetOption(Common.WEAPON.Ripper, 15000, WeaponGrade.legend, 20) SetOption(Common.WEAPON.BlackDragonCannon, 10000, WeaponGrade.legend, 7) SetOption(Common.WEAPON.Guillotine, 10000, WeaponGrade.legend, 10)
|