small problem - formating
#1

This is the Line 701 that shows errors.
PHP код:
format(FactionInfo[id][fName],sizeof(FactionInfo[id][fName]),fname); 
I tried also:
PHP код:
format(FactionInfo[id][fName],sizeof(FactionInfo[id][fName]),"%s",fname); 
but same error message.

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.
Knowing that fname is going to be inserted.

PHP код:
new txt,fname[28], typevworldFloat:XiFloat:YiFloat:Ziinti;
    if(
sscanf(params"s[28]ddfffd"fnametypeintiXiYiZitxt)) 
Reply


Messages In This Thread
small problem - formating - by Alvin007 - 25.02.2015, 20:35
Re: small problem - formating - by DanishHaq - 25.02.2015, 20:41
Re : small problem - formating - by Alvin007 - 25.02.2015, 20:52
Re: small problem - formating - by DanishHaq - 25.02.2015, 20:58
Re : small problem - formating - by Alvin007 - 25.02.2015, 21:08
Re : small problem - formating - by Alvin007 - 25.02.2015, 22:21
Re: small problem - formating - by CalvinC - 26.02.2015, 05:22

Forum Jump:


Users browsing this thread: 2 Guest(s)