Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //no topo:
- forward @PayDay();
- //no OnGameModeInit:
- SetTimer("@PayDay", 60000*15, 1); //a cada 15 minutos (mude o "15" caso queira outro time...)
- //no final do mode:
- @PayDay()
- {
- for(new i; i < MAX_PLAYERS; i++)
- {
- if(gTeam[i] == TEAM_POLICIAL)
- {
- GivePlayerMoney(i, 5000);
- SendClientMessage(i, 0xFFF000AA, "Voc� recebeu seu sal�rio: $5000.");
- } else if(gTeam[i] == TEAM_PEDREIRO)
- {
- GivePlayerMoney(i, 1);
- SendClientMessage(i, 0xFFF000AA, "Voc� recebeu seu sal�rio: $1."); //kkkk
- } //etc
- }
- }
Add Comment
Please, Sign In to add comment