[Ajuda]Payday
#10

se queres tanto usar nъmeros hexa ...


seus sistemas checao entre 500x players.


o meu checa enquanto oplayers estiverem Online.
pawn Код:
public OnGameModeInit()
{
    SetTimer( "Salario", 3600000, 0xF-9 );
    return 1;
}

forward Salario( playerid );
public Salario( playerid )
{
   SendClientMessage( playerid, /*Cor*/, "[Patrгo]:Estб aqui teu salбrio!" );
   for( new i; i<MAX_PLAYERS; i++ )
   {
      if(IsPlayerConnected(i))
      {
        if( Profissao[ i] == PROSTITUTA ) return GivePlayerMoney( i, 2000 );
        else if( Profissao[ i] == BOMBADAOFEDORENTO ) return GivePlayerMoney( i, 1000 );
        else if( Profissao[ i] == HACKER ) return GivePlayerMoney( i, 500 );
        else if (Profissao[ i] == POLICIAL ) return GivePlayerMoney( i, 5000 );
     }
   }
   return 0xF-10;
}

- semata!
Reply


Messages In This Thread
[Ajuda]Payday - by [Dk]TuReTOo - 19.05.2011, 20:49
Re: [Ajuda]Payday - by Macintosh - 19.05.2011, 20:52
Re: [Ajuda]Payday - by The Knight - 19.05.2011, 20:55
Re: [Ajuda]Payday - by TheGarfield - 19.05.2011, 20:59
Re: [Ajuda]Payday - by [Dk]TuReTOo - 19.05.2011, 21:11
Re: [Ajuda]Payday - by Macintosh - 19.05.2011, 21:29
Re: [Ajuda]Payday - by The Knight - 19.05.2011, 21:33
Re: [Ajuda]Payday - by Macintosh - 19.05.2011, 21:38
Re: [Ajuda]Payday - by The Knight - 19.05.2011, 21:41
Re: [Ajuda]Payday - by TheGarfield - 19.05.2011, 21:45

Forum Jump:


Users browsing this thread: 2 Guest(s)