Help with dini please
#1

me yet again

i just tried coding dini and i got these error, im stumpped

pawn Код:
(331) error 017: undefined symbol "cmd"
(337) error 001: expected token: ";", but found "-identifier-"
(337) error 017: undefined symbol "dini_get"
(337) error 033: array must be indexed (variable "readfile")
(377) fatal error 107: too many error messages on one line

LINES:
(331): if(strcmp(cmd, "/savetofile", true) == 0) {
(337):readfile = dini_get("File.txt", playername);
Reply
#2

hi, Use This For The Command:
Код:
if (strcmp("/savetofile", cmdtext, true, 10) == 0 {
readfile = dini_get("file.txt", playername);
Reply
#3

now i get these...

pawn Код:
C:\Users\Tyler Burgess\Documents\SA Servers\Own coded\gamemodes\Playrole.pwn(332) : error 029: invalid expression, assumed zero
C:\Users\Tyler Burgess\Documents\SA Servers\Own coded\gamemodes\Playrole.pwn(339) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Tyler Burgess\Documents\SA Servers\Own coded\gamemodes\Playrole.pwn(339) : error 017: undefined symbol "dini_get"
C:\Users\Tyler Burgess\Documents\SA Servers\Own coded\gamemodes\Playrole.pwn(339) : error 033: array must be indexed (variable "readfile")
C:\Users\Tyler Burgess\Documents\SA Servers\Own coded\gamemodes\Playrole.pwn(339) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)