17.08.2015, 18:27
There is nothing wrong with that line, the only tag mistake I could see would be PlayerInfo[playerid][pDBID] and that's your problem as I don't have that array ![Smiley](images/smilies/smile.png)
There are the two possibilities of a tag mistake
1. Possibility: pDBID has an unknown tag (not a Integer or Float)
2. Possibility: pDBID isn't from the correct enum
The first can be fixed easily with
![Smiley](images/smilies/smile.png)
There are the two possibilities of a tag mistake
1. Possibility: pDBID has an unknown tag (not a Integer or Float)
2. Possibility: pDBID isn't from the correct enum
The first can be fixed easily with
pawn Код:
format(query, sizeof(query), "SELECT * FROM `friendsdb` WHERE `UserDBID` = %i", _: PlayerInfo[playerid][pDBID]);