31.12.2010, 07:12
this is the line
and these are the errors
and just in case you are needing this is the chunk of code that goes with it
any help is Hugely appreciated, Thanks
pawn Код:
format(string, sizeof(string), "Geographical Location: %s | Playing Hours: %d | Materials: %d | House: %d | Business: %d", "LastIP")) , dini_Int(string2, "PlayingHours"), dini_Int(string2, "Materials"), dini_Int(string2, "House"), dini_Int(string2, "Business"));
pawn Код:
(21383) : error 001: expected token: ";", but found ")"
(21383) : error 029: invalid expression, assumed zero
(21383) : error 029: invalid expression, assumed zero
(21383) : fatal error 107: too many error messages on one line
pawn Код:
else
{
format(string, sizeof(string), "Name: %s | Admin Level: %d | Last IP: %s | Last Login: %d/%d/%d | Time: %d:%d | Status: Unbanned.", Name, dini_Int(string2, "AdminLevel"), dini_Get(string2, "LastIP"), dini_Int(string2, "LastLoginDay"), dini_Int(string2, "LastLoginMonth"), dini_Int(string2, "LastLoginYear"), dini_Int(string2, "LastLoginHour"), dini_Int(string2, "LastLoginMinute"));
SendClientMessage(playerid, GREY, string);
format(string, sizeof(string), "Geographical Location: %s | Playing Hours: %d | Materials: %d | House: %d | Business: %d", "LastIP")) , dini_Int(string2, "PlayingHours"), dini_Int(string2, "Materials"), dini_Int(string2, "House"), dini_Int(string2, "Business"));
SendClientMessage(playerid, GREY, string);
format(string, sizeof(string), "Cocaine: %d grams | Pot: %d grams | Faction: %d (%s)", dini_Int(string2, "Crack"), dini_Int(string2, "Pot"), dini_Int(string2, "Faction"), Factions[dini_Int(string2, "Faction")][FactionName]);
SendClientMessage(playerid, GREY, string);
}
}