Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [11:27:13] [debug] AMX backtrace:
- [11:27:13] [debug] #0 002e759c in ?? (... <3 arguments>) at E:\SAMP SERVER NOVI!!!!\gamemodes\MarkelaMod.pwn:33100
- [11:27:13] [debug] #1 00011874 in public OnPlayerKeyStateChange (playerid=0, newkeys=16, oldkeys=0) at E:\SAMP SERVER NOVI!!!!\pawno\include\YSI\y_hooks/impl.inc:1948
- [11:27:56] [debug] Run time error 4: "Array index out of bounds"
- [11:27:56] [debug] Accessing element at index 501 past array upper bound 500
- [11:27:56] [debug] AMX backtrace:
- [11:27:56] [debug] #0 002e759c in ?? (... <3 arguments>) at E:\SAMP SERVER NOVI!!!!\gamemodes\MarkelaMod.pwn:33100
- [11:27:56] [debug] #1 00011874 in public OnPlayerKeyStateChange (playerid=0, newkeys=16, oldkeys=0) at E:\SAMP SERVER NOVI!!!!\pawno\include\YSI\y_hooks/impl.inc:1948
- // ovo je debug
- for(new i; i < MAX_STANOVA; i++)
- {
- linija 33100 >>>>> if(IsPlayerInRangeOfPoint(playerid, 3.0, SI[i][sUlazX], SI[i][sUlazY], SI[i][sUlazZ]))
- {
- if(PlayerInfo[playerid][pPosedovanjeStana] == i || SI[i][sZatvoreno] == 0)
- {
- SetPlayerVirtualWorld(playerid, SI[i][sVW]);
- SetPlayerInterior(playerid, SI[i][sInt]);
- SetPlayerPos(playerid, SI[i][sIzlazX], SI[i][sIzlazY], SI[i][sIzlazZ]);
- }
- else
- {
- GameTextForPlayer(playerid,"~r~ZAKLJUCANO",4000,1);
- return 1;
- }
- }
- if(IsPlayerInRangeOfPoint(playerid, 3.0, SI[i][sIzlazX], SI[i][sIzlazY], SI[i][sIzlazZ]) && GetPlayerVirtualWorld(playerid) == SI[i][sVW])
- {
- SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0);
- SetPlayerPos(playerid, SI[i][sUlazX], SI[i][sUlazY], SI[i][sUlazZ]);
- return 1;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement