Retrieving total playtime since registration! [MySQL]
#3

I get:

Код:
C:\DOCUME~1\DANNY~1.YOU\MYDOCU~1\LOSSAN~1\GAMEMO~1\MySQL.pwn(357) : error 017: undefined symbol "PlayerInfo"
C:\DOCUME~1\DANNY~1.YOU\MYDOCU~1\LOSSAN~1\GAMEMO~1\MySQL.pwn(357) : warning 215: expression has no effect
C:\DOCUME~1\DANNY~1.YOU\MYDOCU~1\LOSSAN~1\GAMEMO~1\MySQL.pwn(357) : error 001: expected token: ";", but found "]"
C:\DOCUME~1\DANNY~1.YOU\MYDOCU~1\LOSSAN~1\GAMEMO~1\MySQL.pwn(357) : error 029: invalid expression, assumed zero
C:\DOCUME~1\DANNY~1.YOU\MYDOCU~1\LOSSAN~1\GAMEMO~1\MySQL.pwn(357) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
here

pawn Код:
public TimeOnServer(playerid)
{
    pInfo[playerid][Seconds] ++;
    if(pInfo[playerid][Seconds] >=60)
    {
        pInfo[playerid][Minutes]++;
        pInfo[playerid][Seconds] =0;
    }
    if(PlayerInfo[playerid][Minutes] >=60)
    {
        pInfo[playerid][Minutes] =0;
        pInfo[playerid][Hours]++;
    }
}
plz help
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)