25.02.2015, 20:35
This is the Line 701 that shows errors.
I tried also:
but same error message.
Knowing that fname is going to be inserted.
PHP код:
format(FactionInfo[id][fName],sizeof(FactionInfo[id][fName]),fname);
PHP код:
format(FactionInfo[id][fName],sizeof(FactionInfo[id][fName]),"%s",fname);
Quote:
C:\Users\moka\Desktop\PROG\03z\gamemodes\test.pwn( 701) : error 001: expected token: "]", but found "-identifier-" C:\Users\moka\Desktop\PROG\03z\gamemodes\test.pwn( 701) : warning 215: expression has no effect C:\Users\moka\Desktop\PROG\03z\gamemodes\test.pwn( 701) : error 001: expected token: ";", but found "]" C:\Users\moka\Desktop\PROG\03z\gamemodes\test.pwn( 701) : error 029: invalid expression, assumed zero C:\Users\moka\Desktop\PROG\03z\gamemodes\test.pwn( 701) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
PHP код:
new txt,fname[28], type, vworld, Float:Xi, Float:Yi, Float:Zi, inti;
if(sscanf(params, "s[28]ddfffd", fname, type, inti, Xi, Yi, Zi, txt))