Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaFoxze authored Aug 8, 2024
1 parent 4b60d07 commit 001fe96
Show file tree
Hide file tree
Showing 97 changed files with 68,735 additions and 0 deletions.
8,616 changes: 8,616 additions & 0 deletions sources-omp/gamemodes/offensive-core.pwn

Large diffs are not rendered by default.

106 changes: 106 additions & 0 deletions sources-omp/qawno/include/sources/admin/header.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
/*
About: Admin header
Author: Foxze
*/
/*----------------------------------------------------------------------------
Functions:
Public:
-
Stock:
GetAdminNameLevel(level)
Enums:
E_ADMIN_LEVEL_INFO
Global vars:
admin_players
spec_admin_playerid
------------------------------------------------------------------------------*/
#if defined _INC_ADMIN_HEADER
#endinput
#endif
#define _INC_ADMIN_HEADER
/*
* Defines *
*/
#define ADM_TD_MAX_CHEATERS (10) // Макс. читеров на TD
// Admin levels
#define ADM_MAX_LEVELS (6)
#define ADM_LEVEL_JUNIOR (1)
#define ADM_LEVEL_SENIOR (2)
#define ADM_LEVEL_MAIN (3)
#define ADM_LEVEL_SPECIAL (4)
#define ADM_LEVEL_STEERING (5)
#define ADM_LEVEL_FOUNDER (6)
/*
* Enums *
*/
enum E_ADMIN_LEVEL_INFO {
adm_Name[50],
adm_Info[500],
}
/*
* Vars *
*/
static const
Adm_LevelInfo[ADM_MAX_LEVELS][E_ADMIN_LEVEL_INFO] = {
{
"Мл. администратор",
"-"
},
{
"Cт. администратор",
"-"
},
{
"Гл. администратор",
"-"
},
{
"Спец. администратор",
"-"
},
{
"Рук. администратор",
"-"
},
{
"Основатель",
"-"
}
};
new
Iterator:admin_players<MAX_PLAYERS>,
Iterator:spec_admin_playerid[MAX_PLAYERS]<MAX_PLAYERS>;
/*
* Functions *
*/
stock GetAdminNameLevel(level)
{
new
str[50];
strcat(str, Adm_LevelInfo[level - 1][adm_Name]);
return str;
}
Loading

0 comments on commit 001fe96

Please sign in to comment.