04.03.2016, 12:33
public function's arguments cant own a default value![Huh?](images/smilies/confused.gif)
Just make a simple example, and we complie it.
get a error about that.
long time not coding makes my programming disordered.Fxxk.
![Huh?](images/smilies/confused.gif)
Code:
forward kick(playerid, bool:check = false); public kick(playerid, bool:check = false) { if(!kick) SetTimerEx("kick", 1000, false, "dd", playerid, true); else Kick(playerid); }
get a error about that.
Code:
error 059: function argument may not have a default value (variable "check")