[Ajuda]Respeito no PlayDay de Vips e Socio
#8

olhem estб assim aki mas eu quero colocar mais que so 2 tipo de Vip no meu gm eu coloquei 5 tipo de vip
Vip Normal
Vip Bronze
Vip Prata
Vip Ouro
Vip Master
ai so tem o pd que ganha mais respeito o Vip Normal e o bronze assim que eu adiciono mais ele da erros varios erros ai que estб o problema.
Код:
					interest = (PlayerInfo[i][pConta]/1000)*(tmpintrate);
					PlayerInfo[i][pExp]++;
					PlayerPlayMusic(i);
					PlayerInfo[i][pConta] = Conta+interest;
					SendClientMessage(i, COLOR_LIGHTRED, "|___  Pagamento  ___|");
					format(string, sizeof(string), "  Salario: R$%d   Emposto: -R$%d", checks, TaxValue);
					SendClientMessage(i, COLOR_GRAD1, string);
					SendClientMessage(i, COLOR_GRAD1, "  Medico: R$300");
					if(PlayerInfo[i][pPHousekey] != 255 || PlayerInfo[i][pPbiskey] != 255)
					{
					    format(string, sizeof(string), "  Energia: -R$%d", ebill);
						SendClientMessage(i, COLOR_GRAD1, string);
					}
					format(string, sizeof(string), "  Banco: R$%d", Conta);
					SendClientMessage(i, COLOR_GRAD1, string);
					format(string, sizeof(string), "  Juros: 0.%d  por cento",tmpintrate);
					SendClientMessage(i, COLOR_GRAD2, string);
					format(string, sizeof(string), "  Juros R$%d", interest);
					SendClientMessage(i, COLOR_GRAD3, string);
					SendClientMessage(i, COLOR_GRAD4, "|--------------------------------------|");
					format(string, sizeof(string), "  Novo extrato: R$%d", PlayerInfo[i][pConta]);
					SendClientMessage(i, COLOR_GRAD5, string);
					format(string, sizeof(string), "  Aluguel: -R$%d", rent);
					SendClientMessage(i, COLOR_GRAD5, string);
					format(string, sizeof(string), "~r~-==- ~p~ Salario BPM ~r~ -==-");
					GameTextForPlayer(i, string, 5000, 1);
					GivePlayerMoneyEx(i,- 300);
					rent = 0;
					PlayerInfo[i][pPayDay] = 0;
					PlayerInfo[i][pPayCheck] = 0;
					PlayerInfo[i][pConnectTime] += 1;
					if(PlayerInfo[i][pVIP] == 3)
					{
					    PlayerInfo[i][pPayDayHad] += 1;
					    if(PlayerInfo[i][pPayDayHad] >= 3)
					    {
					        PlayerInfo[i][pExp]++;
					        PlayerInfo[i][pPayDayHad] = 0;
					    }
					}
					if(PlayerInfo[i][pVIP] == 2)
					{
					    PlayerInfo[i][pPayDayHad] += 2;
					    if(PlayerInfo[i][pPayDayHad] >= 5)
					    {
					        PlayerInfo[i][pExp]++;
					        PlayerInfo[i][pPayDayHad] = 0;
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)