09.10.2017, 13:56
So, is there anyway to parse code that player typed in /promo <code> from .ini file by mxINI and give bonuses to player ? For example
cmd:redeem{
//There is code that parse all codes from promos.ini
//There should be code if code matchs with code typed in promos.ini
{
pInfo[playerid][pCash] += {parsed value from bonus}
}
}
cmd:redeem{
//There is code that parse all codes from promos.ini
//There should be code if code matchs with code typed in promos.ini
{
pInfo[playerid][pCash] += {parsed value from bonus}
}
}