como da getStorage em C++ , é assim ? if(player->getStorage((*it)->89612, 0)
getStorage

std::string strValue;
if( player->getStorage(89612, strValue) ){
if ( strValue == "-1" ){
...
}
}
"Só a beira do abismo que os seres humanos acham forças para mudar."... E isso me da nojo... ¬¬
"Insanity is doing the exact... same fucking thing... over and over again expecting... shit to change... That. Is. Crazy." -Vass/Einstein
Se for na propria classe.
getStorage(228282, std::string)
/\ e o valor vai parar onde?
"Só a beira do abismo que os seres humanos acham forças para mudar."... E isso me da nojo... ¬¬
"Insanity is doing the exact... same fucking thing... over and over again expecting... shit to change... That. Is. Crazy." -Vass/Einstein
/\ e o valor vai parar onde?
coloquei std::string significando que precisa usar std para o valor.
obrigado gente, o jeito do Slicer deu certo xD