PDA

View Full Version : [Trinity] World Chat (C++)



G4M3R
11-03-13, 04:06 AM
THIS SCRIPT(C++) ONLY SUPPORTS TRINITY CORES!


There is 8 Ranks in this C++ Script

List of them:


PLAYER
VIP
MODERATOR
GAMEMASTER
EVENTM
HEADGM
DEVELOPER
ADMINISTRATOR
OWNER


How to add these ranks:


Open and edit common.h in src/server/shared/
Hit Ctrl + F (keys) and search for "enum AccountTypes"
Replace the existing ranks with:




SEC_PLAYER = 0, SEC_VIP = 1, SEC_MODERATOR = 2, SEC_GAMEMASTER = 3, SEC_EVENTM = 4, SEC_HEADGM = 5, SEC_DEVELOPER = 6, SEC_ADMINISTRATOR = 7, SEC_OWNER = 8, SEC_CONSOLE = 9 // must be always last in list, accounts must have less security level always also



Save and Close



How to add Custom Scripts --------> [HERE (http://collab.kpsn.org/display/tc/How-to_CustomScript)]
Script --------------> [HERE (http://paste2.org/p/3112997)]

Apple
11-03-13, 08:28 AM
nice , thanks for sharing +rep

G4M3R
11-03-13, 08:43 AM
Thanks (: