[pomoc]erori

Započeo makelele, Avgust 06, 2011, 11:34:59 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

makelele

Skripta koju koristim:0
Detaljan opis problema:C:\Users\fixman\Desktop\Utopia\gamemodes\Utopia.pwn(216) : error 001: expected token: ",", but found "["
C:\Users\fixman\Desktop\Utopia\gamemodes\Utopia.pwn(216) : error 029: invalid expression, assumed zero
C:\Users\fixman\Desktop\Utopia\gamemodes\Utopia.pwn(216) : error 091: ambiguous constant; tag override is required (symbol "Deaths")
C:\Users\fixman\Desktop\Utopia\gamemodes\Utopia.pwn(216) : fatal error 107: too many error messages on one line

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


4 Errors.
Dio skripte:   GetPlayerName(playerid, name, sizeof(name));
   format(file,sizeof(file),"/tReg/%s.ini",name);
   if(fexist(file))
   {
       dini_IntSet(file,"Score", GetPlayerScore(playerid));
       dini_IntSet(file,"Money", GetPlayerMoney(playerid));
       dini_IntSet(file,"Deaths", PlayerInfo[playerid][Deaths]);
       dini_IntSet(file,"Kills", PlayerInfo[playerid][Kills]);
       dini_IntSet(file,"ServerTime", PlayerInfo[playerid][ServerTime]);
   }
Neke slike/video za lakse dobivanje pomoci(neobavezno):

dragan12

Daj enum pInfo ili kako ti je vec definisano
dini_IntSet(file,"Deaths", PlayerInfo[playerid][Deaths]);
Jel si siguran da ti je tako definisano Deaths da nije mozda pDeaths aj daj enum pa cemo srediti.

makelele

da vako je definisano
enum pInfo
{
   Deaths,
   Kills,
   ServerTime,



}

EDIT:Skonto sam :D
Poslednja Izmena: Avgust 06, 2011, 12:53:06 POSLE PODNE od fixman|AND1|