sample
PHP Code:
public CheckLevel(id)
{
if( gXP[id] >= RANK[gLevel[id]] )
{
client_cmd(id, "spk cod4/levelup.wav")
ColorChat(id, GREEN, "^x04[COD:MW2]^x01 Congratulations! You have been promoted to:^x04 %s^x01.", RANKNAMES[gLevel[id]+1]);
gLevel[id]++;
}
// Commander is Rank 54
if( gLevel[id] == 54 )
cs_set_user_money(id, cs_get_user_money(id) + 10000)
}
if u want more levels can have recieve money use a switch query
__________________