Jump to content

Question

Posted (edited)

Buna , am si eu o problema . Mi-se restarteaza serverulul random . In server_log am gasit asta

Stie cineva ce pot face :) Va rog ❤️ . Multumesc frumos

 

 

[23:17:26] [join] rezana has joined the server (1:---------------------)
[23:17:26] [debug] Run time error 4: "Array index out of bounds"
[23:17:26] [debug]  Accessing element at index 1 past array upper bound 0
[23:17:26] [debug] AMX backtrace:
[23:17:26] [debug] #0 00200b24 in ?? (... <1 argument>) at GM.pwn:8108
[23:17:26] [debug] #1 000aef80 in public MP_OPC (playerid=1) at C:\Users\xda\Desktop\gamemode-impact\gamemode-rpg-impact\pawno\include\YSI\y_hooks/impl.inc:633
[23:17:26] [debug] #2 native CallLocalFunction () from samp03svr
[23:17:26] [debug] #3 0000c77c in public SSCANF_OnPlayerConnect (playerid=1) at C:\Users\xda\Desktop\gamemode-impact\gamemode-rpg-impact\pawno\include\mSelection.inc:432
[23:17:26] [debug] #4 00003210 in public Itter_OnPlayerConnect (playerid=1) at C:\Users\xda\Desktop\gamemode-impact\gamemode-rpg-impact\pawno\include\sscanf2.inc:236
[23:17:26] [debug] #5 00001684 in public OnPlayerConnect (playerid=1) at C:\Users\Florin\Dxda\gamemode-impact\gamemode-rpg-impact\pawno\include\YSI\y_iterate.inc:646
Edited by FlobertRO

4 answers to this question

Recommended Posts

  • 0
Posted

In linia 8108 in gamemode este un textdraw

 


    SK[playerid][6] = CreatePlayerTextDraw(playerid,306.000000, 299.000000, "LD_BEAT:cross");
   linia 8108 : PlayerTextDrawAlignment(playerid,SK[playerid][6], 2); 
    PlayerTextDrawBackgroundColor(playerid,SK[playerid][6], 155);
    PlayerTextDrawFont(playerid,SK[playerid][6], 4);
    PlayerTextDrawLetterSize(playerid,SK[playerid][6], 0.200000, 1.100000);
    PlayerTextDrawColor(playerid,SK[playerid][6], -1);
    PlayerTextDrawSetOutline(playerid,SK[playerid][6], 0);
    PlayerTextDrawSetProportional(playerid,SK[playerid][6], 1);
    PlayerTextDrawSetShadow(playerid,SK[playerid][6], 1);
    PlayerTextDrawUseBox(playerid,SK[playerid][6], 1);
    PlayerTextDrawBoxColor(playerid,SK[playerid][6], 0);
    PlayerTextDrawTextSize(playerid,SK[playerid][6], 15.000000, 16.000000);

  • 0
Posted (edited)
On 1/17/2022 at 3:53 PM, FlobertRO said:

In linia 8108 in gamemode este un textdraw

 


    SK[playerid][6] = CreatePlayerTextDraw(playerid,306.000000, 299.000000, "LD_BEAT:cross");
   linia 8108 : PlayerTextDrawAlignment(playerid,SK[playerid][6], 2); 
    PlayerTextDrawBackgroundColor(playerid,SK[playerid][6], 155);
    PlayerTextDrawFont(playerid,SK[playerid][6], 4);
    PlayerTextDrawLetterSize(playerid,SK[playerid][6], 0.200000, 1.100000);
    PlayerTextDrawColor(playerid,SK[playerid][6], -1);
    PlayerTextDrawSetOutline(playerid,SK[playerid][6], 0);
    PlayerTextDrawSetProportional(playerid,SK[playerid][6], 1);
    PlayerTextDrawSetShadow(playerid,SK[playerid][6], 1);
    PlayerTextDrawUseBox(playerid,SK[playerid][6], 1);
    PlayerTextDrawBoxColor(playerid,SK[playerid][6], 0);
    PlayerTextDrawTextSize(playerid,SK[playerid][6], 15.000000, 16.000000);

Uita-te in gamemode unde ai definita variabila SK, cel mai probabil e ceva de genul new SK[MAX_PLAYERS][ceva numar aici] si pune aici.

Edited by TheGodfather

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.