tiny cleanup + update updates.txt

This commit is contained in:
Lorenc Pekaj 2018-09-26 17:01:34 +10:00
parent 2d46306b9a
commit 6d1f4247ef
4 changed files with 10 additions and 7 deletions

View File

@ -14,8 +14,8 @@
#define DIALOG_ADMIN_CMDS 1167
#define DIALOG_ADMIN_CMDS_BACK 1168
/* ** Variables ** */
/* ** Variables ** */
enum E_COMMAND_DATA
{
E_LEVEL,
@ -23,7 +23,7 @@ enum E_COMMAND_DATA
E_DESCRIPTION[ 144 ],
}
new
static stock
g_CommandData [ ] [ E_COMMAND_DATA ] =
{
/* ** Level 1 Commands ** */
@ -200,7 +200,7 @@ hook OnDialogResponse( playerid, dialogid, response, listitem, inputtext[ ] )
{
szHugeString[ 0 ] = '\0';
new
new
level = ( listitem + 1 );
if ( p_AdminLevel[ playerid ] < level )
@ -208,7 +208,7 @@ hook OnDialogResponse( playerid, dialogid, response, listitem, inputtext[ ] )
for (new iLine = 0; iLine < sizeof( g_CommandData ); iLine ++ ) if ( g_CommandData[ iLine ][ E_LEVEL ] == level )
{
format( szHugeString, sizeof( szHugeString ), "%s"COL_GREY"%s\t"COL_WHITE"%s\n",
format( szHugeString, sizeof( szHugeString ), "%s"COL_GREY"%s\t"COL_WHITE"%s\n",
szHugeString,
g_CommandData[ iLine ][ E_COMMAND ],
g_CommandData[ iLine ][ E_DESCRIPTION ]);

View File

@ -395,7 +395,7 @@ CMD:vip( playerid, params[ ] )
if ( vip_description[ 0 ] == '\0' ) {
vip_description = " \t"COL_WHITE"Regular VIP\t"COL_BRONZE"Bronze VIP\t"COL_GOLD"Gold V.I.P\n";
strcat( vip_description, ""COL_GREEN"Price (USD)\t"COL_WHITE"$5.00 /mo\t"COL_BRONZE"$10.00 /mo\t"COL_GOLD"$20.00 /mo\n" );
strcat( vip_description, ""COL_GREEN"Price (USD)\t"COL_WHITE"$5.00 /mo\t"COL_BRONZE"$10.00 /mo\t"COL_GOLD"$18.00 /mo\n" );
strcat( vip_description, "Total house slots\t5\t10\tunlimited\n" );
strcat( vip_description, "Total garage slots*\t5\t10\tunlimited\n" );
strcat( vip_description, "Total business slots\t5\t10\tunlimited\n" );

View File

@ -16,7 +16,7 @@
#pragma option -d3
#pragma dynamic 7200000
#define DEBUG_MODE
//#define DEBUG_MODE
#if defined DEBUG_MODE
#pragma option -d3

View File

@ -2,6 +2,9 @@
(+) Adds passive mode (togglable via /settings). Disables random death matching as an innocent player.
(+) You can now disable automatic weapon pickup through /settings.
(+) Admins can now track the hitmarker of spectating players.
(+) /acmds is now entirely based off dialogs thanks to Stev.
(/) Gold V.I.P costs no more than $18.00 USD a month (1,800 IC).
(/) Shark cards have been reduced by 10% in price, and a lot of the other items have also been reduced.
(/) If you successfully break your cuffs, you get immunity from being tazed for 10 seconds.
(/) Default 25% success rate breaking cuffs... Increases with more police in the server.
(/) Default 20% success rate breaking cuffs... Increases with more police in the server.
(/) Simplified "/cp" (alternatively, /settings) dialog.