09.11.2016, 22:00
Hello. That's the question.
Public functions (all of them are for timers) cannot have default values? If no, I need to create multiple functions?
Public functions (all of them are for timers) cannot have default values? If no, I need to create multiple functions?
PHP Code:
PUBLIC:kick(playerid, ban = false, login = false)
{
Kick(playerid);
return 1;
}
Code:
error 059: function argument may not have a default value (variable "ban")