Thread: [Solved] Need Code For CFG FILE
View Single Post
wilian159
Member
Join Date: Dec 2013
Old 07-24-2022 , 17:45   Re: Need Code For CFG FILE
Reply With Quote #10

Quote:
Originally Posted by Begineer Programmer View Post
Bro !!!

you also give different answer

what i am trying to do ?

i have plugin i want to show cvar values to users from that file

Assume if nextmap mp_maxrounds value should display to user

when we write nextmap on chat it show nextmap name and it should also show

Rounds of Nextmap will be: %d

mean load mp_maxrounds from file to show nextmap rounds to users
you don't need to load any files to get the value of 'mp_maxrounds' unless the value of the file is different from the current 'mp_maxrounds', and you want to get the value of the file.

oh yes you need a function
__________________
wilian159 is offline