Group System
#7

I would try with this:
pawn Код:
enum gInfo
{
    gName[24],
    members
// ...
};
new GroupInfo[MAX_GROUPS][gInfo];
// saving function
for(new i = 0; i<MAX_GROUPS; i++)
{
    format(string, sizeof(string), "UPDATE `groups` SET `Name`='%s' WHERE `GroupID`='%d'", i, DB_Escape(GroupInfo[i][gName]));
            db_free_result(db_query(GroupDatabase, string));

}
Reply


Messages In This Thread
Group System - by JaKe Elite - 29.11.2014, 04:01
Re: Group System - by iiNzTicTx - 29.11.2014, 04:52
Re: Group System - by JaKe Elite - 29.11.2014, 05:11
Re: Group System - by JaKe Elite - 29.11.2014, 09:54
Re: Group System - by Raweresh - 29.11.2014, 10:13
Re: Group System - by bogushas - 29.11.2014, 10:14
Re: Group System - by dominik523 - 29.11.2014, 10:17
Re: Group System - by JaKe Elite - 29.11.2014, 20:33

Forum Jump:


Users browsing this thread: 1 Guest(s)