[Ajuda] Bug
#4

Como vocк seta esses porcentos

edit

tenta assim
pawn Код:
//topo
new Porcento[MAX_PLAYERS];
//PUBLIC
forward eSecurity(playerid);
public eSecurity(playerid)
{
new PC;
if(Porcento[playerid] == 0) Porcento[playerid]++; PC = 10;
if(Porcento[playerid] == 1) Porcento[playerid]++; PC = 20;
if(Porcento[playerid] == 2) Porcento[playerid]++; PC = 30;
if(Porcento[playerid] == 3) Porcento[playerid]++; PC = 40;
if(Porcento[playerid] == 4) Porcento[playerid]++; PC = 50;
if(Porcento[playerid] == 5) Porcento[playerid]++; PC = 60;
if(Porcento[playerid] == 6) Porcento[playerid]++; PC = 70;
if(Porcento[playerid] == 7) Porcento[playerid]++; PC = 80;
if(Porcento[playerid] == 8) Porcento[playerid]++; PC = 90;
if(Porcento[playerid] == 9) Porcento[playerid]++; PC = 100;
if(Porcento[playerid] == 10) Porcento[playerid]++;PC = 0;
    new string[256];
    format(string, sizeof(string), "%d", PC);
    SendClientMessageToAll(COLOR_LIGHTRED,string);
    return 1;
}
Reply


Messages In This Thread
[Ajuda] Bug - by GuikBretas - 08.03.2011, 16:15
Re: [Ajuda] Bug - by leandro123456 - 08.03.2011, 16:21
Re: [Ajuda] Bug - by GuikBretas - 08.03.2011, 16:26
Re: [Ajuda] Bug - by leandro123456 - 08.03.2011, 16:43
Re: [Ajuda] Bug - by rjjj - 08.03.2011, 16:59

Forum Jump:


Users browsing this thread: 1 Guest(s)