pawn Код:
OnGameModeInit()
{
SetTimer("pagamento", MINUTOS * 60000, true);
return true;
}
pagamento();
public pagamento()
{
for(new i = 0; i != MAX_PLAYERS; ++i)
if(IsPlayerConnected(i))
{
GivePlayerMoney(i, VALOR);
}
return SendClientMessageToAll(-1, "Hora do Pagamento");
}