Posts: 457
Threads: 7
Joined: Jul 2017
Quote:
Originally Posted by Bussyman
Hi,
If i have function
Код:
stock anyfunction()
{
return true;
}
stock anyfunction()
{
return 1;
}
Is there any difference? do i need anyfunction with return true make bool:anyfunction or this is not need?
|
well, with making it bool:anyfunction() it will only return "false" or "true", but without "bool:" the function can return many type of objects/variables