[Plugin] Homes
#5
(11-30-2014, 05:28 AM)xoft Wrote: It would be nice if the ranks could be named arbitrarily. I have 8 ranks on my server, I'd like to be able to set the number of homes for each of those ranks separately.

Hint: Read all the items in the INI file (use a for loop of cIniFile:GetValue(keyID, valueID); valueID should range from 0 to cIniFile:GetNumValues() - 1, keyID = cIniFile:FindKey()), store them in a table and use "rankTable[rankName] or DEFAULT_VALUE" to evaluate the number of allowed homes.

Will take a look at it. i thought about the same thing, but decided to keep it based on the defaults at first.

Learning step by step, you know Wink
Reply
Thanks given by:


Messages In This Thread
[Plugin] Homes - by nouseforname - 11-27-2014, 07:43 PM
RE: [Plugin] Homes - by donvdp - 11-29-2014, 09:37 PM
RE: [Plugin] Homes - by nouseforname - 11-30-2014, 04:33 AM
RE: [Plugin] Homes - by xoft - 11-30-2014, 05:28 AM
RE: [Plugin] Homes - by nouseforname - 11-30-2014, 05:38 AM
RE: [Plugin] Homes - by nouseforname - 11-30-2014, 07:44 AM
RE: [Plugin] Homes - by DrMasik - 08-20-2015, 05:51 AM
RE: [Plugin] Homes - by nouseforname - 08-21-2015, 11:24 PM
RE: [Plugin] Homes - by DrMasik - 08-25-2015, 02:56 AM



Users browsing this thread: 6 Guest(s)