
Originally Posted by
omgisavedu
@alfredao Really?so that mean i cant create a clan at all?
Yeah ofcourse..
There should be a statement like
Code:
int bounty = "Here is just a query blabla for selecting how many bounty the character has, I know this is just an example";
int clanbounty = 1000;
if(bounty < clanbounty){
// Checks if you have enough bounty for making a clan
// Give a message when you don't have enough bounty
}else{
//Here will the query execute only if you have 1000 bounty or more.
"UPDATE Character SET BP=BP-1000 WHERE CID=@MasterCID"
}
Hope I explained it good for you:)