Kpds Posted November 19, 2020 Share Posted November 19, 2020 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
Administrators Tut Posted November 19, 2020 Administrators Share Posted November 19, 2020 Thread moved to the Portuguese language forum for best results, @Kpds Link to comment
Kpds Posted November 19, 2020 Author Share Posted November 19, 2020 (edited) . Edited November 19, 2020 by Kpds h Link to comment
Angelo Pereira Posted November 19, 2020 Share Posted November 19, 2020 Tire as aspas (" ") do primeiro argumento da função. Link to comment
Kpds Posted November 19, 2020 Author Share Posted November 19, 2020 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
Recommended Posts