Jump to content

Estou tentando aumentar o alcance das armas e o tanto de munição no pente do meu servidor, mas estou tendo problemas com o script, alguém me ajuda?


Recommended Posts

ESTOU COLOCANDO ISSO NO server.lua mas parece que não ta funcionando, ajuda pfv!!

addEventHandler
("onResourceStart", resourceRoot,
    function()
        setWeaponProperty("31""pro""weapon_range"400)
        setWeaponProperty("31""std""weapon_range"400)
        setWeaponProperty("31""poor""weapon_range"400)
        
        setWeaponProperty("31""pro""maximum_clip_ammo"35)
        setWeaponProperty("31","std""maximum_clip_ammo"35)  
        setWeaponProperty("31","poor""maximum_clip_ammo"35
        
        setWeaponProperty("31""pro""target_range"400)
        setWeaponProperty("31""std""target_range"400)
        setWeaponProperty("31""poor""target_range"400)
end
)
Link to comment
10 minutes ago, Angelo Pereira said:

Tire as aspas (" ") do primeiro argumento da função.

assim?? 
 


addEventHandler("onResourceStart", resourceRoot,
      function()
    setWeaponProperty(31, "pro", "weapon_range", 600)
    setWeaponProperty(31, "std", "weapon_range", 600)
    setWeaponProperty(31, "poor", "weapon_range", 600)
        
        setWeaponProperty(31, "pro", "maximum_clip_ammo", 35)
        setWeaponProperty(31,"std", "maximum_clip_ammo", 35)    
    setWeaponProperty(31,"poor", "maximum_clip_ammo", 35)

        setWeaponProperty(31, "pro", "target_range", 600)
        setWeaponProperty(31, "std", "target_range", 600)
        setWeaponProperty(31, "poor", "target_range", 600)

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...