Native problem.
This is my code in expmod.sma :
PHP Code:
Code:
native use_pobierz_KameHame(id)PHP Code:
Warning: Tag mismatch on line 29 |
Re: Natibe help please.
registering native is like this:
PHP Code:
|
Re: Native problem.
error : Error: Undefined symbol "get_params" on line 1731
why I have to add get_params(0); ? |
Re: Native problem.
use "get_param(number of parameter)"
you have to add get_param, to for plugin correctly:}, really params counts can be different, if you use fixed params, this will be problem for other plugins and etc.. |
Re: Native problem.
I have :
PHP Code:
|
Re: Native problem.
Quote:
Quote:
Here natives are registered with style 1 (plugins,params) and get_param are not relevant here. In exp.inc file you may have to do : Code:
native bool:use_pobierz_KameHame ( index );Also, i hope that PHP Code:
PHP Code:
Check false: PHP Code:
PHP Code:
|
Re: Native problem.
PHP Code:
|
Re: Native problem.
Remove :
new id = get_params(0); And try to understand what you are doing... there is a tutorial about fake natives. |
Re: Native problem.
I know.
Is the rest is okay? |
| All times are GMT -4. The time now is 20:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.