diff --git a/gamemodes/irresistible/cnr/classes.pwn b/gamemodes/irresistible/cnr/classes.pwn index 74e17a8..ca694db 100644 --- a/gamemodes/irresistible/cnr/classes.pwn +++ b/gamemodes/irresistible/cnr/classes.pwn @@ -17,6 +17,14 @@ #define CLASS_FIREMAN ( 2 ) #define CLASS_MEDIC ( 3 ) +/* ** Constants ** */ +const + Float: default_X = -2242.152, + Float: default_Y = 759.0619, + Float: default_Z = 30.0, + Float: default_Angle = 0.0 +; + /* ** Variables ** */ stock const CLASS_NAMES [ ] [ ] = { "Civilian", "Police", "FBI", "Army", "CIA", "Paramedic", "Fireman" }; stock const CLASS_COLORS [ ] = { 0xC0C0C0FF, 0x3E7EFFFF, 0x0035FFFF, 0x954BFFFF, 0x191970FF, 0x4DFF4DFF, 0xA83434FF }; diff --git a/gamemodes/irresistible/cnr/features/visage/blackjack.pwn b/gamemodes/irresistible/cnr/features/visage/blackjack.pwn index 61653cc..b94e739 100644 --- a/gamemodes/irresistible/cnr/features/visage/blackjack.pwn +++ b/gamemodes/irresistible/cnr/features/visage/blackjack.pwn @@ -733,8 +733,6 @@ stock initializeBlackjackTextdraws( id ) TextDrawUseBox( g_blackjackPlayerCards[ id ] [ c ] [ p ], 1 ); TextDrawBoxColor( g_blackjackPlayerCards[ id ] [ c ] [ p ], 255 ); TextDrawTextSize( g_blackjackPlayerCards[ id ] [ c ] [ p ], 22.000000, 37.000000 ); - - printf("%d", _:g_blackjackPlayerCards[ id ] [ c ] [ p ]); } } diff --git a/gamemodes/irresistible/cnr/features/visage/roulette.pwn b/gamemodes/irresistible/cnr/features/visage/roulette.pwn index a085c0e..879e929 100644 --- a/gamemodes/irresistible/cnr/features/visage/roulette.pwn +++ b/gamemodes/irresistible/cnr/features/visage/roulette.pwn @@ -102,8 +102,8 @@ new g_rouletteTableData [ MAX_ROULETTE_TABLES ] [ E_ROULETTE_DATA ], Iterator: roulettetables < MAX_ROULETTE_TABLES >, - Text: g_rouletteNumberBG [ MAX_ROULETTE_TABLES ], - Text: g_rouletteNumberTD [ MAX_ROULETTE_TABLES ], + Text: g_rouletteNumberBG [ MAX_ROULETTE_TABLES ], + Text: g_rouletteNumberTD [ MAX_ROULETTE_TABLES ], g_rouletteChipColor [ MAX_PLAYERS ], g_rouletteChip [ MAX_PLAYERS ] [ 2 ] [ sizeof( g_rouletteOffsets ) ], diff --git a/gamemodes/irresistible/cnr/textdraws.pwn b/gamemodes/irresistible/cnr/textdraws.pwn index 89a4344..b49e6e6 100644 --- a/gamemodes/irresistible/cnr/textdraws.pwn +++ b/gamemodes/irresistible/cnr/textdraws.pwn @@ -643,6 +643,7 @@ hook OnPlayerConnect( playerid ) return Y_HOOKS_CONTINUE_RETURN_1; } + /* ** Hooked Functions ** */ /*stock Text: TD_TextDrawCreate( Float: x, Float: y, text[ ] ) { diff --git a/gamemodes/sf-cnr.pwn b/gamemodes/sf-cnr.pwn index 5fee4e1..c6e04ca 100644 --- a/gamemodes/sf-cnr.pwn +++ b/gamemodes/sf-cnr.pwn @@ -16,7 +16,7 @@ #pragma option -d3 #pragma dynamic 7200000 -//#define DEBUG_MODE +#define DEBUG_MODE #if defined DEBUG_MODE #pragma option -d3 @@ -79,7 +79,6 @@ new bool: False = false; #define IsPlayerLorenc(%0) (p_AccountID[%0]==1) #define Achievement:: ach_ #define UpdateWoodStockObject() (format(szNormalString,32,"%d Logs Ready",g_LogsInStock),SetDynamicObjectMaterialText(g_LogCountObject,0,szNormalString,130,"Arial",0,1,-1,0,1)) -#define replacePercentageSymbol(%0) strreplacechar(szString,'%','#') #define IsPlayerInEntrance(%0,%1) (p_LastEnteredEntrance[%0]==(%1)) #define IsPlayerInPlayerGang(%0,%1) (p_Class[%0] == p_Class[%1] && p_Class[%0] == CLASS_CIVILIAN && p_GangID[%0] == p_GangID[%1] && p_GangID[%0] != INVALID_GANG_ID) #define IsPlayerNpcEx(%0) (IsPlayerNPC(%0) || strmatch(p_PlayerIP[%0], "127.0.0.1")) @@ -124,13 +123,6 @@ new bool: False = false; #define VW_SHAMAL 220 -const - Float: default_X = -2242.152, - Float: default_Y = 759.0619, - Float: default_Z = 30.0, - Float: default_Angle = 0.0 -; - /* ** Donation System ** */ #define szRedemptionSalt "7resta#ecacakumedeM=yespawr!d@et" enum E_DONATION_DATA