Public function cannot have default values?
#1

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?

PHP Code:
PUBLIC:kick(playeridban falselogin false)
{
    
Kick(playerid);
    return 
1;

Code:
 error 059: function argument may not have a default value (variable "ban")
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)