22.06.2015, 17:56
PHP код:
if(iVehicleID != -1) {
VehType = 1;
break;
}
You're telling the script to break.
Just return 1...
You're not using any Do/While/Foreach/
Statements... So why are you trying to break out of the statement when they need that param to get inside the statement.