Raised This Month: $ Target: $400
 0% 

[REQ] server.cfg to amxx file


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
plazma
Senior Member
Join Date: Oct 2013
Old 01-19-2014 , 11:45   [REQ] server.cfg to amxx file
Reply With Quote #1

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.
plazma is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-19-2014 , 11:47   Re: [REQ] server.cfg to amxx file
Reply With Quote #2

Why not stick them in another config file, like amxx.cfg?

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

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
plazma
Senior Member
Join Date: Oct 2013
Old 01-19-2014 , 12:01   Re: [REQ] server.cfg to amxx file
Reply With Quote #3

I protect my plugins but no server.cfg I'm noob for scripting some example or any scripts here please I need so much...

Last edited by plazma; 01-19-2014 at 12:01.
plazma is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-19-2014 , 12:43   Re: [REQ] server.cfg to amxx file
Reply With Quote #4

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)
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
plazma
Senior Member
Join Date: Oct 2013
Old 01-19-2014 , 12:52   Re: [REQ] server.cfg to amxx file
Reply With Quote #5

Thanks but i can't make a script I do not know post here one example pls :S

Last edited by plazma; 01-19-2014 at 12:53.
plazma is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-19-2014 , 12:54   Re: [REQ] server.cfg to amxx file
Reply With Quote #6

Look in existing plugins for examples as well as on the wiki
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
plazma
Senior Member
Join Date: Oct 2013
Old 01-19-2014 , 14:56   Re: [REQ] server.cfg to amxx file
Reply With Quote #7

Sorry I do not know ...
plazma is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-19-2014 , 15:18   Re: [REQ] server.cfg to amxx file
Reply With Quote #8

Then learn, you are in Scripting Help after all, we don't just give you the complete solution
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-19-2014 , 17:13   Re: [REQ] server.cfg to amxx file
Reply With Quote #9

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.
__________________
fysiks is offline
plazma
Senior Member
Join Date: Oct 2013
Old 01-19-2014 , 19:26   Re: [REQ] server.cfg to amxx file
Reply With Quote #10

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 .
plazma is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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