Jump to content

[REZOLVAT] Problema startwork.


CRGAdv
 Share

Recommended Posts

  • Username : CRGAdv
  • Problema întâlnită: Eroare la [/startwork].
  • Detalii despre problemă: Am adaugat un job nou, dar cand dau [/startwork], nu merge.
  • Ce ai încercat să faci înainte să postezi?: Sa verific daca este vreo limita la joburi la comanda respectiva.
  • Cod sursa (recomandat pastebin.com) :
 		</pre>
<li>		[11:33:29] [debug]  Accessing element at index 14 past array upper bound 13
	[11:33:29] [debug] AMX backtrace:
	[11:33:29] [debug] #0 001a9430 in public @_yCstartwork (0, 77194184, 0) from crgadv.amx
	[11:33:29] [debug] #1 001a911c in public @yC_startwork (0, 77194184, 0, 0) from crgadv.amx	</li>	<li>	
Alte detalii : Dau +1. Edited by CRGAdv
 

 

 

 

Link to comment
Share on other sites

Verifica variabila: JobDeelay

Daca este: JobDeelay[playerid][14] => JobDeelay[playerid][15].

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

1 minute ago, iMatt said:

Verifica variabila: JobDeelay

Daca este: JobDeelay[playerid][14] => JobDeelay[playerid][15].

for(new t = 0; t < 14; t++) {
                if(JobDeelay[x][t] != 0) {
                    JobDeelay[x][t] -= 5;
                    if(JobDeelay[x][t] < 0) JobDeelay[x][t] = 0;
                }
            }

Am modificat in 20, revin cu edit.

 

 

 

 

Link to comment
Share on other sites

Just now, CRGAdv said:

for(new t = 0; t < 14; t++) {
                if(JobDeelay[x][t] != 0) {
                    JobDeelay[x][t] -= 5;
                    if(JobDeelay[x][t] < 0) JobDeelay[x][t] = 0;
                }
            }

Am modificat in 20, revin cu edit.

Puteai sa modifici doar 15

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

#0 00215d78 in public playerOneSecondTimer () from crgadv.amx
[11:57:47] [debug] Run time error 4: "Array index out of bounds"
[11:57:47] [debug]  Accessing element at index 14 past array upper bound 13

..

 

 

 

 

Link to comment
Share on other sites

Just now, CRGAdv said:

#0 00215d78 in public playerOneSecondTimer () from crgadv.amx
[11:57:47] [debug] Run time error 4: "Array index out of bounds"
[11:57:47] [debug]  Accessing element at index 14 past array upper bound 13

..

Undeva nu ai modificat un loop, cauta tot ce e legat de JobDeelay sau de la alte variabile de la job...

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...