Saving player stats?
#1

CHECK MY POST ON SECOND PAGE
Reply
#2

dini_Get returns a string.

Код:
format(inputtext, sizeof(inputtest)-1, "%s", dini_Get(file, "Password"));
Reply
#3

Код:
C:\Users\Torran\Desktop\tRoleplay\filterscripts\tadmin.pwn(188) : error 017: undefined symbol "inputtest"
C:\Users\Torran\Desktop\tRoleplay\filterscripts\tadmin.pwn(188) : error 029: invalid expression, assumed zero
C:\Users\Torran\Desktop\tRoleplay\filterscripts\tadmin.pwn(188) : warning 215: expression has no effect
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply
#4

Due to his spelling error causing you to get the errors, I fixed it for you and him:

Код:
format(inputtext, sizeof(inputtext)-1, "%s", dini_Get(file, "Password"));
Reply
#5

Код:
C:\Users\Torran\Desktop\tRoleplay\filterscripts\tadmin.pwn(188) : warning 224: indeterminate array size in "sizeof" expression (symbol "")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Reply
#6

Quote:
Originally Posted by Joe Torran C
Код:
C:\Users\Torran\Desktop\tRoleplay\filterscripts\tadmin.pwn(188) : warning 224: indeterminate array size in "sizeof" expression (symbol "")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Try removing the -1
Reply
#7

Same warning
Reply
#8

Код:
format(inputtext, 32, "%s", dini_Get(file, "Password"));
Reply
#9

Quote:
Originally Posted by pen_†ĥęGun
Код:
format(inputtext, 32, "%s", dini_Get(file, "Password"));
Thanks will test ingame now
Reply
#10

Something wrong with that code,
Ingame i register and then login and it says Incorrect password,
It worked when it was a CMD though
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)