SA-MP Forums Archive
Problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problem (/showthread.php?tid=522971)



Problem - Problems - 30.06.2014

pawn Код:
case 1:{format(labelstring,sizeof(labelstring),"Owned: Yes \nPrice: %i \nLevel: %i \nOwner: %s",HInfo[i][Price],HInfo[i][Level],HInfo[i][Owner]);//If it is...
Errors:
pawn Код:
D:\Games\SFCRRPGv1.1\Best\filterscripts\scratch.pwn(326) : warning 217: loose indentation
D:\Games\filterscripts\scratch.pwn(326) : error 014: invalid statement; not in switch
D:\Games\filterscripts\scratch.pwn(326) : warning 215: expression has no effect
D:\Games\filterscripts\scratch.pwn(326) : error 001: expected token: ";", but found ":"
D:\Games\filterscripts\scratch.pwn(326) : error 029: invalid expression, assumed zero
D:\Games\filterscripts\scratch.pwn(326) : 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.
Fixed.


Re: Problem - Lynn - 30.06.2014

case 1: { format(labelstring,sizeof(labelstring),"Owned: Yes \nPrice: %i \nLevel: %i \nOwner: %s",HInfo[i][Price],HInfo[i][Level],HInfo[i][Owner]); }
You need closing bracket.