War sistem

Započeo Borelli, April 30, 2020, 19:54:11 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Uzeo sam da ubacim war sistem od Eltano Gaminga i izdvojio sam sve sto mi treba i izadje error
Dio skripte:[pawn]if( WARPInfo[ playerid ][ warTeam ][ 0 ] == true )
   {
        format( globalstring, sizeof( globalstring ), ""BELA"WAR | "COL_TEAM1"%s: "BELA"je napustio WAR i server.", GetName( playerid ) );
        WARMessage( WARPInfo[ playerid ][ warID ], -1, globalstring );
        WARInfo[ WARPInfo[ playerid ][ warID ] ][ warTeamMembers ][ 0 ]--;
    }

    if( WARPInfo[ playerid ][ warTeam ][ 1 ] == true )
   {
        format( globalstring, sizeof( globalstring ), ""BELA"WAR | "COL_TEAM2"%s: "BELA"je napustio WAR i server.", GetName( playerid ) );
        WARMessage( WARPInfo[ playerid ][ warID ], -1, globalstring );
        WARInfo[ WARPInfo[ playerid ][ warID ] ][ warTeamMembers ][ 1 ]--;
    }[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
Slika/video ingame problema(obavezno ako je ingame problem):


Evo ga error gore imate sve linije
C:\Users\Nikola\Desktop\Merseyside RP - v1.0\gamemodes\mrp.pwn(5552) : warning 217: loose indentation
C:\Users\Nikola\Desktop\Merseyside RP - v1.0\gamemodes\mrp.pwn(5554) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Nikola\Desktop\Merseyside RP - v1.0\gamemodes\mrp.pwn(5554) : warning 215: expression has no effect
C:\Users\Nikola\Desktop\Merseyside RP - v1.0\gamemodes\mrp.pwn(5554) : error 001: expected token: ";", but found "-string-"
C:\Users\Nikola\Desktop\Merseyside RP - v1.0\gamemodes\mrp.pwn(5554) : warning 215: expression has no effect
C:\Users\Nikola\Desktop\Merseyside RP - v1.0\gamemodes\mrp.pwn(5554) : error 001: expected token: ";", but found ")"
C:\Users\Nikola\Desktop\Merseyside RP - v1.0\gamemodes\mrp.pwn(5554) : fatal error 107: too many error messages on one line
Poslednja Izmena: Maj 01, 2020, 13:32:11 POSLE PODNE od Galardo

Jel imas defined globalstring
AKO ZNAS ZA BOGA I ZA GLAVU ZIVU NE BRANI MI DOKTORE RAKIJU I PIVU

Citat: // lestra poslato April 30, 2020, 20:26:00 POSLE PODNE
Jel imas defined globalstring

Imam
[pawn]new globalstring[ 128 ];[/pawn]
Poslednja Izmena: April 30, 2020, 20:36:35 POSLE PODNE od Borelli

Imas definisane boje? I daj liniju bas 5554

Problem je boja, nije lepo definisana

Sredjeno hvala svima
[/b]