Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enum Jugadores{
- Nombre,
- Float:Posicion[3],
- bool:Registro,
- Skin,
- Float:Vida,
- Float:Chaleco,
- Dinero,
- Banco,
- Nivel,
- Exp,
- Trabajo,
- Permiso,
- bool:Conectado
- };
- new Jugador[MAX_PLAYERS][Jugadores];
- SetTimerEx("givePayday", 1000 * 60 * 10, true, "i", Jugador);
- forward givePayday(jgd); // Line 161
- public givePayday(jgd)
- {
- new time[3];
- new hours, minutes, seconds;
- gettime(time[0],time[1],time[2]);
- hours = time[0];
- minutes = time[1];
- seconds = time[2];
- if(hours >= 0 && hours <= 24){
- if(minutes >= 0 && minutes <= 10){
- // Código dar dinero a todos
- for(new i = 0; i < sizeof(jgd); i++)
- {
- GivePlayerMoney(jgd[i][Nombre], 750); // Line 176
- }
- }
- }
- return 1;
- }; // Line 182
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement