03.09.2015, 14:19
Quote:
True, the character '@' declare a public function| @test() -> public test()
|
Example which works :
PHP код:
#include <a_samp>
main()
{
@test();
}
forward @test();
@test()
{
print("test");
}
PHP код:
#include <a_samp>
main()
{
test();
}
forward test();
@test()
{
print("test");
}
Код:
error 004: function "test" is not implemented warning 235: public function lacks forward declaration (symbol "@test")