Re: Need help please [message #468005 is a reply to message #467999] |
Sat, 26 May 2012 02:47 |
iRANian
Messages: 4309 Registered: April 2011
Karma:
|
General (4 Stars) |
|
|
Your code is of very poor quality, do a total rewrite and start with figuring out how to store and retrieve data in a database, then figure out how to use a hash table, then assigning vet points to a player, then how to have actions give out vet points, then how to give a player a rank, then the vet-related commands and than giving promoted players goodies. Be sure to add debugging console output to every function so you have a tight understanding of what your code is actually doing in any part of its execution.
After you'e got your database code working you can pretty much use this veteran system plugin as base:
http://www.renegadeforums.com/index.php?t=msg&goto=463595&rid=25967& srch=veteran+system#msg_463595
Long time and well respected Renegade community member, programmer, modder and tester.
Scripts 4.0 private beta tester since May 2011.
My Renegade server plugins releases
|
|
|