} SendClientMessageEx(i, COLOR_WHITE, "* ESTADO DE CUENTA DEL BANCO DE SAN ANDREAS * "); format(string, sizeof(string), " Pago: $%d | Impuestos : -$%d", Info[i][pPayCheck], TaxValue); SendClientMessageEx(i, COLOR_GRAD2, string); format(string, sizeof(string), " Interйs ganado: 0.%d por ciento", interest); SendClientMessageEx(i, COLOR_GRAD2, string); Info[i][pAccount] += paytotal; format(string, sizeof(string), " Total: $%d | N. Balance : %d$", paytotal, Info[i][pAccount]); SendClientMessageEx(i, COLOR_GRAD2, string); SendClientMessageEx(i, COLOR_WHITE, "-------------------------------------------------");
switch(PlayerInfo[i][pNivel]) //Si hay una variable en pNivel
{
case 4: GivePlayerMoney(i,250); //y es 4..
case 5: GivePlayerMoney(i,350); //o es 5..
//etc...
}
PlayerInfo[i][pAccount] = Info[i][pPayCheck]+ TaxValue+Info[i][pLevel]*100;
}
SendClientMessageEx(i, COLOR_WHITE, "* ESTADO DE CUENTA DEL BANCO DE SAN ANDREAS * ");
format(string, sizeof(string), " Pago: $%d | Impuestos : -$%d", Info[i][pPayCheck]+Info[i][pLevel]*100, TaxValue);
SendClientMessageEx(i, COLOR_GRAD2, string);
format(string, sizeof(string), " Interйs ganado: 0.%d por ciento", interest);
SendClientMessageEx(i, COLOR_GRAD2, string);
Info[i][pAccount] += paytotal;
format(string, sizeof(string), " Total: $%d | N. Balance : %d$", paytotal, Info[i][pAccount]);
SendClientMessageEx(i, COLOR_GRAD2, string);
SendClientMessageEx(i, COLOR_WHITE, "-------------------------------------------------");
Yo te doy algo simple y facil pero no se le varia:
pawn Код:
|