[Ajuda]Payday
#6

pawn Код:
public OnGameModeInit()
{
 SetTimer("Salario", 3600000, 0x0);
 return 1;
}
pawn Код:
forward Salario();
public Salario()
{
 SendClientMessage(playerid, Cor, "[Patrгo] Estб aqui teu salбrio!");
 for(new i; i<MAX_PLAYERS; i++)
 {
  if(Profissao[playerid] == PROSTITUTA) return GivePlayerMoney(playerid, 2000);
  else if(Profissao[playerid] == BOMBADAOFEDORENTO) return GivePlayerMoney(playerid, 1000);
  else if(Profissao[playerid] == HACKER) return GivePlayerMoney(playerid, 500);
  else if(Profissao[playerid] == POLICIAL) return GivePlayerMoney(playerid, 5000);
 }
 return 0x1;
}
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: 3 Guest(s)