Redeem codes
#1

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}
}
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)