[AJUDA]Defenir Salario
#6

Quote:
Originally Posted by [Dk]TuReTOo
Посмотреть сообщение
PHP код:
if(PoliciaRankL[playerid][Rank] == 1)
{
    
Salario[playerid] = 1000;
        
GivePlayerMoney(playeridSalario[playerid]);

este codigo coloco onde ?
Depende amigo, eu nгo encontrei o gamemode, mas se o envio dos salarios for em um timer (ou algo do tipo) coloque lб.

Ex:

pawn Код:
public Salarios()
{
    for(new i=0; i<MAX_PLAYERS; ++i)
    {
        if(IsPlayerConnected(i)){
            if(PoliciaRankL[i][Rank] == 1)
            {
                Salario[i] = 1000;
                GivePlayerMoney(i, Salario[i]);
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
[AJUDA]Defenir Salario - by [Dk]TuReTOo - 30.06.2011, 21:09
Re: [AJUDA]Defenir Salario - by Dark.Angel - 30.06.2011, 21:26
Re: [AJUDA]Defenir Salario - by [Dk]TuReTOo - 30.06.2011, 21:41
Re: [AJUDA]Defenir Salario - by crush_ - 30.06.2011, 22:14
Re: [AJUDA]Defenir Salario - by [Dk]TuReTOo - 30.06.2011, 22:38
Re: [AJUDA]Defenir Salario - by crush_ - 30.06.2011, 22:48
Re: [AJUDA]Defenir Salario - by Sr.Pekeno - 01.07.2011, 04:33

Forum Jump:


Users browsing this thread: 2 Guest(s)