Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [10:00:51] [debug] AMX backtrace:
- [10:00:51] [debug] #0 00477f30 in public PayDay (2) from le-script.amx
- [10:00:51] [debug] #1 00477a9c in public PayPoeni () from le-script.amx
- [10:01:56] [debug] Run time error 4: "Array index out of bounds"
- [10:01:56] [debug] Accessing element at negative index -1
- forward PayPoeni();
- public PayPoeni()
- {
- new sat, minut, sekund, godina, mesec, dan;
- gettime( sat, minut, sekund );
- getdate( godina, mesec, dan );
- foreach( Player, i ) {
- if( i != IPI && IsPlayerConnected( i ) && UlogovanProvjera[ i ] == 1 ) {
- PlayerInfo[ i ][ pPayDayPoeni ]++;
- if( minut >= 0 && minut <= 3 ) {
- if( DobioPay[ i ] == 0 ) {
- PayDay( i );
- }
- }
- else if( minut > 3 ) DobioPay[ i ] = 0;
- }
- }
- if(minut == 0)
- {
- NeaktivnostVikendica();
- NeaktivnostStanova();
- NeaktivnostFirmi();
- SendClientMessageToAll(-1, ""CRVENA"[LE:RPG] "ZUTA"Vasa neaktivnost imovine je restartovana na 0h!");
- }
- if(minut == 1)
- {
- LottoIzvlacenje();
- NeaktivnostKuca();
- SetTimer("Respawn", 20000, false);
- SendClientMessageToAll(-1, ""SPLAVA"[RESPAWN!] "BIJELA"Pokrenut je respawn svih praznih vozila za 20 sekundi!");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement