Endless-Guide v.2
This forum as just been made please give us time while our staff members work on it we are still lookin for moderators(staffs) please email ''endless-guide@hotmail.com'' for application
Endless-Guide v.2
This forum as just been made please give us time while our staff members work on it we are still lookin for moderators(staffs) please email ''endless-guide@hotmail.com'' for application
Endless-Guide v.2
Would you like to react to this message? Create an account in a few clicks or log in to continue.


The Guide for Endless-Online Players
 
HomeGalleryLatest imagesSearchRegisterLog in
Search
 
 

Display results as :
 
Rechercher Advanced Search
Latest topics
» Ruthless Aggression
Admin Level command Icon_minitimeTue Oct 05, 2010 9:21 am by Microchip

» Copycat command
Admin Level command Icon_minitimeTue Oct 05, 2010 9:16 am by Microchip

» #title command
Admin Level command Icon_minitimeFri Sep 03, 2010 5:49 pm by michael032777

» Rev 187 character creation error
Admin Level command Icon_minitimeFri Sep 03, 2010 5:38 pm by michael032777

» Modernwarfare2pwns.no-ip.org
Admin Level command Icon_minitimeTue Aug 24, 2010 4:29 pm by artsyfartsy

» Want Hacks for Endless Online? Join EO-Hackers!
Admin Level command Icon_minitimeFri Aug 06, 2010 7:48 am by Slymask3

» Want Hacks for Endless Online? Join EO-Hackers!
Admin Level command Icon_minitimeWed Aug 04, 2010 11:21 am by Slymask3

» Want Hacks for Endless Online? Join EO-Hackers!
Admin Level command Icon_minitimeWed Aug 04, 2010 11:21 am by Slymask3

» Want Hacks for Endless Online? Join EO-Hackers!
Admin Level command Icon_minitimeWed Aug 04, 2010 11:21 am by Slymask3

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Forum
Affiliates
free forum
 

 

 Admin Level command

Go down 
AuthorMessage
oxyda
Admin
oxyda


Posts : 38
Join date : 2010-03-26

Admin Level command Empty
PostSubject: Admin Level command   Admin Level command Icon_minitimeSun Mar 28, 2010 11:40 am

in your admin.ini you'll see a whole bunch of constants defined with integer values. set it to 1-4 to determine which levels can use it.

if you mean what level the character is (not admin level) then you could add that into the 'else if' statement. example for the 'board' command:

else if (command.length() >= 2 && command.compare(0,2,"bo") == 0 && this->player->character->admin >= static_cast<int>(this->server->world->admin_config["board"]) && this->player->character->level >= 10)

the bold part would be what you add to make sure that people were level 10 and up to use the command (who were also admins).
Back to top Go down
 
Admin Level command
Back to top 
Page 1 of 1
 Similar topics
-
» #command
» Copycat command
» #heal COMMAND
» #title command
» #dismiss command for pet

Permissions in this forum:You cannot reply to topics in this forum
Endless-Guide v.2 :: Softwares :: EOSERV-
Jump to: