Array size problem- Problems with autoincrement values
#3

Quote:
Originally Posted by Vince
Посмотреть сообщение
The id stored in the database is only there to uniquely identify that particular row. It does not have any intrinsic value. In the houseInfo enum you should add another attribute "databaseID" or something like that to store this id. When you go to update you use that value, NOT the array index.

However, to me it always seems silly to duplicate the data to the gamemode when it's already stored in the database. In many cases you can and should go directly to the database.
Vince I too need help in creating random spawn between the place where the event gonna take place
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)