diff --git a/.gitignore b/.gitignore index 5daf566..3c91747 100644 --- a/.gitignore +++ b/.gitignore @@ -88,6 +88,7 @@ npcmodes/**/* !npcmodes/secureguard.pwn !npcmodes/recordings/ !npcmodes/recordings/*.rec +!npcmodes/pawn.json npcmodes/recordings/mission_4.rec npcmodes/recordings/mission_3.rec npcmodes/recordings/mission_2.rec diff --git a/gamemodes/irresistible/cnr/features/vip/coin_market.pwn b/gamemodes/irresistible/cnr/features/vip/coin_market.pwn index 43033e0..8d0df4c 100644 --- a/gamemodes/irresistible/cnr/features/vip/coin_market.pwn +++ b/gamemodes/irresistible/cnr/features/vip/coin_market.pwn @@ -99,17 +99,6 @@ static stock forward Float: GetPlayerIrresistibleCoins( playerid ); /* ** Hooks ** */ -#if defined SERVER_PLS_DONATE_MP3 -hook OnServerGameDayEnd( ) -{ - foreach ( new p : Player ) if ( ! p_VIPLevel[ p ] && ! IsPlayerUsingRadio( p ) ) - { - PlayAudioStreamForPlayer( p, SERVER_PLS_DONATE_MP3 ); - } - return 1; -} -#endif - hook OnPlayerUpdateEx( playerid ) { CheckPlayerVipExpiry( playerid ); diff --git a/gamemodes/irresistible/config/server.pwn b/gamemodes/irresistible/config/server.pwn index be150ce..ef53a45 100644 --- a/gamemodes/irresistible/config/server.pwn +++ b/gamemodes/irresistible/config/server.pwn @@ -24,10 +24,9 @@ /* ** Comment line to disable feature ** */ //#define SERVER_RULES_URL "files.sfcnr.com/en_rules.txt" // used for /rules (cnr\features\server_rules.pwn) -#define SERVER_TWITTER_FEED_URL "files.sfcnr.com/cnr_twitter.php" // used for /twitter (cnr\commands\cmd_twitter.pwn) +// #define SERVER_TWITTER_FEED_URL "files.sfcnr.com/cnr_twitter.php" // used for /twitter (cnr\commands\cmd_twitter.pwn) #define SERVER_HELP_API_URL "sfcnr.com/api/player/help" // used for /help (cnr\commands\cmd_help.pwn) #define SERVER_CHANGES_DIRECTORY "changelogs/cnr" // used for /changes (cnr\changelog.pwn) -#define SERVER_PLS_DONATE_MP3 "http://files.sfcnr.com/game_sounds/pls_donate.mp3" // used for advertising vip (cnr\features\vip\coin_market.pwn) #define SERVER_MIGRATIONS_FOLDER "./gamemodes/irresistible/config/migrations/cnr/" // used for migrations checking (config\migrations\_migrations.pwn) /* ** Hooks ** */ diff --git a/gamemodes/sf-cnr.pwn b/gamemodes/sf-cnr.pwn index f0d7856..12c8260 100644 --- a/gamemodes/sf-cnr.pwn +++ b/gamemodes/sf-cnr.pwn @@ -3224,7 +3224,7 @@ CMD:r( playerid, params[ ] ) new pID = p_PmResponder[ playerid ]; if ( IsPlayerServerMaintainer( pID ) && g_VipPrivateMsging && p_VIPLevel[ playerid ] < VIP_REGULAR ) { - return SendError( playerid, "You need to be V.I.P to PM this person, to become one visit "COL_GREY"donate.sfcnr.com" ); + return SendError( playerid, "You need to be V.I.P to PM this person, to become one discuss with admins" ); } if ( p_BlockedPM[ playerid ] [ pID ] == true ) { @@ -3268,7 +3268,7 @@ CMD:pm( playerid, params[ ] ) else { if ( IsPlayerServerMaintainer( pID ) && g_VipPrivateMsging && p_VIPLevel[ playerid ] < VIP_REGULAR ) { - return SendError( playerid, "You need to be V.I.P to PM this person, to become one visit "COL_GREY"donate.sfcnr.com" ); + return SendError( playerid, "You need to be V.I.P to PM this person, to become one discuss with admins" ); } if ( p_BlockedPM[ playerid ] [ pID ] == true ) { @@ -5485,7 +5485,7 @@ public OnDialogResponse( playerid, dialogid, response, listitem, inputtext[ ] ) } if ( p_VIPLevel[ playerid ] < VIP_GOLD && listitem == MENU_SPECIAL ) { - SendError( playerid, "You are not Gold V.I.P, to become one visit "COL_GREY"donate.sfcnr.com" ); + SendError( playerid, "You are not Gold V.I.P, to become one discuss with admins" ); return ShowAmmunationMenu( playerid, "{FFFFFF}Weapon Deal - Purchase Weapons", DIALOG_WEAPON_DEAL ); } diff --git a/npcmodes/pawn.json b/npcmodes/pawn.json new file mode 100644 index 0000000..bfa5b97 --- /dev/null +++ b/npcmodes/pawn.json @@ -0,0 +1,10 @@ +{ + "user": "ChronosXYZ", + "repo": "sfcnr-npcmodes", + "tag": "0.0.1", + "entry": "secureguard.pwn", + "output": "secureguard.amx", + "dependencies": [ + "pawn-lang/samp-stdlib" + ] +} \ No newline at end of file