01.08.2012, 14:06
Hey,what's wrong here?
Error: (3313 -- 3322) error 001: expected token: ",", but found ";"
I marked there with "//" - the lines.
Error: (3313 -- 3322) error 001: expected token: ",", but found ";"
I marked there with "//" - the lines.
Код:
CMD:stats( playerid, params[ ] ) { if ( GetPVarInt( playerid, "Logged" ) == 0 ) return SendClientMessage( playerid, -1, ""COLOR_RED"{FFFFFF}To view your stats you must be logged in."); new iBox[ 1024 ], RegDate[ 40 ], pLastOn[ 20 + 20 ], pLevel = GetPVarInt( playerid, "AdminLevel") ; GetPVarString( playerid, "Date", RegDate, sizeof RegDate ); GetPVarString( playerid, "On", pLastOn, sizeof pLastOn ); format( iBox, sizeof iBox, "{FFFFFF}Hello "COLOR_LIGHTBLUE"%s{FFFFFF}, these are your stats\n\n\ {FFFFFF}Admin level: "COLOR_LIGHTBLUE"%s{FFFFFF}["COLOR_LIGHTBLUE"%d{FFFFFF}]\n\ {FFFFFF}VIP Level: "COLOR_LIGHTBLUE"%d\n\ {FFFFFF}Money: "COLOR_LIGHTBLUE"%d\n\ {FFFFFF}Score: "COLOR_LIGHTBLUE"%d\n\ {FFFFFF}Kills: "COLOR_LIGHTBLUE"%d\n\ {FFFFFF}Deaths: "COLOR_LIGHTBLUE"%d\n\ {FFFFFF}Registration Date: "COLOR_LIGHTBLUE"%s\n",//3313 pName( playerid ), GetPlayerLevelName( playerid ), pLevel, GetPlayerVLevel( playerid ), GetPlayerMoney( playerid ), GetPlayerScore( playerid ), GetPVarInt( playerid,"Kills" ), GetPVarInt( playerid,"Deaths" ), RegDate;//3322 format( iBox, sizeof iBox, "%s{FFFFFF}Last On: "COLOR_LIGHTBLUE"%s\n\ {FFFFFF}Car God: "COLOR_LIGHTBLUE"%s\n\ {FFFFFF}Player God: "COLOR_LIGHTBLUE"%s", iBox, pLastOn, GetPVarInt( playerid, "CGod" ) ? (""COLOR_GREEN"YES") : (""COLOR_RED"NO"), GetPVarInt( playerid, "God" ) ? (""COLOR_GREEN"YES") : (""COLOR_RED"NO")); ShowPlayerDialog( playerid, DIALOG_STATS, DIALOG_STYLE_MSGBOX, "{FFFFFF}Your Stats!", iBox, "OK", ""); return 1; }