AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [REQ] server.cfg to amxx file (https://forums.alliedmods.net/showthread.php?t=233734)

plazma 01-19-2014 11:45

[REQ] server.cfg to amxx file
 
Hi, its posible to make cvars from server.cfg compile in file amxx and in server.cfg only somecvar for starting srv because my hosting is fuc*t sh*t with steal my server.cfg how to protect it thanks.

YamiKaitou 01-19-2014 11:47

Re: [REQ] server.cfg to amxx file
 
Why not stick them in another config file, like amxx.cfg?

But, yes it is possible. Look at the pcvar natives

plazma 01-19-2014 12:01

Re: [REQ] server.cfg to amxx file
 
I protect my plugins but no server.cfg I'm noob for scripting some example or any scripts here please I need so much... :(

YamiKaitou 01-19-2014 12:43

Re: [REQ] server.cfg to amxx file
 
This guide needs to be updated to use PCVARs, but if all you are going to do is have it replace your server.cfg file, it is enough

https://wiki.alliedmods.net/Scripting_Cvars_(AMX_Mod_X)

plazma 01-19-2014 12:52

Re: [REQ] server.cfg to amxx file
 
Thanks but i can't make a script I do not know post here one example pls :S

YamiKaitou 01-19-2014 12:54

Re: [REQ] server.cfg to amxx file
 
Look in existing plugins for examples as well as on the wiki

plazma 01-19-2014 14:56

Re: [REQ] server.cfg to amxx file
 
Sorry I do not know :( ...

YamiKaitou 01-19-2014 15:18

Re: [REQ] server.cfg to amxx file
 
Then learn, you are in Scripting Help after all, we don't just give you the complete solution

fysiks 01-19-2014 17:13

Re: [REQ] server.cfg to amxx file
 
If you can't trust your host, you need to get a new host. Also, trying to hide/"protect" your server.cfg setting is just plain pointless.

plazma 01-19-2014 19:26

Re: [REQ] server.cfg to amxx file
 
Lol Lol Lol, why not post a small script this requires and nothing more, do you mean when you say that I do not know how to make a f** script and performed it what I'm asking from you .


All times are GMT -4. The time now is 10:12.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.