errori
C:\Documents and Settings\mario\My Documents\SAMP\LecevicA Server-Smapa\gamemodes\LA-RP.pwn(25131) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Documents and Settings\mario\My Documents\SAMP\LecevicA Server-Smapa\gamemodes\LA-RP.pwn(25131) : warning 215: expression has no effect
C:\Documents and Settings\mario\My Documents\SAMP\LecevicA Server-Smapa\gamemodes\LA-RP.pwn(25131) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\mario\My Documents\SAMP\LecevicA Server-Smapa\gamemodes\LA-RP.pwn(25131) : error 029: invalid expression, assumed zero
C:\Documents and Settings\mario\My Documents\SAMP\LecevicA Server-Smapa\gamemodes\LA-RP.pwn(25131) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
cijela skripta
if(dialogid == 2006)//provjera pin koda za bankomat
{
if(response)
{
if(PlayerInfo == 0)
{
SendClientMessage(playerid,COLOR_RED,"INFO: {FFFFFF}Morate prvo kupiti karticu");
return 1;
}
new kartica = PlayerInfo;
new ukucankod = strval(inputtext);
if( kartica == ukucankod )
{
format(string, sizeof(string), "{FF003F}INFO: {FFFFFF}Imate {34E81C} %d$ {FFFFFF} na vasem racunu.", PlayerInfo);
SendClientMessage(playerid, COLOR_GRAD3, string);
new string31;
format(string31, sizeof(string31), "{5CB4F2}Informacije.\n\n{FFFFFF}Imate {34E81C} %d {FFFFFF}na vasem racunu.\nNajvise moze te podigunut {34E81C}5000$ {FFFFFF}a najmanje {34E81C}1${FFFFFF}{FFFFFF}\n\nMolimo vas da upisete zeljeni iznos podignete novac."PlayerInfo);
ShowPlayerDialog(playerid,2007,DIALOG_STYLE_INPUT,"Bankomat",string31,"Podigni","Odustani");
}
else
{
SendClientMessage(playerid,COLOR_WHITE,"{FF003F}ERROR: {FFFFFF}Pogrijesili ste pin kod");
}
}
}
errori di se pojavljivaju
format(string31, sizeof(string31), "{5CB4F2}Informacije.\n\n{FFFFFF}Imate {34E81C} %d {FFFFFF}na vasem racunu.\nNajvise moze te podigunut {34E81C}5000$ {FFFFFF}a najmanje {34E81C}1${FFFFFF}{FFFFFF}\n\nMolimo vas da upisete zeljeni iznos podignete novac."PlayerInfo);format(string31, sizeof(string31), "{5CB4F2}Informacije.\n\n{FFFFFF}Imate {34E81C} %d {FFFFFF}na vasem racunu.\nNajvise moze te podigunut {34E81C}5000$ {FFFFFF}a najmanje {34E81C}1${FFFFFF}{FFFFFF}\n\nMolimo vas da upisete zeljeni iznos podignete novac."PlayerInfo);