apparently you declared donator as a string try declare it as an int
|
Hey,
I have an error with my donation system.
The compiler says:
required:int, string, string
found: int, int, string
The code:
if(MYSQL.checkDonation(q12, donator, playerName)){
if(MYSQL.donationGiven(playerName))
{
sM("Thank you for donating!");
sM("You have now " + donator + " callcredits.");
}
}
Check Donation method:
public static boolean checkDonation(int q12, String donator, String playerName)
apparently you declared donator as a string try declare it as an int
Edit: Derp, sorry.
post your checkdonation method i need to see the usage for the string donor
Thanks for helping, i fixed it.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |