Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pConsole->AddVariable("maxplayers", CON_VARTYPE_INT, 0, &iMaxPlayers);
- pConsole->AddVariable("port", CON_VARTYPE_INT, 0, &iListenPort);
- pConsole->AddStringVariable("bind", 0, gServerSettings.szBindIp);
- pConsole->AddVariable("lanmode",CON_VARTYPE_BOOL,0, &bLanModeEnable);
- pConsole->AddVariable("query",CON_VARTYPE_BOOL, 0, &bAllowQuery);
- #ifdef RAKRCON
- pConsole->AddVariable("rcon_port", CON_VARTYPE_INT, 0, &iRconPort);
- pConsole->AddVariable("rcon_maxadmins", CON_VARTYPE_INT, 0, &iRconMaxAdmins);
- pConsole->AddStringVariable("rcon_bind", 0, NULL);
- #endif
- #ifdef LINUX
- pConsole->AddVariable("output",CON_VARTYPE_BOOL,0,&bOutputEnable);
- #endif
- pConsole->AddVariable("timestamp",CON_VARTYPE_BOOL,0,&bEnableTimestamp);
- pConsole->AddStringVariable("password", 0, NULL, ServerPasswordChanged);
- pConsole->AddStringVariable("hostname", 0, "SA:MP Server");
- pConsole->AddStringVariable("mapname", CON_VARFLAG_RULE, "San Andreas");
- pConsole->AddStringVariable("weburl", CON_VARFLAG_RULE, "www.sa-mp.com");
- pConsole->AddStringVariable("rcon_password", 0, "changeme");
- pConsole->AddStringVariable("gravity", CON_VARFLAG_RULE, "0.008");
- pConsole->AddStringVariable("weather", CON_VARFLAG_RULE, "10");
- //pConsole->AddStringVariable("tirepopping", CON_VARFLAG_RULE, "0");
- pConsole->AddStringVariable("gamemodetext", 0, "Unknown");
- pConsole->AddStringVariable("filterscripts", 0, "");
- pConsole->AddStringVariable("plugins", 0, "");
- pConsole->AddStringVariable("nosign", 0, "");
- pConsole->AddVariable("anticheat",CON_VARTYPE_BOOL, /* CON_VARFLAG_RULE */ 0, &bEnableAC);
- pConsole->AddVariable("instagib", CON_VARTYPE_BOOL, CON_VARFLAG_RULE, &bEnableInstagib, ServerInstagibChanged);
- pConsole->AddVariable("myriad", CON_VARTYPE_BOOL, 0, &bGameMod);
- pConsole->AddStringVariable("version", CON_VARFLAG_RULE | CON_VARFLAG_READONLY, SAMP_VERSION);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement