add these up there under code, declarations

or w/e
Code: Select all
char cGizonTooLow[256], cGizonSuccesful[256];
and add this
if (m_pClientList[iClientH] == NULL) return;
if (m_pClientList[iClientH]->m_iGizonItemUpgradeLeft < 4){
ZeroMemory(cGizonTooLow, sizeof(cGizonTooLow));
wsprintf(cGizonTooLow,"You need 5 or more Majestic points");
ShowClientMsg(iClientH, cGizonTooLow);
}
else{
ZeroMemory(cGizonSuccesful, sizeof(cGizonSuccesful));
wsprintf(cGizonSuccesful, "Item Recived sucessfully");
ShowClientMsg(iClientH, cGizonSuccesful);
m_pClientList[iClientH]->m_iGizonItemUpgradeLeft -= 5;
DeleteClient(iClientH, TRUE, TRUE);
}
}
something like this then.