Buna Seara, am adaugat si eu o noua Factiune, GM este HPQ123, dar dupa ce am adaugat in consola imi tot apare aceasta EROARE
mai jos postez si linia: 30855
Citat
[22:37:22] [debug] Run time error 4: "Array index out of bounds"
[22:37:22] [debug] Attempted to read/write array element at index 16 in array of size 16
[22:37:22] [debug] AMX backtrace:
[22:37:22] [debug] #0 003a5a1c in public Timers () at C:\Users\LogiS\Desktop\LogiStep.RpG\gamemodes\B-HOOD.pwn:30855
Citat
if(IsAMember(i)) {
if(InWar[PlayerInfo[pMember]] == 1) {
new faction = PlayerInfo[pMember];
for(new wi = 1; wi < sizeof(TurfInfo);wi++) {
if((WarInfo[wi][wFaction] == faction) || (WarInfo[wi][wAttacker] == faction)) {
new attackers = WarInfo[wi][wAttacker];
new defenders = WarInfo[wi][wFaction];
new uciderii = 0;
uciderii += ucideri[wi];
new decesee = 0;
decesee += decese[wi];
new Float: atscore = 0.0;
new Float: defscore = 0.0;
atscore = WarScoreF[attackers][wi];
defscore = WarScoreF[defenders][wi];
if(playerDeath == -1 && GetPlayerInterior(i) == 0 && IsAMember(i) && GetPlayerVirtualWorld(i) == 0 && PlayerInfo[pWantedLevel] == 0 && PlayerInfo[pJailTime] == 0) {
SetPlayerVirtualWorld(i, wi);
format(string, sizeof(string), "Ai fost teleportat in virtual world-ul %d deoarece mafia ta este intr-un war.", wi);
SCM(i, COLOR_YELLOW, string);
}
Question
WingsB
Buna Seara, am adaugat si eu o noua Factiune, GM este HPQ123, dar dupa ce am adaugat in consola imi tot apare aceasta EROARE
mai jos postez si linia: 30855
1 answer to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now