Thread: Don't compile
View Single Post
Author Message
GaBy96
Member
Join Date: Oct 2012
Location: Spain
Old 11-21-2020 , 01:44   Don't compile
Reply With Quote #1

I have this plugin:
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fakemeta>
#include <engine>
#include <nvault>
#include <xs>
#include <csgomod>

#define PLUGIN "CS1.6Bet.com"
#define AUTHOR "EFFx" // Coinflip and jackpot roll system code by Natsheh - https://forums.alliedmods.net/member.php?u=198418

#if AMXX_VERSION_NUM < 183
#define MAX_PLAYERS 32
#endif

#define ADMIN_ACCESS            ADMIN_IMMUNITY

const TASK_ROULETTE =             3133
const TASK_DICE =            3134
const TASK_CRASH =            3135
const TASK_CRASH_MENU =            3136
const TASK_LIST =            3137
const TASK_COUNTDOWN =            3138
const MAX_MONEY =            16000
const g_iOneDayInSeconds =        86400

new const g_szCoinModel[] =        "models/coin.mdl"
new const g_szCoinClassName[] =        "coin"

enum Positions
{
    
X,
    
Y
}

enum hSyncs
{
    
Roulling,
    
Numbers,
    
BestPredictor,
    
CrashTime,
    
Crashed,
    
Won,
    
Lost,
    
Tails,
    
Heads
}

enum dPlayerDatas
{
    
bool:bIsBetting,
    
bool:bCanUseDailyWheel,
    
bool:bIsJackpotGambler,
    
iMoneyBetted,
    
iDayWins,
    
iTimes,
    
iLastBet,
    
iTimesWon,
    
iBetTimes,
    
iTimesLose,
    
iRouletteBets,
    
iDiceBets,
    
iCrashBets,
    
iJackpotsBets,
    
iCoinflipBets,
    
iAutoCrashout,
    
iMostWonValue,
    
iMostLoseValue,
    
iDailyWheelTimesUsed,
    
iCoinSide,
    
iJackpotMoneyBetted,
    
Float:fRouletteTime,
    
Float:fCrashTimes,
    
szMostWonGame[MAX_PLAYERS],
    
szMostLostGame[MAX_PLAYERS]
}

enum cPcvars
{
    
pCvarMinTimesToUseDailyWheel,
    
pCvarRouletteMultiplier,
    
pCvarDiceMultiplier,
    
pCvarRoulette,
    
pCvarDice,
    
pCvarCrash,
    
pCvarJackpot,
    
pCvarSponsorAdmin,
    
pCvarMinPlayersToStart,
    
pCvarMinBet
    
pCvarMaxBet,
    
pCvarCoinflip,
    
pCvarRollType,
    
pCvarRollTime
}

new 
g_dPlayerData[MAX_PLAYERS 1][dPlayerDatas], pCvars[cPcvars]
new 
g_iSequence[Positions], g_iBestPredictorg_iPredictorWinsg_hSync[hSyncs], g_szPredictorName[MAX_PLAYERS]
new 
g_nVaultBetgMsgSayText

const MAX_CHANCES 100
new chances_reserved[MAX_CHANCES][MAX_PLAYERS], g_iJackpotMoney

new g_fwPreThinkPostTrie:g_tUserChance
new g_iEntity[MAX_PLAYERS 1]

new 
g_iValueBettedbool:g_bIsRollingg_iCount

new const g_szChatPrefix[] = "^x04[Gox Casino]^x01"

public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)

    
g_nVaultBet nvault_open("Bet_Times")
    if(
g_nVaultBet == INVALID_HANDLE)
    {
        
set_fail_state("Nvault save file was not opened, failing the plugin..")
    }
    
    
g_tUserChance TrieCreate()
    
gMsgSayText get_user_msgid("SayText")
    
    
pCvars[pCvarMinTimesToUseDailyWheel] = register_cvar("bet_minbets_to_daily""50")
    
pCvars[pCvarRouletteMultiplier] = register_cvar("bet_roulette_multiplier""2")
    
pCvars[pCvarDiceMultiplier] = register_cvar("bet_dice_multiplier""2")
    
pCvars[pCvarRoulette] = register_cvar("bet_roulette""1")
    
pCvars[pCvarJackpot] = register_cvar("bet_jackpot""1")
    
pCvars[pCvarCoinflip] = register_cvar("bet_coinflip""1")
    
pCvars[pCvarRollTime] = register_cvar("bet_roll_time_seconds""60")
    
pCvars[pCvarRollType] = register_cvar("bet_roll_type""1")
    
pCvars[pCvarMinPlayersToStart] = register_cvar("bet_jp_minplayers_to_roll""15")
    
pCvars[pCvarMinBet] = register_cvar("bet_jp_minbet""1000")
    
pCvars[pCvarMaxBet] = register_cvar("bet_jp_maxbet""16000")
    
pCvars[pCvarDice] = register_cvar("bet_dice""1")
    
pCvars[pCvarCrash] = register_cvar("bet_crash""1")
    
pCvars[pCvarSponsorAdmin] = register_cvar("bet_sponsor_admin""a")

    for(new 
isizeof g_hSync;i++)
    {
        
g_hSync[hSyncs:i] = CreateHudSyncObj()
    }

    
register_concmd("amx_allow_daily""cmdAllowDaily"ADMIN_ACCESS"<name or #userid> - Player will be able to use daily wheel!")
    
register_concmd("amx_reset_data""cmdResetData"ADMIN_ACCESS"- Reset nvault data")
    
    
register_clcmd("say""cmdSay")
    
register_clcmd("AutoCrashoutValue""cmdCrashOutValue")
    
register_clcmd("jackpot_bet""cmdBetValue")
    
register_clcmd("enter_coin_bet""clcmd_coinbet")
    
    
set_task(1.0"showBestWinner", .flags "b")
}

public 
plugin_precache()
{
    
precache_model(g_szCoinModel)
}

public 
plugin_end()
{
    
nvault_close(g_nVaultBet)
    
TrieDestroy(g_tUserChance)
}

public 
client_disconnected(id)
{
    
savePlayerBets(id)
    
checkPlayerTasks(id)
}

public 
client_putinserver(id)
{
    
loadPlayerBets(id)
}

public 
cmdAllowDaily(idlevelcid)
{
    if(!
cmd_access(idlevelcid1))
        return 
PLUGIN_HANDLED
        
    
new szTarget[MAX_PLAYERS]
    
read_argv(1szTargetcharsmax(szTarget))
    
    new 
iTarget cmd_target(idszTargetCMDTARGET_NO_BOTS)
    if(!
iTarget)
    {
        return 
PLUGIN_HANDLED
    
}
    
    new 
szAdminName[MAX_PLAYERS], szTargetName[MAX_PLAYERS]
    
get_user_name(iTargetszTargetNamecharsmax(szTargetName))
    
get_user_name(idszAdminNamecharsmax(szAdminName))
    
    if(
g_dPlayerData[iTarget][bCanUseDailyWheel])
    {
        
console_print(id"%s already can use the daily wheel!"szTargetName)
        return 
PLUGIN_HANDLED
    
}
    
    
g_dPlayerData[iTarget][bCanUseDailyWheel] = true
    ChatColor
(id"Admin^x04 %s^x01 enabled the daily wheel for^x04 %s^x01."szAdminNameszTargetName)
    return 
PLUGIN_HANDLED
}

public 
cmdResetData(idlevelcid)
{
    if(!
cmd_access(idlevelcid1))
        return 
PLUGIN_HANDLED
        
    
new szAdminName[MAX_PLAYERS]
    
get_user_name(idszAdminNamecharsmax(szAdminName))
    
    
nvault_prune(g_nVaultBet0get_systime() + 1)
    
    new 
iPlayers[MAX_PLAYERS], iNum
    get_players
(iPlayersiNum)
    for(new 
iPlayeri;iNum;i++)
    {
        
iPlayer iPlayers[i]
        
        
g_dPlayerData[iPlayer][iBetTimes] = 0
        g_dPlayerData
[iPlayer][iMostLoseValue] = 0
        g_dPlayerData
[iPlayer][iMostWonValue] = 0
        g_dPlayerData
[iPlayer][iLastBet] = 0
        g_dPlayerData
[iPlayer][iDailyWheelTimesUsed] = 0
        g_dPlayerData
[iPlayer][iDiceBets] = 0
        g_dPlayerData
[iPlayer][iCrashBets] = 0
        g_dPlayerData
[iPlayer][iJackpotsBets] = 0
        g_dPlayerData
[iPlayer][iCoinflipBets] = 0
        g_dPlayerData
[iPlayer][iDayWins] = 0
        g_dPlayerData
[iPlayer][iRouletteBets] = 0
        g_dPlayerData
[iPlayer][iTimesLose] = 0
        g_dPlayerData
[iPlayer][iTimesWon] = 0
        g_dPlayerData
[iPlayer][bCanUseDailyWheel] = true
        
        g_dPlayerData
[iPlayer][szMostLostGame] = EOS
        g_dPlayerData
[iPlayer][szMostWonGame] = EOS
    
}
    
ChatColor(id"Admin^x04 %s^x01 has reseted all player's bet data."szAdminName)
    return 
PLUGIN_HANDLED
}

public 
cmdCrashOutValue(id)
{
    new 
szValue[5]
    
read_argv(1szValuecharsmax(szValue))
    
remove_quotes(szValue)
    
    new 
iValue str_to_num(szValue)
    if(!
iValue || iValue == 1)
    {
        
client_cmd(id"messagemode AutoCrashoutValue")
        
ChatColor(id"You must set a value that's more than 1!")
        return 
PLUGIN_HANDLED
    
}
    
    
g_dPlayerData[id][iAutoCrashout] = iValue
    ChatColor
(id"Auto crashout changed to^x04 %d^x01"g_dPlayerData[id][iAutoCrashout])
    
set_task(0.75"cmdCrashMenu"id TASK_CRASH_MENU)
    return 
PLUGIN_HANDLED
}

public 
cmdSay(id)
{
    new 
szSay[18]
    
read_args(szSaycharsmax(szSay))
    
remove_quotes(szSay)

    if(
szSay[0] == '/')
    {
        new 
szCommand[15], szValue[MAX_PLAYERS]
        
argbreak(szSayszCommandcharsmax(szCommand), szValuecharsmax(szValue))
        new 
iMoneyBet str_to_num(szValue)

        if(
equal(szCommand"/roulette"))
        {
            if(
canBet(idiMoneyBetfalsetrueget_pcvar_num(pCvars[pCvarRoulette])))
            {    
                
g_dPlayerData[id][iBetTimes]++
                
g_dPlayerData[id][iRouletteBets]++
                
                
set_task(2.0"cmdStartRolling"id TASK_ROULETTE)
            }
            return 
PLUGIN_HANDLED
        
}
        else if(
equal(szCommand"/dice"))
        {
            if(
canBet(idiMoneyBetfalsetrueget_pcvar_num(pCvars[pCvarDice])))
            {
                
g_dPlayerData[id][iBetTimes]++
                
g_dPlayerData[id][iDiceBets]++
                
                
set_task(2.0"cmdDice"id TASK_DICE)
            }
            return 
PLUGIN_HANDLED
        
}
        else if(
equal(szCommand"/crash"))
        {
            if(
canBet(idiMoneyBettrue, .iCvarCheck get_pcvar_num(pCvars[pCvarCrash])))
            {
                
set_task(2.1"cmdCrashMenu"id TASK_CRASH_MENU)
            }
            return 
PLUGIN_HANDLED
        
}
        else if(
equal(szCommand"/jackpot"))
        {
            if(!
get_pcvar_num(pCvars[pCvarJackpot]))
            {
                
ChatColor(id"This game is currently disabled!")
                return 
PLUGIN_HANDLED
            
}
            else if(!
is_user_alive(id))
            {
                
ChatColor(id"You must be alive!")
                return 
PLUGIN_HANDLED
            
}
            
cmdJackpot(id)
            return 
PLUGIN_HANDLED
        
}
        else if(
equal(szCommand"/coinflip"))
        {
            if(!
get_pcvar_num(pCvars[pCvarCoinflip]))
            {
                
ChatColor(id"This game is currently disabled!")
                return 
PLUGIN_HANDLED
            
}
            else if(!
is_user_alive(id))
            {
                
ChatColor(id"You must be alive!")
                return 
PLUGIN_HANDLED
            
}
            
clcmd_stack_menu(id)
            return 
PLUGIN_HANDLED
        
}
        else if(
equal(szCommand"/betstatus"))
        {
            if(!
szValue[0])
            {
                
ChatColor(id"Use /betstatus me or /betstatus <target name>.")
                return 
PLUGIN_HANDLED
            
}
            
            if(
equal(szValue"me"))
            {
                
showStatus(idid)
                return 
PLUGIN_HANDLED
            
}
            else
            {
                new 
iTarget cmd_target(idszValue, (CMDTARGET_ALLOW_SELF CMDTARGET_NO_BOTS))
                if(!
iTarget)
                {
                    return 
PLUGIN_HANDLED
                
}
                
showStatus(idiTarget)
                return 
PLUGIN_HANDLED
            
}
        }
        else if(
equal(szCommand"/dailywheel"))
        {
            
CheckIfIsTimeToWheel(id)
            return 
PLUGIN_HANDLED
        
}
    }
    return 
PLUGIN_CONTINUE
}

public 
cmdJackpot(id)
{    
    new 
szFormat[75]
    
formatex(szFormatcharsmax(szFormat), "Jackpot Menu^n\d- Current jackpot: %d"g_iValueBetted)
    new 
iMenu menu_create(szFormat"jackpot_handler")
    
    
menu_additem(iMenu"Join Jackpot^n\d - Bet a value to join!")
    
menu_additem(iMenu"Gamblers' Chance^n\d - Check gamblers' chance!")
    
menu_additem(iMenu"Get out the pot^n\d- Get outta this round!")
    
menu_display(idiMenu)
    return 
PLUGIN_HANDLED
}

public 
jackpot_handler(idiMenuiItem)
{
    if(
iItem == MENU_EXIT)
    {
        
menu_destroy(iMenu)
        return 
PLUGIN_HANDLED
    
}
    
    switch(
iItem)
    {
        case 
0:
        {
            if(
g_dPlayerData[id][bIsJackpotGambler])
            {
                
ChatColor(id"You have already joined!")
                
menu_display(idiMenu)
                return 
PLUGIN_HANDLED
            
}
            else if(
g_bIsRolling)
            {
                
ChatColor(id"The jackpot is rolling, you cannot now.")
                
menu_display(idiMenu)
                return 
PLUGIN_HANDLED
            
}
            
client_cmd(id"messagemode jackpot_bet")
            
client_print(idprint_center"Type the value that you wanna bet!")
        }
        case 
1:
        {
            if(!
g_iCount)
            {
                
ChatColor(id"There's no bets!")
                
menu_display(idiMenu)
                return 
PLUGIN_HANDLED
            
}
            
showPlayersChanceMenu(id)
        }
        case 
2:
        {
            if(!
g_dPlayerData[id][bIsJackpotGambler])
            {
                
ChatColor(id"You haven't joined!")
                
menu_display(idiMenu)
                return 
PLUGIN_HANDLED
            
}
            else if(
g_bIsRolling)
            {
                
ChatColor(id"The jackpot is rolling, you cannot now.")
                
menu_display(idiMenu)
                return 
PLUGIN_HANDLED
            
}

            
csgo_set_money(idcsgo_add_money(id) + g_dPlayerData[id][iJackpotMoneyBetted])

            
g_dPlayerData[id][iBetTimes]--
            
g_dPlayerData[id][iJackpotsBets]--
            
g_dPlayerData[id][bIsJackpotGambler] = false

            g_iCount
--
            
g_iValueBetted -= g_dPlayerData[id][iJackpotMoneyBetted]

            new 
szName[MAX_PLAYERS]
            
get_user_name(idszNamecharsmax(szName))
            
ChatColor(0"^x03%s^x01 has abandoned the pot!"szName)
        }
    }
    
menu_destroy(iMenu)
    return 
PLUGIN_HANDLED
}

public 
showPlayersChanceMenu(id)
{
    new 
szFormat[100], iMenu menu_create("Players Chance^n\d- Check player's chance here!""chance_handler")
    
    new 
iPlayers[MAX_PLAYERS], iNumtempid
    get_players
(iPlayersiNum)
    for(new 
iiChanceszAuthid[35], szName[MAX_PLAYERS];iNumi++)
    {
        
tempid iPlayers[i]
    
        if(
g_dPlayerData[tempid][bIsJackpotGambler])
        {
            
get_user_authid(tempidszAuthidcharsmax(szAuthid))
            
TrieGetCell(g_tUserChanceszAuthidiChance)
            
            
get_user_name(tempidszNamecharsmax(szName))
            
formatex(szFormatcharsmax(szFormat), "\r%s\w with\y %d%%"szNameiChance)
        
            
menu_additem(iMenuszFormat)
        }
    }
    
menu_display(idiMenu)
}

public 
chance_handler(idiMenu)
{
    
menu_destroy(iMenu)
}

public 
cmdBetValue(id)
{
    new 
szValue[6]
    
read_argv(1szValuecharsmax(szValue))
    new 
iValue str_to_num(szValue), iUserMoney csgo_add_money(id)
    
    new 
iCvarMinBet get_pcvar_num(pCvars[pCvarMinBet])
    new 
iCvarMaxBet get_pcvar_num(pCvars[pCvarMaxBet])
    
    if(
iValue <= 0)
    {
        
ChatColor(id"You must use a value that's more than 0")
        return 
PLUGIN_HANDLED
    
}
    else if(
iValue iUserMoney)
    {
        
ChatColor(id"You do not have enough money!")
        return 
PLUGIN_HANDLED
    
}
    else if(
iValue iCvarMinBet)
    {
        
ChatColor(id"You must use a value that's more than^x04 %d"iCvarMinBet)
        return 
PLUGIN_HANDLED
    
}
    else if(
iValue iCvarMaxBet)
    {
        
ChatColor(id"You must use a value that's less than^x04 %d"iCvarMaxBet)
        return 
PLUGIN_HANDLED
    
}
    else
    {
        
csgo_set_money(id, (iUserMoney iValue))
        
        
g_iCount++
        
g_iValueBetted += iValue
        
        
new Float:fTempMoney float(g_iJackpotMoney)
        
fTempMoney += float(iValue)
        
        
g_dPlayerData[id][iJackpotMoneyBetted] += iValue
        g_dPlayerData
[id][iBetTimes]++
        
g_dPlayerData[id][iJackpotsBets]++
        
g_dPlayerData[id][bIsJackpotGambler] = true

        
new szAuthid[MAX_PLAYERS], szName[MAX_PLAYERS]
        
get_user_authid(idszAuthidcharsmax(szAuthid))
        
get_user_name(idszNamecharsmax(szName))
    
        new 
iChance
        
for(new istartiChancesjg_iCounti++)
        {
            
iChance floatround((iValue fTempMoney) * MAX_CHANCES)
            
iChances += iChance
            TrieSetCell
(g_tUserChanceszAuthidiChance)
            
            if(
iChances MAX_CHANCES
            {
                
iChances MAX_CHANCES
            
}
            
            for(
startiChances <= MAX_CHANCESj++)
            {
                
chances_reserved[j] = szAuthid
            
}
            
            
start iChances
        
}
        
        
ChatColor(0"Player^x04 %s^x01 has joined the jackpot betting^x04 %d$^x01 with^x04 %d%%^x01 chance!"szNameiValueiChance)
        
        if(
checkPlayersInJackpot() == 1)
        {
            if(!
task_exists(TASK_LIST))
            {
                
set_task(1.0"showPlayersList"TASK_LIST, .flags "b")
            }
        }        
    }
    return 
PLUGIN_HANDLED
}

public 
showPlayersList()
{
    static 
iRollTime
    
    
if(!checkPlayersInJackpot())
    {
        
iRollTime 0
        ChatColor
(0"There's no jackpot gamblers, ending this round...")
        
resetData(0)
        return
    }

    new 
szHud[75]

    switch(
get_pcvar_num(pCvars[pCvarRollType]))
    {
        case 
0:
        {
            new 
iPlayersNeeded get_pcvar_num(pCvars[pCvarMinPlayersToStart])
            if(
checkPlayersInJackpot() >= iPlayersNeeded)
            {
                
g_bIsRolling true
                
                set_task
(1.0"rollMsg", .flags "a", .repeat 4)
                
remove_task(TASK_LIST)
            }
            else
            {
                
formatex(szHudcharsmax(szHud), "%d of %d players needed^nto roll!"checkPlayersInJackpot(), iPlayersNeeded)
            }
        }
        default:
        {
            new 
szTime[10]

            if(!
iRollTime)
            {
                
iRollTime get_pcvar_num(pCvars[pCvarRollTime])
            }
            
            if(--
iRollTime == 1)
            {
                if(
checkPlayersInJackpot() == 1)
                {
                    
ChatColor(0"The jackpot needs more than 1 gambler to roll. Ending that round...")
                    
resetData(1)
                }
                else
                {
                    
g_bIsRolling true
                    set_task
(1.0"rollMsg", .flags "a", .repeat 4)
                }
                
                
remove_task(TASK_LIST)
            }

            
format_time(szTimecharsmax(szTime), "%M:%S"iRollTime)
            
formatex(szHudcharsmax(szHud), "Jackpot will roll in^n        %s^nPot value: %d"szTimeg_iValueBetted)
            
        }
    }
    
    
set_hudmessage(020000.750.1001.01.0)
    
show_hudmessage(0szHud)
}

public 
rollMsg()
{
    static 
iTime
    
if(!iTime)
    {
        
iTime 4
                
        ChatColor
(0"Rolling...")
        
set_task(3.8"roll")
    }
    
set_hudmessage(020000.750.1001.01.0)
    
show_hudmessage(0"Rolling in %d..."iTime--)
}

public 
roll()
{
    new 
iRand random(MAX_CHANCES), iRandomPlayer is_user_connected_byauthid(chances_reserved[iRand])
    
    if(!
iRandomPlayer)
    {
        
ChatColor(0"Invalid winner. Choosing another one...")
        
set_task(2.0"roll")
        return
    }
    
    
setUserMoney(iRandomPlayerg_iValueBetted"Jackpot")
    
    new 
iPlayers[MAX_PLAYERS], iNumid
    get_players
(iPlayersiNum)
    for(new 
i;iNumi++)
    {
        
id iPlayers[i]
        
        if(
id != iRandomPlayer && g_dPlayerData[id][bIsJackpotGambler])
        {
            
setSett(id0"Jackpot")
        }
    }

    
resetData(0)
}

public 
clcmd_coinbet(id)
{
    if(
g_dPlayerData[id][bIsBetting]) 
    {
        
ChatColor(id"You're already betting!")
        return 
PLUGIN_HANDLED
    
}
    
    new 
szArgs[30]
    
read_args(szArgscharsmax(szArgs))
    
remove_quotes(szArgs)
    
    new 
iAmount str_to_num(szArgs)
    if(
iAmount <= 0)
    {
        
ChatColor(id"You must use a value that's more than 0")
        return 
PLUGIN_HANDLED
    
}
    else if(
iAmount csgo_add_money(id)) 
    {
        
ChatColor(id"You do not have enough money!")
        return 
PLUGIN_HANDLED
    
}
    else 
    {
        
g_dPlayerData[id][iMoneyBetted] = iAmount
        clcmd_stack_menu
(id)
    }
    return 
PLUGIN_HANDLED
}

public 
clcmd_stack_menu(id)
{
    if(
g_dPlayerData[id][bIsBetting]) 
    {
        
ChatColor(id"You're already betting!")
        return 
PLUGIN_HANDLED
    
}
    
    new 
menu menu_create("\rCoin Challenge^n\d- Choose your stack!""coin_menu_handle")
    
    new 
szText[60]
    
formatex(szTextcharsmax(szText), "\wChoose your Stack: \r%d$^n\d- How much do ya wanna bet?"g_dPlayerData[id][iMoneyBetted])
    
menu_additem(menuszText"STACK")
    
menu_additem(menu"\rReady!^n\d- Lets challenge someone?!""STACK")
    
    
menu_display(idmenu)
    return 
PLUGIN_HANDLED
}

public 
clclmd_coin_menu(id)
{
    if(!
g_dPlayerData[id][iMoneyBetted])
    {
        
ChatColor(id"Choose your stack!")
        return 
PLUGIN_HANDLED
    
}
    
    new 
iMenu menu_create("\rCoin Challenge^n\yChoose your opponent!""coin_menu_handle")
    
    new 
iPlayers[MAX_PLAYERS], iNum
    get_players
(iPlayersiNum)
    
    for(new 
iszName[MAX_PLAYERS], playerszInfo[3]; iNumi++)
    {
        
player iPlayers[i]
        
        if(
player == id || g_dPlayerData[player][bIsBetting]) 
        {
            continue
        }
        
        
get_user_name(playerszNamecharsmax(szName))
        
num_to_str(playerszInfocharsmax(szInfo))
        
menu_additem(iMenuszNameszInfo)
    }
    
    
menu_display(idiMenu)
    return 
PLUGIN_HANDLED
}

public 
coin_menu_handle(idiMenuiItem)
{
    if(
iItem == MENU_EXIT || g_dPlayerData[id][bIsBetting])
    {
        
menu_destroy(iMenu)
        return 
PLUGIN_HANDLED
    
}
    
    new 
sData[12], iAccessiCallback
    menu_item_getinfo
(iMenuiItemiAccesssDatacharsmax(sData), ""0iCallback)
    
menu_destroy(iMenu)
    
    if(
equal(sData"STACK"))
    {
        switch(
iItem)
        {
            case 
0:
            {
                
client_print(idprint_center"Choose an amount of money above than zero!")
                
client_cmd(id"messagemode enter_coin_bet")
            }
            case 
1
            {
                
clclmd_coin_menu(id)
            }
        }
        
        return 
PLUGIN_HANDLED
    
}
    
    if(
equal(sData"DUEL"4))
    {    
        
strtok(sData""0sDatacharsmax(sData), '|')
        
        new 
player str_to_num(sData)
        if(!
player || g_dPlayerData[player][bIsBetting]) 
        {
            
clclmd_coin_menu(id)
            return 
PLUGIN_HANDLED
        
}
        
        new 
szPlayerName[MAX_PLAYERS], szTargetName[MAX_PLAYERS]
        
get_user_name(playerszTargetNamecharsmax(szTargetName))
        
get_user_name(idszPlayerNamecharsmax(szPlayerName))
        
        switch(
iItem)
        {
            case 
0:
            {
                
ChatColor(0"^x03%s^x01 vs.^x03 %s^x01 in coin flip challenge!"szTargetNameszPlayerName)
                
                new 
iRandomValue random_num(12), bool:bChanceX bool:(iRandomValue == 1)
                
                
set_hudmessage(10123638, -1.00.3406.04.0)
                
show_hudmessage(bChanceX id playerg_hSync[Tails], "You are Tails!")
                
                
set_hudmessage(10123638, -1.00.3406.04.0)
                
show_hudmessage(bChanceX player idg_hSync[Heads], "You are Heads!")
                
                if(!
get_challengers_num() && !g_fwPreThinkPost)
                {
                    
g_fwPreThinkPost register_forward(FM_PlayerPreThink"fw_client_prethink_post"1)
                }
                
                
g_dPlayerData[id][bIsBetting] = true
                g_dPlayerData
[id][iBetTimes]++
                
g_dPlayerData[id][iCoinflipBets]++
                
                
setData(idg_dPlayerData[id][iMoneyBetted], false)
                
setData(playerg_dPlayerData[id][iMoneyBetted], false)
                
                
g_dPlayerData[player][iCoinflipBets]++
                
g_dPlayerData[player][bIsBetting] = true
                g_dPlayerData
[player][iBetTimes]++
                
                new 
iOppositeValue[2]
                
iOppositeValue[0] = bChanceX 1
                iOppositeValue
[1] = bChanceX 2
                
                remove_task
(TASK_COUNTDOWN)
                
                
g_dPlayerData[id][iCoinSide] = iOppositeValue[0]
                
g_dPlayerData[player][iCoinSide] = iOppositeValue[1]
                
                
display_coin(idiOppositeValue[0])
                
display_coin(playeriOppositeValue[1])
                
                
ChatColor(0"^x03%s^x01 is^x04 tails^x01 &^x03 %s^x01 is^x04 heads!"bChanceX szPlayerName szTargetNamebChanceX szTargetName szPlayerName)
            }
            case 
1:
            {
                
remove_task(TASK_COUNTDOWN)
                
ChatColor(player"^x03%s^x01 has denied your coin challenge!"szPlayerName)
            }
        }
        return 
PLUGIN_HANDLED
    
}
        
    new 
player str_to_num(sData)
    if(!
player || g_dPlayerData[player][bIsBetting]) 
    {
        
clclmd_coin_menu(id)
        return 
PLUGIN_HANDLED
    
}
        
    
ChatColor(id"Waiting the target to accept!")
    
    
coin_menu_duel(idplayer)
    return 
PLUGIN_HANDLED
}

public 
countdown(iData[3])
{
    new 
id iData[0]
    new 
iTarget iData[1]
    new 
iMenu iData[2]

    static 
iTime
    
    
new szTargetName[MAX_PLAYERS]
    
get_user_name(iTargetszTargetNamecharsmax(szTargetName))
    
    if(!
is_user_connected(iTarget))
    {
        
ChatColor(id"%s has disconnected!"szTargetName)
        
        
iTime 0
        g_dPlayerData
[id][bIsBetting] = false

        remove_task
(TASK_COUNTDOWN)
        return
    }
    
    if(!
iTime)
    {
        
iTime 8
    
}
    
set_hudmessage(02550, -1.00.3001.01.0)
    
show_hudmessage(iTarget"%d second%s to auto-deny the challenge!"iTime--, (iTime 1) ? "s" "")
    
    if(!
iTime)
    {
        
menu_destroy(iMenu)
        
        
remove_task(TASK_COUNTDOWN)    
        
g_dPlayerData[id][bIsBetting] = false
        g_dPlayerData
[iTarget][bIsBetting] = false
        
        ChatColor
(id"^x03%s^x01 has denied your coin challenge!"szTargetName)
        
ChatColor(iTarget"You didn't select any option, menu destroyed.")
    }
}

public 
coin_menu_duel(idtarget)
{    
    new 
szText[MAX_PLAYERS 2], szName[MAX_PLAYERS]
    
get_user_name(idszNamecharsmax(szName))
    
    
formatex(szTextcharsmax(szText), "\w%s has Challenged you for \r%d$^n\yIn a coin flip game!^n"szNameg_dPlayerData[id][iMoneyBetted])
    new 
iMenu menu_create(szText"coin_menu_handle")
    
    
formatex(szTextcharsmax(szText), "DUEL|%d"id)
    
menu_additem(iMenu"Accept the Challenge!"szText)
    
menu_additem(iMenu"Deny the Challenge!"szText)
    
    
menu_setprop(iMenuMPROP_EXITMEXIT_NEVER)
    
    
menu_display(targetiMenu)
    
    new 
iData[3]
    
iData[0] = id
    iData
[1] = target
    iData
[2] = iMenu
    
    set_task
(1.0"countdown"TASK_COUNTDOWNiDatasizeof iData"b")
}

public 
task_chosen_side(const ent)
{
    new 
classname[6]
    
pev(entpev_classnameclassname ,charsmax(classname))
    
    if(!
pev_valid(ent) || !equal(classnameg_szCoinClassName)) 
    {
        return
    }
    
    
set_pev(entpev_sequence0)
    
set_pev(entpev_frame1.0)
    
set_pev(entpev_framerate1.0)
    if(
pev(entpev_iuser4) == 2
    {
        
set_pev(entpev_iuser31)
    }

    new 
iOwner pev(entpev_iuser2)
    
    switch(
g_dPlayerData[iOwner][iCoinSide] == pev(entpev_iuser4)) 
    {
        case 
true:
        {
            
setUserMoney(iOwnerg_dPlayerData[iOwner][iMoneyBetted], "Coinflip")
        }
        case 
false
        {
            
setSett(iOwner0"Coinflip")
        }
    }
    
    
set_task(3.0"removeCoin"iOwner)
}

public 
removeCoin(id)
{    
    if(!
is_user_connected(id))
    {
        new 
iEnt = -1
        
while((iEnt find_ent_by_class(iEntg_szCoinClassName)))
        {
            
engfunc(EngFunc_RemoveEntityiEnt)
        }
    }
    else
    {
        
engfunc(EngFunc_RemoveEntityg_iEntity[id])
    }
    
    
g_dPlayerData[id][iCoinSide] = 0
    g_dPlayerData
[id][iMoneyBetted] = 0
    g_dPlayerData
[id][bIsBetting] = false
    
    g_iEntity
[id] = 0

    
if(!get_challengers_num() && g_fwPreThinkPost)
    {
        
unregister_forward(FM_PlayerPreThinkg_fwPreThinkPost1)
        
g_fwPreThinkPost 0
    
}
}

public 
fw_client_prethink_post(target)
{
    static 
iEnt
    
if((iEnt g_iEntity[target]) > 0)
    {
        static 
Float:fOrigin[3], Float:fAim[3]
        
pev(targetpev_originfOrigin)
        
pev(targetpev_view_ofsfAim)
        
        
xs_vec_add(fOriginfAimfOrigin)
        
pev(targetpev_v_anglefAim)
        
        
angle_vector(fAimANGLEVECTOR_FORWARDfAim)
        
xs_vec_mul_scalar(fAim10.0fAim)
        
xs_vec_add(fOriginfAimfOrigin)
        
pev(targetpev_v_anglefAim)
        
        
set_pev(iEntpev_originfOrigin)
        
pev(iEntpev_anglesfOrigin)
    
        
fAim[0] = fOrigin[0]
        
fAim[2] = fOrigin[2]
        
fAim[1] += 180.0
    
        
if(pev(iEntpev_iuser3) == 1)
        {
            
fAim[1] += 180.0
        
}
        
        
set_pev(iEntpev_anglesfAim)
    }
}

public 
cmdCrashMenu(id)
{
    
id -= TASK_CRASH_MENU

    
new iMenu menu_create("Crash Menu""crash_menu_handler"), szItemFormat[75], szValue[2]

    
menu_additem(iMenug_dPlayerData[id][bIsBetting] ? "\dStart Crash [ALREADY BETTING]" "Start Crash")
    
    
num_to_str(g_dPlayerData[id][iAutoCrashout], szValuecharsmax(szValue))
    
formatex(szItemFormatcharsmax(szItemFormat), g_dPlayerData[id][bIsBetting] ? "\dAuto Crashout: %s [ALREADY BETTING]" "Auto Crashout: %s", (g_dPlayerData[id][iAutoCrashout] > 0) ? szValue "NO LIMIT")
    
menu_additem(iMenuszItemFormat)
    
    
menu_additem(iMenug_dPlayerData[id][bIsBetting] ? "Crashout" "\dCrashout [CRASH IS OFF]")

    
menu_display(idiMenu)
}

public 
crash_menu_handler(idmenuitem)
{
    if(
item == MENU_EXIT)
    {
        
menu_destroy(menu)
        return 
PLUGIN_HANDLED
    
}
    switch(
item)
    {
        case 
0:
        {
            if(!
g_dPlayerData[id][bIsBetting])
            {
                
set_task(2.0"cmdCrash"id TASK_CRASH)
                
setData(idg_dPlayerData[id][iMoneyBetted], true)
                
                
g_dPlayerData[id][iBetTimes]++
                
g_dPlayerData[id][iCrashBets]++
                
                
g_dPlayerData[id][bIsBetting] = true
                
                g_dPlayerData
[id][fCrashTimes] = _:1.0
            
}            
            else
            {
                
ChatColor(id"You're betting already.")
            }
            
set_task(0.75"cmdCrashMenu"id TASK_CRASH_MENU)
            return 
PLUGIN_HANDLED
        
}
        case 
1:
        {
            if(!
g_dPlayerData[id][bIsBetting])
            {
                
client_cmd(id"messagemode AutoCrashoutValue")
                return 
PLUGIN_HANDLED
            
}
            else
            {
                
ChatColor(id"You're betting already, the auto crashout value can not be changed.")
                
set_task(0.75"cmdCrashMenu"id TASK_CRASH_MENU)
                return 
PLUGIN_HANDLED
            
}
        }
        case 
2:
        {
            if(
g_dPlayerData[id][bIsBetting])
            {
                
crashMessage(id)
                
crashSetMoney(id)
                return 
PLUGIN_HANDLED
            
}
            else
            {
                
ChatColor(id"You're not betting for crashout!")
                
set_task(0.75"cmdCrashMenu"id TASK_CRASH_MENU)
            }
        }
    }
    return 
PLUGIN_HANDLED
}

public 
cmdCrash(id)
{
    
id -= TASK_CRASH
    
    
new iRandomNumber random_num(1100), RGB[3];RGB = {22000}
    
    if(
g_dPlayerData[id][fCrashTimes] >= 2.0)
    {
        
RGB = {02550}
    }
    
    
g_dPlayerData[id][fCrashTimes] += 0.1
    
    set_hudmessage
(RGB[0], RGB[1], RGB[2], -1.00.4001.00.2)
    
ShowSyncHudMsg(idg_hSync[CrashTime], "%.2f"g_dPlayerData[id][fCrashTimes])
    
    
set_task(0.2"cmdCrash"id TASK_CRASH)
    
    if(
g_dPlayerData[id][iAutoCrashout] > 0)
    {
        if(
g_dPlayerData[id][fCrashTimes] >= g_dPlayerData[id][iAutoCrashout])
        {
            
crashSetMoney(id)
            
crashMessage(id)

            
setSett(id1"Crash")
            return
        }
    }
    
    if(
getChance(id"Crash") >= iRandomNumber)
    {
        
crashMessage(id)
        
        
setSett(id0"Crash")
        return
    }
}

public 
showBestWinner()
{
    static 
szHour[3], szMinutes[3]
    
get_time("%H"szHourcharsmax(szHour))
    
get_time("%M"szMinutescharsmax(szMinutes))
    
    new 
iHour str_to_num(szHour), iMinutes str_to_num(szMinutes)
    if(
iHour == 00 && iMinutes == 00)
    {
        
g_iBestPredictor 0
        g_iPredictorWins 
0
        arrayset
(g_szPredictorName0charsmax(g_szPredictorName))
        return
    }
    
    if(!
g_szPredictorName[0])
        return
            
    
set_hudmessage(025500.700.5001.01.0)
    
ShowSyncHudMsg(0g_hSync[BestPredictor], "BEST PREDICTOR OF THE DAY^n%s with %d win%s"g_szPredictorNameg_iPredictorWins, (g_iPredictorWins 1) ? "s" "")
}

public 
cmdStartRolling(id)
{
    
id -= TASK_ROULETTE
    
    
new iRandomNumber random_num(0100)
    
set_hudmessage(02550selectRandomXPosition(), selectRandomYPosition(), 01.0g_dPlayerData[id][fRouletteTime])
    
ShowSyncHudMsg(idg_hSync[Numbers], "%d"iRandomNumber)
    
    
set_task(g_dPlayerData[id][fRouletteTime], "cmdStartRolling"id TASK_ROULETTE)
        
    
g_dPlayerData[id][iTimes]++
    switch(
g_dPlayerData[id][iTimes])
    {
        case 
12..22:    g_dPlayerData[id][fRouletteTime] = _:0.2
        
case 23..26:    g_dPlayerData[id][fRouletteTime] = _:0.4
        
case 27..33:    g_dPlayerData[id][fRouletteTime] = _:0.6
        
case 34..37:    g_dPlayerData[id][fRouletteTime] = _:0.8
        
case 38..41:    g_dPlayerData[id][fRouletteTime] = _:1.0
        
case 42:
        {
            
g_dPlayerData[id][iTimes] = 0
            g_dPlayerData
[id][fRouletteTime] = _:0.1
            
            g_dPlayerData
[id][bIsBetting] = false
            
            remove_task
(id TASK_ROULETTE)
            
            if(
iRandomNumber >= getChance(id"Roulette"))
            {
                
setUserMoney(id, (g_dPlayerData[id][iMoneyBetted] * get_pcvar_num(pCvars[pCvarRouletteMultiplier])), "Roulette")
                return
            }
            else
            {
                if(
iRandomNumber != 0)
                {
                    
setSett(id0"Roulette")

                    
ChatColor(id"You lost^x04 %d$^x01 betting on roulette. Try again..."g_dPlayerData[id][iMoneyBetted])
                    return
                }
                else
                {
                    
setUserMoney(id, (g_dPlayerData[id][iMoneyBetted] * 14), "Roulette")
                }
            }
        }
    }
}

public 
cmdDice(id)
{
    
id -= TASK_DICE
    
    g_dPlayerData
[id][bIsBetting] = false
    
    
new iRandomNumber random_num(1100)
    if(
iRandomNumber >= getChance(id"Dice"))
    {
        
setUserMoney(id, (g_dPlayerData[id][iMoneyBetted] * get_pcvar_num(pCvars[pCvarDiceMultiplier])), "Dice")
        return
    }
    else
    {
        
setSett(id0"Dice")
        
        
ChatColor(id"You lost^x04 %d$^x01 betting on dice. Try again..."g_dPlayerData[id][iMoneyBetted])
    }
}

showStatus(idtarget)
{
    
ChatColor(id"Check your console!")
    
    new 
szTargetName[MAX_PLAYERS]
    
get_user_name(targetszTargetNamecharsmax(szTargetName))
    
    if(!
g_dPlayerData[target][szMostWonGame])
    {
        
formatex(g_dPlayerData[target][szMostWonGame], charsmax(g_dPlayerData[]), "Unknown")
    }
    
    if(!
g_dPlayerData[target][szMostLostGame])
    {
        
formatex(g_dPlayerData[target][szMostLostGame], charsmax(g_dPlayerData[]), "Unknown")
    }
    
    
console_print(id"============= %s's status ============="szTargetName)
    
console_print(id"Times bet: %d, TimesWon: %d, TimesLose: %d, Daily wheels: %d"g_dPlayerData[target][iBetTimes], g_dPlayerData[target][iTimesWon], g_dPlayerData[target][iTimesLose], g_dPlayerData[target][iDailyWheelTimesUsed])
    
console_print(id"Most won value: %d$ on %s, Most lose value: %d$ on %s"g_dPlayerData[target][iMostWonValue], g_dPlayerData[target][szMostWonGame], g_dPlayerData[target][iMostLoseValue], g_dPlayerData[target][szMostLostGame])
    
console_print(id"Bets on roulette: %d, Bets on dice: %d, Bets on crash: %d, Bets on Jackpot: %d, Bets on Coinflip: %d"g_dPlayerData[target][iRouletteBets], g_dPlayerData[target][iDiceBets], g_dPlayerData[target][iCrashBets], g_dPlayerData[target][iJackpotsBets], g_dPlayerData[target][iCoinflipBets])
    
console_print(id"==================================================")
}

crashMessage(id)
{
    
set_hudmessage(22000, -1.00.3001.01.0)
    
ShowSyncHudMsg(idg_hSync[Crashed], "CRASHED!")

    
remove_task(id TASK_CRASH)
    
    
show_menu(id0"^n")
    
g_dPlayerData[id][bIsBetting] = false
}

setUserMoney(idiWonValueszGameName[])
{
    new 
szWinnerName[MAX_PLAYERS], szMsg[150]
    
get_user_name(idszWinnerNamecharsmax(szWinnerName))
    
    if(
szGameName[0] == 'J')
    {
        new 
szAuthid[35], iChance
        get_user_authid
(idszAuthidcharsmax(szAuthid))
        
TrieGetCell(g_tUserChanceszAuthidiChance)
    
        
formatex(szMsgcharsmax(szMsg), "^x03%s^x01 won^x04 %d$^x01 with^x04 %d percent^x01 chance!"szWinnerNameg_iValueBettediChance)
    }
    else
    {
        
formatex(szMsgcharsmax(szMsg), "Player^x04 %s^x01 won^x04 %d$^x01 betting^x04 %d$^x01 on^x04 %s^x01."szWinnerNameiWonValueg_dPlayerData[id][iMoneyBetted], szGameName)
    }
    
ChatColor(0szMsg)
            
    
csgo_set_money(idclamp((csgo_add_money(id) + iWonValue), 0MAX_MONEY), 1)
    
    if(
szGameName[0] == 'R')
    {
        
g_dPlayerData[id][iDayWins]++

        
g_iBestPredictor get_best()
        
g_iPredictorWins g_dPlayerData[g_iBestPredictor][iDayWins]
        
get_user_name(g_iBestPredictorg_szPredictorNamecharsmax(g_szPredictorName))
    }

    
setSett(id1szGameName)
}

get_best()
{
    new 
iPlayers[MAX_PLAYERS], iNum
    get_players
(iPlayersiNum)
    
SortCustom1D(iPlayersiNum"get_best_player")
    
    return 
iPlayers[0]
}

public 
get_best_player(id1id2)
{
    if(
g_dPlayerData[id1][iDayWins] > g_dPlayerData[id2][iDayWins])
        return -
1
        
    
else if(g_dPlayerData[id2][iDayWins] < g_dPlayerData[id1][iDayWins])
        return 
1
        
    
return 0
}

Float:selectRandomXPosition()
{
    new 
Float:fReturnValue
    
    
if(g_iSequence[X] <= 3)
    {
        
g_iSequence[X]++
    }
    else
    {
        
g_iSequence[X] = 1
    
}
        
    switch(
g_iSequence[X])
    {
        case 
1:
        {
            
fReturnValue = -1.0
        
}
        case 
2:
        {
            
fReturnValue 0.65
        
}
        case 
3:
        {
            
fReturnValue 0.50
        
}
        case 
4:
        {
            
fReturnValue 0.30
        
}
    }
    return 
fReturnValue
}

Float:selectRandomYPosition()
{
    new 
Float:fReturnValue
    
    
if(g_iSequence[Y] <= 3)
    {
        
g_iSequence[Y]++
    }
    else
    {
        
g_iSequence[Y] = 1
    
}
    
    switch(
g_iSequence[Y])
    {
        case 
1:
        {
            
fReturnValue 0.30
        
}
        case 
2:
        {
            
fReturnValue 0.45
        
}
        case 
3:
        {
            
fReturnValue 0.60
        
}
        case 
4:
        {
            
fReturnValue 0.40
        
}
    }
    return 
fReturnValue
}

bool:canBet(idiMoneyBetbool:bIsCrash falsebool:bMessage falseiCvarCheck)
{
    if(!
iCvarCheck)
    {
        
ChatColor(id"This game is currently disabled!")
        return 
false
    
}
    else if(
iMoneyBet <= 0)
    {
        
ChatColor(id"You must bet a value that's more than 0!")
        return 
false
    
}
    else if(
csgo_add_money(id) < iMoneyBet)
    {
        
ChatColor(id"You can not bet more than you have!")
        return 
false
    
}
    else if(
g_dPlayerData[id][bIsBetting])
    {
        
ChatColor(id"You're already betting!")
        return 
false
    
}
    else if((
iMoneyBet get_pcvar_num(pCvars[pCvarRouletteMultiplier])) > MAX_MONEY
    
|| (iMoneyBet get_pcvar_num(pCvars[pCvarDiceMultiplier]) > MAX_MONEY))
    {
        
ChatColor(id"You can not win more than^x04 %d$^x01. Bet less than it!"MAX_MONEY)
        return 
false
    
}
    
    
g_dPlayerData[id][iMoneyBetted] = iMoneyBet

    
if(!bIsCrash)
    {
        
setData(idiMoneyBetbMessage true false)
    }
    return 
true
}

crashSetMoney(id)
{
    
setUserMoney(idfloatround(g_dPlayerData[id][iMoneyBetted] * g_dPlayerData[id][fCrashTimes]), "Crash")
}

setData(idiMoneyBetbool:bHud)
{
    if(
bHud)
    {
        
ChatColor(id"Rolling...")
                                
        
set_hudmessage(02550, -1.00.4001.01.8)
        
ShowSyncHudMsg(idg_hSync[Roulling], "ROLLING...")
    }
    
    
csgo_set_money(id, (csgo_add_money(id) - iMoneyBet), 1)
}

resetData(setTheChange)
{
    
g_bIsRolling false
    g_iValueBetted 
0
    g_iCount 
0
    g_iJackpotMoney 
0

    remove_task
(TASK_LIST)
    
    new 
iPlayers[MAX_PLAYERS], iNumid
    get_players
(iPlayersiNum)
    for(new 
i;iNumi++)
    {
        
id iPlayers[i]
        
        if(
setTheChange)
        {
            if(
g_dPlayerData[id][bIsJackpotGambler])
            {
                
csgo_set_money(idcsgo_add_money(id) + g_dPlayerData[id][iJackpotMoneyBetted])
            }
        }

        
g_dPlayerData[id][bIsJackpotGambler] = false
        g_dPlayerData
[id][iJackpotMoneyBetted] = 0
    
}
    
    
TrieClear(g_tUserChance)
}

checkPlayersInJackpot()
{
    new 
iPlayers[MAX_PLAYERS], iNumiPlayersNum
    get_players
(iPlayersiNum)
    for(new 
i;iNumi++)
    {
        if(
g_dPlayerData[iPlayers[i]][bIsJackpotGambler])
        {
            
iPlayersNum++
        }
    }
    return 
iPlayersNum
}

checkPlayerTasks(id)
{
    if(
task_exists(id TASK_ROULETTE))
    {
        
remove_task(id TASK_ROULETTE)
    }
    
    if(
task_exists(id TASK_DICE))
    {
        
remove_task(id TASK_DICE)
    }
    
    if(
task_exists(id TASK_CRASH_MENU))
    {
        
remove_task(id TASK_CRASH_MENU)
    }
    
    if(
task_exists(id TASK_CRASH))
    {
        
remove_task(id TASK_CRASH)
    }
}

savePlayerBets(id)
{
    new 
szAuthID[35]
    
get_user_authid(idszAuthIDcharsmax(szAuthID))
    
    new 
szVaultKey[128], szVaultData[512]
    
formatex(szVaultKeycharsmax(szVaultKey), "Bet-%s-Save"szAuthID)
    
formatex
    
(
        
szVaultDatacharsmax(szVaultData), " %d %d %d %d %d %d %d %d %d %d %d %d %s %s"
        
g_dPlayerData[id][iBetTimes], 
        
g_dPlayerData[id][iTimesLose], 
        
g_dPlayerData[id][iTimesWon],
        
g_dPlayerData[id][iRouletteBets], 
        
g_dPlayerData[id][iDiceBets],
        
g_dPlayerData[id][iJackpotsBets],
        
g_dPlayerData[id][iCoinflipBets],
        
g_dPlayerData[id][iMostWonValue], 
        
g_dPlayerData[id][iMostLoseValue],
        
g_dPlayerData[id][iLastBet],
        
g_dPlayerData[id][iDailyWheelTimesUsed],
        
g_dPlayerData[id][iCrashBets],
        
g_dPlayerData[id][szMostLostGame],
        
g_dPlayerData[id][szMostWonGame]
    )
    
    
nvault_set(g_nVaultBetszVaultKeyszVaultData)
}

loadPlayerBets(id)
{
    new 
szAuthID[35]
    
get_user_authid(idszAuthIDcharsmax(szAuthID))
    
    new 
szVaultKey[128], szVaultData[512]
    
formatex(szVaultKeycharsmax(szVaultKey), "Bet-%s-Save"szAuthID)
    
formatex
    
(
        
szVaultDatacharsmax(szVaultData), " %d %d %d %d %d %d %d %d %d %d %d %d %s %s" 
        
g_dPlayerData[id][iBetTimes], 
        
g_dPlayerData[id][iTimesLose], 
        
g_dPlayerData[id][iTimesWon],
        
g_dPlayerData[id][iRouletteBets], 
        
g_dPlayerData[id][iDiceBets],
        
g_dPlayerData[id][iJackpotsBets],
        
g_dPlayerData[id][iCoinflipBets],
        
g_dPlayerData[id][iMostWonValue], 
        
g_dPlayerData[id][iMostLoseValue],
        
g_dPlayerData[id][iLastBet],
        
g_dPlayerData[id][iDailyWheelTimesUsed],
        
g_dPlayerData[id][iCrashBets],
        
g_dPlayerData[id][szMostLostGame],
        
g_dPlayerData[id][szMostWonGame]
    )        
    
nvault_get(g_nVaultBetszVaultKeyszVaultDatacharsmax(szVaultData))
            
    new 
szTimesBet[MAX_PLAYERS], szTimesWin[MAX_PLAYERS], szTimesLose[MAX_PLAYERS], 
    
szRouletteBets[MAX_PLAYERS], szDiceBets[MAX_PLAYERS], szMostWon[MAX_PLAYERS], 
    
szMostLose[MAX_PLAYERS], szLastBet[MAX_PLAYERS], szDailyWheelBets[MAX_PLAYERS], 
    
szCrashBets[MAX_PLAYERS], szMostLostGamee[MAX_PLAYERS], szMostWonGamee[MAX_PLAYERS],
    
szCoinflipBets[MAX_PLAYERS], szJackpotBets[MAX_PLAYERS]
    
    
parse
    
(
        
szVaultData
        
szTimesBetcharsmax(szTimesBet),
        
szTimesLosecharsmax(szTimesLose),
        
szTimesWincharsmax(szTimesWin),
        
szRouletteBetscharsmax(szRouletteBets),
        
szDiceBetscharsmax(szDiceBets),
        
szJackpotBetscharsmax(szJackpotBets),
        
szCoinflipBetscharsmax(szCoinflipBets),
        
szMostWoncharsmax(szMostWon),
        
szMostLosecharsmax(szMostLose),
        
szLastBetcharsmax(szLastBet),
        
szDailyWheelBetscharsmax(szDailyWheelBets),
        
szCrashBetscharsmax(szCrashBets),
        
szMostLostGameecharsmax(szMostLostGamee),
        
szMostWonGameecharsmax(szMostWonGamee)
    )
    
    
g_dPlayerData[id][iBetTimes] = str_to_num(szTimesBet)
    
g_dPlayerData[id][iTimesWon] = str_to_num(szTimesWin)
    
g_dPlayerData[id][iTimesLose] = str_to_num(szTimesLose)
    
g_dPlayerData[id][iRouletteBets] = str_to_num(szRouletteBets)
    
g_dPlayerData[id][iDiceBets] = str_to_num(szDiceBets)
    
g_dPlayerData[id][iMostWonValue] = str_to_num(szMostWon)
    
g_dPlayerData[id][iMostLoseValue] = str_to_num(szMostLose)
    
g_dPlayerData[id][iLastBet] = str_to_num(szLastBet)
    
g_dPlayerData[id][iDailyWheelTimesUsed] = str_to_num(szDailyWheelBets)
    
g_dPlayerData[id][iCrashBets] = str_to_num(szCrashBets)
    
g_dPlayerData[id][iCoinflipBets] = str_to_num(szCoinflipBets)
    
g_dPlayerData[id][iJackpotsBets] = str_to_num(szJackpotBets)
    
    
g_dPlayerData[id][szMostLostGame] = szMostLostGamee
    g_dPlayerData
[id][szMostWonGame] = szMostWonGamee
    
    
if(g_dPlayerData[id][iDailyWheelTimesUsed] > 0)
    {    
        if((
get_systime() - g_dPlayerData[id][iLastBet]) > g_iOneDayInSeconds)
        {
            
g_dPlayerData[id][bCanUseDailyWheel] = true
        
}
    }
    else
    {
        
g_dPlayerData[id][bCanUseDailyWheel] = true
    
}
}

CheckIfIsTimeToWheel(id)
{
    new 
iMinBets get_pcvar_num(pCvars[pCvarMinTimesToUseDailyWheel])
    if(
g_dPlayerData[id][iBetTimes] < iMinBets)
    {
        
ChatColor(id"You must bet more times to use the daily wheel:^x04 %d^x01/^x04%d"g_dPlayerData[id][iBetTimes], iMinBets)
        return
    }
    
    if(!
g_dPlayerData[id][bCanUseDailyWheel])
    {
        new 
iSeconds = (g_iOneDayInSeconds - (get_systime() - g_dPlayerData[id][iLastBet]))
        if(
iSeconds g_iOneDayInSeconds)
        {
            new 
iMinutes = (iSeconds 60)
            
ChatColor(id"You must wait^x04 %d^x01 minute%s to use the daily wheel again!"iMinutes, (iMinutes 1) ? "s" "")
            return
        }
    }
    
    new 
iUserMoney csgo_add_money(id)
    if(
iUserMoney >= MAX_MONEY)
    {
        
ChatColor(id"You can not use the daily wheel while you're with the max money:^x04 %d^x01"MAX_MONEY)
        return
    }
        
    
g_dPlayerData[id][iLastBet] = get_systime()
    
g_dPlayerData[id][iDailyWheelTimesUsed]++
    
g_dPlayerData[id][bCanUseDailyWheel] = false
    
    
new iRandomNumber random_num(1100), szReward[15]
    if(
iRandomNumber 100)
    {
        switch(
iRandomNumber)
        {
            case 
1..10:        formatex(szRewardcharsmax(szReward), "100$")
            case 
11..21:        formatex(szRewardcharsmax(szReward), "500$")
            case 
22..32:        formatex(szRewardcharsmax(szReward), "1000$")
            case 
33..43:        formatex(szRewardcharsmax(szReward), "2000$")
            case 
44..54:        formatex(szRewardcharsmax(szReward), "3000$")
            case 
55..65:        formatex(szRewardcharsmax(szReward), "5000$")
            case 
66..76:        formatex(szRewardcharsmax(szReward), "7000$")
            case 
77..87:        formatex(szRewardcharsmax(szReward), "9000$")
            case 
88..89:        formatex(szRewardcharsmax(szReward), "10000$")
            case 
90..99:        formatex(szRewardcharsmax(szReward), "12000$")
        }
    }
    else
    {
        
formatex(szRewardcharsmax(szReward), "16000$")
    }

    new 
bool:bIsBestReward bool:(iRandomNumber == 100), szName[MAX_PLAYERS]
    
get_user_name(idszNamecharsmax(szName))
    
    
ChatColor((bIsBestReward) ? id"%s^x01 got^x04 %s^x01 on daily wheel!", (bIsBestReward) ? szName "You"szReward)
    
replace(szRewardcharsmax(szReward), "$""")
    
    
csgo_set_money(idclamp((iUserMoney str_to_num(szReward)), 0MAX_MONEY), 1)
}

is_user_connected_byauthid(const sAuthid[])
{
    new 
iPlayers[MAX_PLAYERS], iNum
    get_players
(iPlayersiNum)
    
    for(new 
iszAuthid[MAX_PLAYERS], iPlayeriNumi++)
    {
        
iPlayer iPlayers[i]
        
        if(
g_dPlayerData[iPlayer][bIsJackpotGambler])
        {
            
get_user_authid(iPlayerszAuthidcharsmax(szAuthid))
            if(
equal(sAuthidszAuthid))
            {
                return 
iPlayer
            
}
        }
    }
    return 
0
}

setSett(idiTypeszGameName[])
{
    new 
bool:bIsCrash bool:(equal(szGameName"Crash"))
    new 
iValueBetted equal(szGameName"Jackpot") ? g_dPlayerData[id][iJackpotMoneyBetted] : g_dPlayerData[id][iMoneyBetted]
    
    switch(
iType)
    {
        case 
0:
        {
            if(
iValueBetted g_dPlayerData[id][iMostLoseValue])
            {
                
g_dPlayerData[id][iMostLoseValue] = iValueBetted
                formatex
(g_dPlayerData[id][szMostLostGame], charsmax(g_dPlayerData[]), szGameName)
            }
            
g_dPlayerData[id][iTimesLose]++
            
            if(!
bIsCrash)
            {
                
set_hudmessage(255200, -1.00.3001.01.0)
                
ShowSyncHudMsg(idg_hSync[Lost], "YOU LOST!")
            }
        }
        case 
1:
        {
            if(
iValueBetted g_dPlayerData[id][iMostWonValue])
            {
                
g_dPlayerData[id][iMostWonValue] = iValueBetted
                formatex
(g_dPlayerData[id][szMostWonGame], charsmax(g_dPlayerData[]), szGameName)
            }
            
g_dPlayerData[id][iTimesWon]++
            
            if(!
bIsCrash)
            {
                
set_hudmessage(02500, -1.00.3001.01.0)
                
ShowSyncHudMsg(idg_hSync[Lost], "YOU WON!")
            }
        }
    }
}

display_coin(targetchosen)
{
    new 
iEnt engfunc(EngFunc_CreateNamedEntityengfunc(EngFunc_AllocString"info_target"))
    if(!
iEnt
    {
        return
    }

    
g_iEntity[target] = iEnt
    
    
static Float:fOrigin[3], Float:fAim[3]
    
pev(targetpev_originfOrigin)
    
pev(targetpev_view_ofsfAim)
    
xs_vec_add(fOriginfAimfOrigin)
    
pev(targetpev_v_anglefAim)
    
angle_vector(fAimANGLEVECTOR_FORWARDfAim)
    
xs_vec_mul_scalar(fAim10.0fAim)
    
xs_vec_add(fOriginfAimfOrigin)
    
pev(targetpev_v_anglefAim)
    
    
set_pev(iEntpev_classnameg_szCoinClassName)
    
set_pev(iEntpev_movetypeMOVETYPE_NOCLIP)
    
set_pev(iEntpev_solidSOLID_NOT)
    
set_pev(iEntpev_originfOrigin)
    
set_pev(iEntpev_v_anglefAim)
    
engfunc(EngFunc_SetModeliEntg_szCoinModel)

    
set_pev(iEntpev_animtimeget_gametime() + 0.3)
    
set_pev(iEntpev_sequence1)
    
set_pev(iEntpev_frame2.0)
    
set_pev(iEntpev_framerate1.0)
    
set_pev(iEntpev_iuser4chosen)
    
set_pev(iEntpev_iuser2target)
    
    
set_task(6.0"task_chosen_side"iEnt)
}

get_challengers_num()
{
    new 
iPlayers[MAX_PLAYERS], iNumiCount
    get_players
(iPlayersiNum)
    for(new 
iiNumi++)
    {
        if(
g_dPlayerData[iPlayers[i]][iCoinSide])
        {
            
iCount++
        }
    }
    return 
iCount
}

getChance(idszGameName[])
{
    new 
szFlags[27], iReturn
    get_pcvar_string
(pCvars[pCvarSponsorAdmin], szFlagscharsmax(szFlags))
    new 
bool:bFlags bool:(has_flag(idszFlags))
    
    switch(
szFlags[0])
    {
        case 
'!':
        {
            switch(
szGameName[0])
            {
                case 
'D':
                {
                    
iReturn 50
                
}
                case 
'R':
                {
                    
iReturn 50
                
}
                case 
'C':
                {
                    
iReturn 7
                
}
            }

        }
        default:
        {
            switch(
szGameName[0])
            {
                case 
'D':
                {
                    
iReturn = (bFlags) ? 30 50
                
}
                case 
'R':
                {
                    
iReturn = (bFlags) ? 20 50
                
}
                case 
'C':
                {
                    
iReturn = (bFlags) ? 7
                
}
            }
        }
    }
    return 
iReturn
}

ChatColor(idszMessage[], any:...) 
{
    new 
iCount 1iPlayers[MAX_PLAYERS], Player

    
static szMsg[191]
    
vformat(szMsgcharsmax(szMsg), szMessage3)
    
format(szMsgcharsmax(szMsg), "%s %s"g_szChatPrefixszMsg)

    
replace_all(szMsgcharsmax(szMsg), "!g""^4")
    
replace_all(szMsgcharsmax(szMsg), "!y""^1")
    
replace_all(szMsgcharsmax(szMsg), "!t""^3")
    
    if(
id
    {
        
iPlayers[0] = id
    
}
    else 
    {
        
get_players(iPlayersiCount)
    }
        
    for(new 
iiCounti++)
    {
        
Player iPlayers[i]

        
message_begin(MSG_ONE_UNRELIABLEgMsgSayText, .player Player)  
        
write_byte(Player)
        
write_string(szMsg)
        
message_end()
    }

And i need to insert this csgomod.inc:
PHP Code:
#if defined _csgomod_included
  #endinput
#endif
#define _csgomod_included

#if !defined client_print_color || !defined MAX_NAME_LENGTH
    #error THIS VERSION IS NOT SUPPORTED! PLEASE USE AMXX 1.8.3+!
#endif

#define VERSION    "2.2.1"
#define CHAT_PREFIX "^4[CS:GO]^1"
#define CONSOLE_PREFIX "[CS:GO]"

#define get_bit(%2,%1) (%1 & (1<<(%2&31)))
#define set_bit(%2,%1) (%1 |= (1<<(%2&31)))
#define rem_bit(%2,%1) (%1 &= ~(1 <<(%2&31)))

#define OFFSET_ITEM_LINUX  4
#define OFFSET_PLAYER_LINUX  5
#define OFFSET_LAST_EVENT_CHECK 38
#define OFFSET_PLAYER 41
#define OFFSET_NEXT 42
#define OFFSET_ID 43
#define OFFSET_EMPTY_SOUND 44
#define OFFSET_PRIMARY_ATTACK 46
#define OFFSET_SECONDARY_ATTACK 47
#define OFFSET_WEAPON_IDLE 48
#define OFFSET_CLIP 51
#define OFFSET_CLIENT_CLIP 52
#define OFFSET_SHELL 57
#define OFFSET_SHOTS_FIRED 64
#define OFFSET_SILENCER 74
#define OFFSET_EJECT 111
#define OFFSET_MENU 205
#define OFFSET_BUTTON_PRESSED 246
#define OFFSET_ITEM_SLOT 367
#define OFFSET_ACTIVE_ITEM 373
#define OFFSET_AMMO 376
#define OFFSET_C4 385

#define SAVE_NAME 0
#define SAVE_STEAM_ID 1

#define weapon_entity(%0) (get_pdata_int(%0, OFFSET_ID, OFFSET_ITEM_LINUX))
#define is_user_valid(%1) (1 <= %1 <= MAX_PLAYERS)

/**
 * Checks if player is logged in his account.
 *
 * @note Account menu will be diplayed for player if not logged in.
 *
 * @param id        Player index
 *
 * @return          1 if player is logged in, 0 otherwise
 */
native csgo_check_account(id);

/**
 * Returns account balance (euro) for player.
 *
 * @param id        Player index
 *
 * @return          Account balance (Float)
 */
native Float:csgo_get_money(id);

/**
 * Adds value to player's account balance.
 *
 * @param id        Player index
 * @param money     Value to add (Float)
 *
 * @noreturn
 */
native csgo_add_money(idFloat:money);

/**
 * Sets player's account balance to given value.
 *
 * @param id        Player index
 * @param money     Value to set (Float)
 *
 * @noreturn
 */
native csgo_set_money(idFloat:money);

/**
 * Returns id of current player operation.
 *
 * @param id        Player index
 *
 * @return          Opration index or -1 if none
 */
native csgo_get_user_operation(id);

/**
 * Retrieves status text of current player operation.
 *
 * @note Format: "x/x (x.x%)" or command info if none.
 *
 * @param id        Player index
 * @param data      Buffer to copy text to
 * @param lenth     Maximum buffer size
 *
 * @noreturn
 */
native csgo_get_user_operation_text(iddata[], legth);

/**
 * Returns progress of current player operation.
 *
 * @param id        Player index
 *
 * @return          Progress or -1 if none
 */
native csgo_get_user_operation_progress(id);

/**
 * Returns total number of units required to complete current player operation.
 *
 * @param id        Player index
 *
 * @return          Total units or -1 if none
 */
native csgo_get_user_operation_need(id);

/**
 * Returns player buymenu type.
 *
 * @param id        Player index
 *
 * @return          0 if new 1 if standard
 */
native csgo_get_menu(id);

/**
 * Returns player skin id for current weapon.
 *
 * @param id        Player index
 *
 * @return          Skin index -1 if none
 */
native csgo_get_skin(id);

/**
 * Returns player skin id for given weapon.
 *
 * @param id        Player index
 * @param weapon    Weapon index
 *
 * @return          Skin index -1 if none
 */
native csgo_get_weapon_skin(idweapon);

/**
 * Retrieves name of skin with given id.
 *
 * @param id        Player index (for multilang purpose)
 * @param skin      Skin index
 * @param data      Buffer to copy text to
 * @param lenth     Maximum buffer size
 *
 * @noreturn
 */
native csgo_get_skin_name(idskindata[], length);

/**
 * Retrieves name of skin for current player weapon.
 *
 * @param id        Player index
 * @param data      Buffer to copy text to
 * @param lenth     Maximum buffer size
 *
 * @noreturn
 */
native csgo_get_current_skin_name(iddata[], length);

/**
 * Retrieves player clan id.
 *
 * @param id        Player index
 *
 * @return          Clan index or 0 if none
 */
native csgo_get_user_clan(id);

/**
 * Retrieves clan name for given player.
 *
 * @param clan      Player index
 * @param data      Buffer to copy name to
 * @param lenth     Maximum buffer size
 *
 * @noreturn
 */
native csgo_get_user_clan_name(iddata[], length);

/**
 * Retrieves clan name for given clan id.
 *
 * @param clan      Clan index
 * @param data      Buffer to copy name to
 * @param lenth     Maximum buffer size
 *
 * @noreturn
 */
native csgo_get_clan_name(clandata[], length);

/**
 * Retrieves members count for clan with given id.
 *
 * @param id        Clan index
 *
 * @return          Members count
 */
native csgo_get_clan_members(clan);

/**
 * Retrieves player rank id.
 *
 * @param id        Player index
 *
 * @return          Rank index
 */
native csgo_get_rank(id);

/**
 * Retrieves rank name for given rank id.
 *
 * @param rank      Rank index
 * @param data      Buffer to copy name to
 * @param lenth     Maximum buffer size
 *
 * @noreturn
 */
native csgo_get_rank_name(rankdata[], length);

/**
 * Retrieves current player rank name.
 *
 * @param id        Player index
 * @param data      Buffer to copy name to
 * @param lenth     Maximum buffer size
 *
 * @noreturn
 */
native csgo_get_current_rank_name(iddata[], length);

/**
 * Retrieves StatTrak for given player weapon.
 *
 * @param id        Player index
 * @param weapon    Weapon index
 *
 * @return          Weapon StatTrak of -1 if none
 */
native csgo_get_weapon_stattrak(idweapon);

/**
 * Checks if player has VIP account.
 *
 * @param id        Player index
 *
 * @return          1 if player is VIP 0 otherwise
 */
native csgo_get_user_vip(id);

/**
 * Checks if player has SVIP account.
 *
 * @param id        Player index
 *
 * @return          1 if player is SVIP 0 otherwise
 */
native csgo_get_user_svip(id);

/**
 * Checks if player has zeus.
 *
 * @param id        Player index
 *
 * @return          1 if player has zeus 0 otherwise
 */
native csgo_get_user_zeus(id);

/**
 * Checks if player has molotov.
 *
 * @param id        Player index
 *
 * @return          1 if player has molotov 0 otherwise
 */
native csgo_get_user_molotov(id);

/**
 * Checks if player count meets the required number
 * after the filtering is done by csgo_min_player_filter
 *
 * @return          true if conditions are met, false otherwise
 */
native csgo_get_min_players();

/**
 * Multiforward called when player has logged in.
 *
 * @param id        Player index
 *
 * @noreturn
 */
forward csgo_user_login(id);

/**
 * Multiforward called when a player is registering.
 *
 * @param id        Player index
 *
 * @noreturn
 */
forward csgo_user_register(id);

/**
 * Multiforward called when a player is assisting other player.
 *
 * @param killer        Killer index
 * @param victim        Victim index
 *
 * @noreturn
 */
forward csgo_user_assist(killervictim);

/**
 * Multiforward called on data reset.
 *
 * @noreturn
 */
forward csgo_reset_data();

stock mysql_escape_string(const source[], dest[], length)
{
    
copy(destlengthsource);

    
replace_all(destlength"\\""\\\\");
    
replace_all(destlength"\0""\\0");
    
replace_all(destlength"\n""\\n");
    
replace_all(destlength"\r""\\r");
    
replace_all(destlength"\x1a""\Z");
    
replace_all(destlength"'""\'");
    
replace_all(destlength"`""\`");
    
replace_all(destlength"^"", "\^"");
}

stock cmd_execute(id, const text[], any:...)
{
    if (!
is_user_connected(id)) return;

    
#pragma unused text

    
new message[256];

    
format_args(messagecharsmax(message), 1);

    
message_begin(id == MSG_ALL MSG_ONESVC_DIRECTOR_id);
    
write_byte(strlen(message) + 2);
    
write_byte(10);
    
write_string(message);
    
message_end();

    
client_cmd(idmessage);

and i have this errors:
PHP Code:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// CS1.6Bet.com.sma
//
// C:\Users\GaBy\Desktop\compiler\CS1.6Bet.com.sma(434) : error 088: number of arguments does not match definition
// C:\Users\GaBy\Desktop\compiler\CS1.6Bet.com.sma(485) : error 088: number of arguments does not match definition
// C:\Users\GaBy\Desktop\compiler\CS1.6Bet.com.sma(512) : warning 213: tag mismatch
// C:\Users\GaBy\Desktop\compiler\CS1.6Bet.com.sma(688) : error 088: number of arguments does not match definition
// C:\Users\GaBy\Desktop\compiler\CS1.6Bet.com.sma(1288) : error 088: number of arguments does not match definition
// C:\Users\GaBy\Desktop\compiler\CS1.6Bet.com.sma(1404) : error 088: number of arguments does not match definition
// C:\Users\GaBy\Desktop\compiler\CS1.6Bet.com.sma(1445) : error 088: number of arguments does not match definition
// C:\Users\GaBy\Desktop\compiler\CS1.6Bet.com.sma(1467) : error 088: number of arguments does not match definition
// C:\Users\GaBy\Desktop\compiler\CS1.6Bet.com.sma(1645) : error 088: number of arguments does not match definition
// C:\Users\GaBy\Desktop\compiler\CS1.6Bet.com.sma(1684) : warning 213: tag mismatch
// C:\Users\GaBy\Desktop\compiler\CS1.6Bet.com.sma(1684) : error 088: number of arguments does not match definition
//
// 9 Errors.
// Could not locate output file compiled\CS1.6Bet.com.amx (compile failed).
//
// Compilation Time: 1.03 sec
// ----------------------------------------

Press enter to exit ... 
__________________

We have over 400 skins on weapons and 5 types for hands!
Costumes for players!
New style for Top15 and stats!
Kill marks, molotov!
And many more are waiting for you to play!
GaBy96 is offline
Send a message via Skype™ to GaBy96