native problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: native problem (
/showthread.php?tid=573434)
native problem -
giorgosdim12 - 07.05.2015
i have one problem i create one include and have one problem on include
code problem here
Код:
native SCM(playerid, color, const message[]);
and if load to test server and start client have this problem
Код:
Script[gamemodes/g.amx]: Run time error 19: "File or function is not found"
Re: native problem -
rappy93 - 07.05.2015
Are you trying to make SCM do the same thing as SendClientMessage ? If so, you could just use "#define" at the top of you script, no includes needed.
Also, if you still need help with this, please post a reply with more information so the people here can know what you want to do
.
Re: native problem -
giorgosdim12 - 07.05.2015
i fix this problem now have this problem i create new plugin on visual and have this problem -_-...
Error: Function not registered: 'SCM'
Re: native problem -
giorgosdim12 - 07.05.2015
thnx guys i fix my problem!
Re: native problem -
Konstantinos - 07.05.2015
https://sampwiki.blast.hk/wiki/Keywords:Initialisers#native
As long as it's not samp native or by a plugin, it will be given as not registered function (which it is).
EDIT: Nevemind, didn't refresh the page before posting.
Re: native problem -
giorgosdim12 - 07.05.2015
yes dry simply forgot to I do finally add plugin in .cfg xD