[HELP] expected token
#1

PHP код:
format(stringsizeof string"Wine Time Left: %d."TimeConvert(GetPVarInt(playerid"pPrisonWineTime")); 
PHP код:
./includes/updates/prison_system.pwn(2231) : error 001expected token","but found ";" 
Whole 'function'

PHP код:
if(PlayerInfo[playerid][pPrisonMWine] >= 1)
    {
        if(
gettime() >> GetPVarInt(playerid"pPrisonWineTime"))
        {
            
SendClientMessageEx(playeridCOLOR_GREY"Wine Time Left: 0:00:00.");
        }
        else
        {
            
format(stringsizeof string"Wine Time Left: %d."TimeConvert(GetPVarInt(playerid"pPrisonWineTime"));
            
SendClientMessageEx(playeridCOLOR_GREYstring);
        }
    } 
halp
Reply


Messages In This Thread
[HELP] expected token - by BornHuman - 01.12.2015, 23:07
Re: [HELP] expected token - by vassilis - 01.12.2015, 23:09
Re: [HELP] expected token - by BornHuman - 01.12.2015, 23:10
Re: [HELP] expected token - by vassilis - 01.12.2015, 23:12
Re: [HELP] expected token - by BornHuman - 01.12.2015, 23:13
Re: [HELP] expected token - by vassilis - 01.12.2015, 23:19
Re: [HELP] expected token - by Vince - 01.12.2015, 23:20
Re: [HELP] expected token - by BornHuman - 01.12.2015, 23:22
Re: [HELP] expected token - by AmigaBlizzard - 01.12.2015, 23:22

Forum Jump:


Users browsing this thread: 2 Guest(s)