Fix server owner id

This commit is contained in:
ChronosX88 2024-01-08 01:11:15 +03:00
parent 7810d43b85
commit 2a536e38f4

View File

@ -19,8 +19,8 @@
/* ** Server Operator ** */
#define SERVER_OPERATOR "ChronosXYZ"
#define SERVER_OPERATOR_ACC_ID 1
#define SERVER_OPERATOR_ACC_ID_2 2
#define SERVER_OPERATOR_ACC_ID 926053
// #define SERVER_OPERATOR_ACC_ID_2 2
/* ** Comment line to disable feature ** */
//#define SERVER_RULES_URL "files.sfcnr.com/en_rules.txt" // used for /rules (cnr\features\server_rules.pwn)
@ -59,7 +59,7 @@ hook OnScriptInit( )
/* ** Functions ** */
stock IsPlayerLeadMaintainer( playerid ) // Limits money, coin, xp spawning to this user id
{
if ( GetPlayerAccountID( playerid ) == SERVER_OPERATOR_ACC_ID || GetPlayerAccountID( playerid ) == SERVER_OPERATOR_ACC_ID_2 )
if ( GetPlayerAccountID( playerid ) == SERVER_OPERATOR_ACC_ID)
return 1;
return 0;