Stupid issue which is annoying me
#1

Well, I decided to transfer my admin FS for y_ini. Then, I'm making another, just for make a register command. But that's gettin' annoying...

Heres my full script



My errors: Click here for see my full script [pastebin]

Maybe I'm being stupid indeed, or that's seriously really :X

Код:
C:\Documents and Settings\F e L i P e\Desktop\SAMP SERVER 0.3C\filterscripts\y_ini.pwn(86) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\F e L i P e\Desktop\SAMP SERVER 0.3C\filterscripts\y_ini.pwn(86) : error 035: argument type mismatch (argument 1)
C:\Documents and Settings\F e L i P e\Desktop\SAMP SERVER 0.3C\filterscripts\y_ini.pwn(89) : error 017: undefined symbol "Fexist"
C:\Documents and Settings\F e L i P e\Desktop\SAMP SERVER 0.3C\filterscripts\y_ini.pwn(91) : warning 204: symbol is assigned a value that is never used: "string"
C:\Documents and Settings\F e L i P e\Desktop\SAMP SERVER 0.3C\filterscripts\y_ini.pwn(91 -- 100) : warning 203: symbol is never used: "File"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
I know how to fix warnings, but just posted the full pawno log.
Thx at all
Reply
#2

in line 86 u type : format(File,sizeof(File),SERVER_USER_FILE,name);
which should be : format(string,sizeof(string),"Whatever : %s",variable);
format(File,sizeof(File),"Name : %s",name);

and its fexist not Fexist

and law 2 warnings mean that u didnt use variable string or File so just delete them
Reply
#3

Since you are using SERVER_USER_FILE
use:
pawn Код:
format(file, sizeof(file), SERVER_USER_FILE, name);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)