• How can I activate this r_farz 2000 command on my server for all players?
    14 replies, posted
How can I activate this r_farz 2000 command on my server for all players? Without sv_cheat 1 And where to write it darkrp
You cannot, but I believe you can recreate the same effect with a CalcView hook.
[QUOTE=code_gs;52312011]You cannot, but you can recreate the same effect with a CalcView hook.[/QUOTE] [IMG]https://pp.userapi.com/c638722/v638722529/3f100/7SYMkSD_a9o.jpg[/IMG] Is it possible to make such a fog like here? (render distance) Is there an addon to this?
[QUOTE=code_gs;52312011]I believe you can recreate the same effect with a CalcView hook.[/QUOTE]
[QUOTE=code_gs;52312011]You cannot, but I believe you can recreate the same effect with a CalcView hook.[/QUOTE] [IMG]https://pp.userapi.com/c638722/v638722529/3f123/-LLhi1J9SFg.jpg[/IMG][IMG]https://pp.userapi.com/c638722/v638722529/3f119/eY9sGzDbhls.jpg[/IMG]
That's not what I meant. You can return a different zfar value in the hook: [url]https://wiki.garrysmod.com/page/Structures/CamData[/url]
[QUOTE=code_gs;52312123]That's not what I meant. You can return a different zfar value in the hook: [url]https://wiki.garrysmod.com/page/Structures/CamData[/url][/QUOTE] You can write this command yourself:cat: please
Why are you taking pictures of your screen with a camera?
[QUOTE=AwfulRanger;52312147]Why are you taking pictures of your screen with a camera?[/QUOTE] it is more comfortable:downs:
[QUOTE=baganyti;52312143]You can write this command yourself:cat: please[/QUOTE] From the code you've posted, you've already shown you know how to write a hook, so you can at least attempt to do what I posted.
[QUOTE=code_gs;52312123]That's not what I meant. You can return a different zfar value in the hook: [url]https://wiki.garrysmod.com/page/Structures/CamData[/url][/QUOTE] You can write this command to me? I do not understand anything about it [editline]4th June 2017[/editline] [QUOTE=code_gs;52312315]From the code you've posted, you've already shown you know how to write a hook, so you can at least attempt to do what I posted.[/QUOTE] That's what the server writes to me: Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1.
Do not use r_farz. Return a value within the CalcView hook that changes the zfar distance in the CalcView hook. zfar is the key in the return table, so it would look like: [code]-- In CalcView hook return {zfar = 2000}[/code]
[QUOTE=code_gs;52312409]Do not use r_farz. Return a value within the CalcView hook that changes the zfar distance in the CalcView hook. zfar is the key in the return table, so it would look like: [code]-- In CalcView hook return {zfar = 2000}[/code][/QUOTE] Can we write all the code completely?please I do not understand anything about this. I need to do it today. please :cry: [editline]5th June 2017[/editline] [QUOTE=code_gs;52312409]Do not use r_farz. Return a value within the CalcView hook that changes the zfar distance in the CalcView hook. zfar is the key in the return table, so it would look like: [code]-- In CalcView hook return {zfar = 2000}[/code][/QUOTE] Everything works thank you!!!!!! You are a very good person. Thank you for not leaving me!
Did you really need that code by today though?
Sorry, you need to Log In to post a reply to this thread.