put on cfg
how can i put these cvars on cfg file ?
PHP Code:
|
Re: put on cfg
What do you mean by put them?
Do you want the plugin to read/write to a .cfg file? |
Re: put on cfg
It's like on .cfg file amx_potion_health", "100" this but it writes in cfg HP_POTION GIVES = "Number how much hp gives" and it sets to server
|
Re: put on cfg
What?
|
Re: put on cfg
In Plugin
PHP Code:
Code:
// General |
Re: put on cfg
healthpotion -> amx_potion_health
|
Re: put on cfg
Quote:
Quote:
huh? see here : healthpotion = register_cvar("price_hp", "4000") // You'r Cvars are the red cvars : hp = register_cvar("amx_potion_health", "100"); sp = register_cvar("amx_potion_speed", "100"); gp = register_cvar("amx_potion_gravity", "0.6"); // this in config. amx_potion_health "100" amx_potion_speed "100" amx_potion_gravity "0.6" |
Re: put on cfg
@One
Did you even look at the cvar value in the config? That is why I chose amx_potion_health. |
Re: put on cfg
ok he was wrong. because i just read :
healthpotion "100" // How much hp restores health potion & for me looks healthpotion so : healthpotion = register_cvar("price_hp", "4000") that's why i writed price_hp "xxx" :P |
| All times are GMT -4. The time now is 22:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.