04.01.2011, 02:54
Hey guys, these questions might make some of you laugh, but w.e idc, i could use some help understanding mysql more.
Alright say im going to use enums for the system, for example:
How would i correctly make a database for this? I know i use VARCHAR for username and password, and i set them at 24 value. But how do i know what to set the pSQLid to, the house keys, the items, etc to.
If someone could explain this, and use my example of psqlid, i would be forever grateful, lol, yeah i sound corny oh well.
some other enums you could use to explain, could be pFaction, then maybe floats, for locations. Thanks in advance.
Alright say im going to use enums for the system, for example:
pawn Код:
enum pInfo
{
pUsername,
pSQLid,
pPassword
}
new PlayerInfo[MAX_PLAYERS][pInfo];
If someone could explain this, and use my example of psqlid, i would be forever grateful, lol, yeah i sound corny oh well.
some other enums you could use to explain, could be pFaction, then maybe floats, for locations. Thanks in advance.