Don't Load weapons...MYSQL
#9

Auto increment is enabled; thus this means that pID starts from 1 as I mentioned previously. Currently, the value of pData[playerid][pID] is 0 so the possible reasons are:

1) When a player registers, you do not retrieve the unique ID after sending the INSERT query using mysql_insert_id() (for StrickenKid's plugin or BlueG's older versions) or cache_insert_id() (for BlueG's R33+).
2) When a player logins, you do not store the player's unique ID to the variable.
Reply


Messages In This Thread
Don't Load weapons...MYSQL - by kexy96 - 25.08.2016, 10:48
Re: Don't Load weapons...MYSQL - by Shinja - 25.08.2016, 10:58
Re: Don't Load weapons...MYSQL - by kexy96 - 25.08.2016, 11:12
Re: Don't Load weapons...MYSQL - by Shinja - 25.08.2016, 11:18
Re: Don't Load weapons...MYSQL - by Konstantinos - 25.08.2016, 11:24
Re: Don't Load weapons...MYSQL - by kexy96 - 25.08.2016, 11:34
Re: Don't Load weapons...MYSQL - by Konstantinos - 25.08.2016, 11:56
Re: Don't Load weapons...MYSQL - by kexy96 - 25.08.2016, 12:52
Re: Don't Load weapons...MYSQL - by Konstantinos - 25.08.2016, 13:13

Forum Jump:


Users browsing this thread: 2 Guest(s)