Problem(error/warning): Kada ubacim tdove i kad postavim u tdovima gdje ce se nalaziti banka zlato ne prikazuju se
Dio skripte:Ako treba napisite
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): //
Slika/video ingame problema(obavezno ako je ingame problem): http://noobot.info/uploader/image.php?di=ZLJ2 Napomena:Koristim Smart Project mod
I jos samo da kazem dolaze mi warings
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(148) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19548) : warning 217: loose indentation
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19984) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19985) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19985) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19985) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19986) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19986) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19986) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19987) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19987) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19987) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19988) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19988) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19988) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19989) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19989) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19989) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19990) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19990) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19990) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19991) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19991) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19991) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19992) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19992) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19992) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19993) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19993) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(19993) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20052) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20053) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20053) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20053) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20054) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20054) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20054) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20055) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20055) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20055) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20056) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20056) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20056) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20057) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20057) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20057) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20058) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20058) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20058) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20059) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20059) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20059) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20060) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20060) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20060) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20061) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20061) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20061) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20063) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20064) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20064) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20064) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20065) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20065) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20065) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20066) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20066) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20066) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20067) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20067) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20067) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20068) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20068) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20068) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20069) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20069) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20069) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20070) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20070) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20070) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20071) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20071) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20071) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20072) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20072) : warning 213: tag mismatch
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20072) : warning 202: number of arguments does not match definition
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20301) : warning 217: loose indentation
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20312) : warning 217: loose indentation
C:\Users\Ernad\Desktop\City Gaming Community by Dux\gamemodes\CG.pwn(20341) : warning 216: nested comment
Pawn compiler 3.10.4 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 30612 bytes
Code size: 6326168 bytes
Data size: 41955680 bytes
Stack/heap size: 16384 bytes; estimated max. usage=3102 cells (12408 bytes)
Total requirements:48328844 bytes
89 Warnings.
Kodovi nam trebaju prijatelju.Daj nam gdje si stavio prikazivanje banke,zlata isl.Za warninge nam isto trebaju kodovi.Ne možemo napamet ništa.
LokacijaIgracaTD[ playerid ] = TextDrawCreate(364.800384, 436.599975, "LOKACIJA");
TextDrawLetterSize(playerid, LokacijaIgracaTD[ playerid ], 0.164500, 0.737600);
TextDrawAlignment(playerid, LokacijaIgracaTD[ playerid ], 2);
TextDrawColor(playerid, LokacijaIgracaTD[ playerid ], -2147483393);
TextDrawSetShadow(playerid, LokacijaIgracaTD[ playerid ], 0);
TextDrawSetOutline(playerid, LokacijaIgracaTD[ playerid ], 0);
TextDrawBackgroundColor(playerid, LokacijaIgracaTD[ playerid ], 255);
TextDrawFont(playerid, LokacijaIgracaTD[ playerid ], 2);
TextDrawSetProportional(playerid, LokacijaIgracaTD[ playerid ], 1);
TextDrawSetShadow(playerid, LokacijaIgracaTD[ playerid ], 0);
BankaIgraca[playerid] = TextDrawCreate(448.201171, 436.620086, "Banka:_12345678$");
TextDrawLetterSize(playerid,BankaIgraca[playerid], 0.164500, 0.737600);
TextDrawAlignment(playerid,BankaIgraca[playerid], 2);
TextDrawColor(playerid,BankaIgraca[playerid], -2147483393);
TextDrawSetShadow(playerid,BankaIgraca[playerid], 0);
TextDrawSetOutline(playerid,BankaIgraca[playerid], 0);
TextDrawBackgroundColor(playerid,BankaIgraca[playerid], 255);
TextDrawFont(playerid, BankaIgraca[playerid], 2);
TextDrawSetProportional(playerid,BankaIgraca[playerid], 1);
TextDrawSetShadow(playerid,BankaIgraca[playerid], 0);
ZlatoIgraca[playerid] = TextDrawCreate(536.995605, 436.620086, "Zlato:_12345678g");
TextDrawLetterSize(playerid,ZlatoIgraca[playerid], 0.164500, 0.737600);
TextDrawAlignment(playerid,ZlatoIgraca[playerid], 2);
TextDrawColor(playerid,ZlatoIgraca[playerid], -2147483393);
TextDrawSetShadow(playerid,ZlatoIgraca[playerid], 0);
TextDrawSetOutline(playerid,ZlatoIgraca[playerid], 0);
TextDrawBackgroundColor(playerid,ZlatoIgraca[playerid], 255);
TextDrawFont(playerid,ZlatoIgraca[playerid], 2);
TextDrawSetProportional(playerid,ZlatoIgraca[playerid], 1);
TextDrawSetShadow(playerid,ZlatoIgraca[playerid], 0);
To su te linije gdje su wearnizi ova linija 148 to cu fix
LokacijaTD[playerid] = TextDrawCreate(364.800384, 436.599975, "LOKACIJA");
TextDrawLetterSize(playerid, LokacijaTD[ playerid ], 0.164500, 0.737600);
TextDrawAlignment(playerid, LokacijaTD[ playerid ], 2);
TextDrawColor(playerid, LokacijaTD[ playerid ], -2147483393);
TextDrawSetShadow(playerid, LokacijaTD[ playerid ], 0);
TextDrawSetOutline(playerid, LokacijaTD[ playerid ], 0);
TextDrawBackgroundColor(playerid, LokacijaTD[ playerid ], 255);
TextDrawFont(playerid, LokacijaTD[ playerid ], 2);
TextDrawSetProportional(playerid, LokacijaTD[ playerid ], 1);
TextDrawSetShadow(playerid, LokacijaTD[ playerid ], 0);
BankaTD[playerid] = TextDrawCreate(448.201171, 436.620086, "Banka:~r~12345678$");
TextDrawLetterSize(playerid,BankaTD[playerid], 0.164500, 0.737600);
TextDrawAlignment(playerid,BankaTD[playerid], 2);
TextDrawColor(playerid,BankaTD[playerid], -2147483393);
TextDrawSetShadow(playerid,BankaTD[playerid], 0);
TextDrawSetOutline(playerid,BankaTD[playerid], 0);
TextDrawBackgroundColor(playerid,BankaTD[playerid], 255);
TextDrawFont(playerid, BankaTD[playerid], 2);
TextDrawSetProportional(playerid,BankaTD[playerid], 1);
TextDrawSetShadow(playerid,BankaTD[playerid], 0);
ZlatoTD[playerid] = TextDrawCreate(536.995605, 436.620086, "Zlato:~w~12345678g");
TextDrawLetterSize(playerid,ZlatoTD[playerid], 0.164500, 0.737600);
TextDrawAlignment(playerid,ZlatoTD[playerid], 2);
TextDrawColor(playerid,ZlatoTD[playerid], -2147483393);
TextDrawSetShadow(playerid,ZlatoTD[playerid], 0);
TextDrawSetOutline(playerid,ZlatoTD[playerid], 0);
TextDrawBackgroundColor(playerid,ZlatoTD[playerid], 255);
TextDrawFont(playerid,ZlatoTD[playerid], 2);
TextDrawSetProportional(playerid,ZlatoTD[playerid], 1);
TextDrawSetShadow(playerid,ZlatoTD[playerid], 0);
Probaj Ovako ;)
Citat: DuxMaster poslato Jul 08, 2018, 22:07:26 POSLE PODNE
LokacijaIgracaTD[ playerid ] = TextDrawCreate(364.800384, 436.599975, "LOKACIJA");
TextDrawLetterSize(playerid, LokacijaIgracaTD[ playerid ], 0.164500, 0.737600);
TextDrawAlignment(playerid, LokacijaIgracaTD[ playerid ], 2);
TextDrawColor(playerid, LokacijaIgracaTD[ playerid ], -2147483393);
TextDrawSetShadow(playerid, LokacijaIgracaTD[ playerid ], 0);
TextDrawSetOutline(playerid, LokacijaIgracaTD[ playerid ], 0);
TextDrawBackgroundColor(playerid, LokacijaIgracaTD[ playerid ], 255);
TextDrawFont(playerid, LokacijaIgracaTD[ playerid ], 2);
TextDrawSetProportional(playerid, LokacijaIgracaTD[ playerid ], 1);
TextDrawSetShadow(playerid, LokacijaIgracaTD[ playerid ], 0);
BankaIgraca[playerid] = TextDrawCreate(448.201171, 436.620086, "Banka:_12345678$");
TextDrawLetterSize(playerid,BankaIgraca[playerid], 0.164500, 0.737600);
TextDrawAlignment(playerid,BankaIgraca[playerid], 2);
TextDrawColor(playerid,BankaIgraca[playerid], -2147483393);
TextDrawSetShadow(playerid,BankaIgraca[playerid], 0);
TextDrawSetOutline(playerid,BankaIgraca[playerid], 0);
TextDrawBackgroundColor(playerid,BankaIgraca[playerid], 255);
TextDrawFont(playerid, BankaIgraca[playerid], 2);
TextDrawSetProportional(playerid,BankaIgraca[playerid], 1);
TextDrawSetShadow(playerid,BankaIgraca[playerid], 0);
ZlatoIgraca[playerid] = TextDrawCreate(536.995605, 436.620086, "Zlato:_12345678g");
TextDrawLetterSize(playerid,ZlatoIgraca[playerid], 0.164500, 0.737600);
TextDrawAlignment(playerid,ZlatoIgraca[playerid], 2);
TextDrawColor(playerid,ZlatoIgraca[playerid], -2147483393);
TextDrawSetShadow(playerid,ZlatoIgraca[playerid], 0);
TextDrawSetOutline(playerid,ZlatoIgraca[playerid], 0);
TextDrawBackgroundColor(playerid,ZlatoIgraca[playerid], 255);
TextDrawFont(playerid,ZlatoIgraca[playerid], 2);
TextDrawSetProportional(playerid,ZlatoIgraca[playerid], 1);
TextDrawSetShadow(playerid,ZlatoIgraca[playerid], 0);
Problem ti je u tome jer si stavio BankaIgraca[ playerid ] ty stavio si tu player text draw, a ovdje svugdje ti je global, odluci se koje ces koristit i tako odradi.
Ako trebas pomoc slobodno mi se javi PP