ISO C++ forbids comparison between pointer and integer
Bonjour j'ai ajouté ca a player .cpp et j'ai une erreurs ISO C++ forbids comparison between pointer and integer

Vous pouvez m'aider SVP ?

Code :
    QueryResult *result;
    result = CharacterDatabase.PQuery("SELECT parlier FROM realmd.voting_points WHERE id = '%u'", GetSession()->GetAccountId());
    
    //Si na pas fait l'instance
    if(level >= 60 && result < 2)
     return;
    if(level >= 70 && result < 3)
     return;
    if(level >= 80 && result < 4)
     return;

Retourner en haut Accueil