STATS DIALOG

Započeo Simec, Decembar 10, 2017, 10:49:28 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: Athlone
Detaljan opis problema: Imam Athlone mod, i stats je td izbacio sam ga, i sad hocu ovaj da stavim u dialog? Moze pomoc, probao sam ovako izbaci mi error ovaj, pogledajte i pomozite :D
Dio skripte: evo dole
Neke slike/video za lakse dobivanje pomoci(neobavezno): //


format( globalstring, sizeof( globalstring ),"*** %s ***", ImeIgraca( targetid ) );
format( globalstring, sizeof( globalstring ), "Pol [%s] | Level:[%d] | Sati Igranja:[%d]", pol, level, PlayerInfo[ targetid ][ xOnlineSati ] );
format( globalstring, sizeof( globalstring ), "Respekt:[%d/%d] | Novac: [%d$] | Banka: [%d$]", exp, expamount, PlayerInfo[ targetid ][ xNovac ], PlayerInfo[ targetid ][ xBRacun] );
format( globalstring, sizeof( globalstring ), "Upozorenja: [%d/5] | Posao: [%s] | Posao ugovor: [%d/3]", warns, getJobName( PlayerInfo[ targetid ][ xPosao ] ), PlayerInfo[ targetid ][ xUgovor ] );
format( globalstring, sizeof( globalstring ), "Godine: [%d] | Organizacija: [%s] | Rank: [%d]", PlayerInfo[ targetid ][ xGodine ], getOrgName( PlayerInfo[ targetid ][ xClan ] ), PlayerInfo[ targetid ][ xRank ] );
format( globalstring, sizeof( globalstring ), "Kljuc Imovine1 [%d] | Kljuc Imovine2 [%d] | Kljuc Imovine3 [%d]", PlayerInfo[ targetid ][ xProperty ][ 0 ], PlayerInfo[ targetid ][ xProperty ][ 1 ], PlayerInfo[ targetid ][ xProperty ][ 2 ] );
        format( globalstring, sizeof( globalstring ), "Kljuc Firme [%d] | Garaza [%d]", PlayerInfo[ targetid ][ xFirmaID ], PlayerInfo[ targetid ][ xGarageID ] );
format( globalstring, sizeof( globalstring ), "Kljuc Vozila1 [%d] | Kljuc Vozila2 [%d]", PlayerInfo[ targetid ][ xVoziloID ][ 0 ], PlayerInfo[ targetid ][ xVoziloID ][ 1 ] );
format( globalstring, sizeof( globalstring ), "Kljuc Vozila3 [%d] | Kljuc Vozila4 [%d]", PlayerInfo[ targetid ][ xVoziloID ][ 2 ], PlayerInfo[ targetid ][ xVoziloID ][ 3 ] );
format( globalstring, sizeof( globalstring ), "Aktivnost igraca u staff timu: %d minuta", PlayerInfo[ targetid ][ xStaffMin ] );
format( globalstring, sizeof( globalstring ), "Kljuc hotela: [%d] | IP Adresa: [%s]", PlayerInfo[ targetid ][ xHotelID ], playersip );
format( globalstring, sizeof( globalstring ), "%s[ 0 ] | %s[%d] | %s[%d] | %s[%d] | %s[%d] | %s[%d]", weapname[ 0 ], weapname[ 1 ], bullets[ 1 ], weapname[ 2 ], bullets[ 2 ], weapname[ 3 ], bullets[ 3 ], weapname[4], bullets[4], weapname[5], bullets[5] );
format( globalstring, sizeof( globalstring ), "%s[%d] | %s[%d] | %s[%d] | %s[ 0 ] | %s[ 0 ] | %s[ 0 ]", weapname[6], bullets[6], weapname[7], bullets[7] ,weapname[8], bullets[8], weapname[9], weapname[10], weapname[11] );
    SPD(targetid, DIALOG_STATS, DIALOG_STYLE_MSGBOX, ""Santiago"STATS", globalstring, "U redu", "");
return 1;
}


A error

D:\athlone\gamemodes\GMRP.pwn(3606) : warning 201: redefinition of constant/macro (symbol "Santiago")
D:\athlone\gamemodes\GMRP.pwn(6132) : warning 217: loose indentation
D:\athlone\gamemodes\GMRP.pwn(6133) : warning 217: loose indentation
D:\athlone\gamemodes\GMRP.pwn(43075) : error 001: expected token: "-string end-", but found "-identifier-"
D:\athlone\gamemodes\GMRP.pwn(43075) : warning 215: expression has no effect
D:\athlone\gamemodes\GMRP.pwn(43075) : error 001: expected token: ";", but found "-string-"
D:\athlone\gamemodes\GMRP.pwn(43075) : warning 215: expression has no effect
D:\athlone\gamemodes\GMRP.pwn(43075) : warning 215: expression has no effect
D:\athlone\gamemodes\GMRP.pwn(43075) : warning 215: expression has no effect
D:\athlone\gamemodes\GMRP.pwn(43075) : warning 215: expression has no effect
D:\athlone\gamemodes\GMRP.pwn(43075) : error 001: expected token: ";", but found ")"
D:\athlone\gamemodes\GMRP.pwn(43075) : fatal error 107: too many error messages on one line

Compilation aborted.

Pawn compiler 3.10.4 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Srbija RolePlay v1 - uskoro


ne znaci mn ovo nis :D jedino ako bi mi dao primer nekii
Srbija RolePlay v1 - uskoro

Citat: 𝕊𝕚𝕞𝕖ð•"ð•" poslato Decembar 10, 2017, 10:57:10 PRE PODNE
ne znaci mn ovo nis :D jedino ako bi mi dao primer nekii


Ako je moguće uslikaj nam ovaj kod ali da se vidi fino na kojoj je liniji što pa ćemo ti pomoć.


eto linija iznad mouse coursora
Srbija RolePlay v1 - uskoro

"Santiago" je boja?Daj nam kako si je definirao

#define Santiago pa ovde id boje
Srbija RolePlay v1 - uskoro


#define Santiago                                                      0xB20000FF
Srbija RolePlay v1 - uskoro

Ako ne koristiš nigdje drugo tu boju zamjeni u

[pawn]#define Santiago                                                      "{B20000}"[/pawn]

Ako koristiÅ¡ onda samo stavi umjesto "Santiago"   --> {B20000}
odnosno:

         [pawn]SPD(targetid, DIALOG_STATS, DIALOG_STYLE_MSGBOX, "{B20000}STATS", globalstring, "U redu", "");[/pawn]

hvala radi
Srbija RolePlay v1 - uskoro