MYSQL Getting and inserting
#6

You never set this variable "PVar[playerid][pVip]" to anything other than 0 in this code you displayed?

The only variable you set was PVar[playerid][pLevel], but that is not the one you are writing into the database, so of course if you're not setting the variable "PVar[playerid][pVip]", it will initialize as 0 and stay as 0. Then it will be 0 when you insert it into the database.
Reply


Messages In This Thread
MYSQL Getting and inserting - by AlExAlExAlEx - 20.02.2011, 15:14
Re: MYSQL Getting and inserting - by JaTochNietDan - 21.02.2011, 19:06
Re: MYSQL Getting and inserting - by AlExAlExAlEx - 21.02.2011, 19:11
Re: MYSQL Getting and inserting - by JaTochNietDan - 21.02.2011, 19:20
Re: MYSQL Getting and inserting - by AlExAlExAlEx - 21.02.2011, 20:21
Re: MYSQL Getting and inserting - by JaTochNietDan - 21.02.2011, 20:34
Re: MYSQL Getting and inserting - by AlExAlExAlEx - 21.02.2011, 20:41
Re: MYSQL Getting and inserting - by JaTochNietDan - 21.02.2011, 20:57
Re: MYSQL Getting and inserting - by AlExAlExAlEx - 21.02.2011, 20:59
Re: MYSQL Getting and inserting - by JaTochNietDan - 21.02.2011, 21:01

Forum Jump:


Users browsing this thread: 5 Guest(s)