11.06.2013, 11:03
Quote:
Every "if" must be followed either by "return" or by { }. Your 1st if has neither of them.
|
pawn Код:
//If it's only one function
if(Something) ThisOneFunction();
if(Something)
ThisOneFunction();
//If it's more than one
if(Something)
{
ThisOneFunction();
ThisOtherFunction();
}
if(Something) {
ThisOneFunction();
ThisOtherFunction();
}
if(Something) { ThisOneFunction(); ThisOtherFunction(); }