SA-MP Forums Archive
Problem native - 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: Problem native (/showthread.php?tid=366746)



Problem native - Orhun_Kaya - 07.08.2012

hello I create new native,no error and no warnings but doesnt work help me please.

samp-server.exe error

Код:
Run time error 19: "File or function is not found
example(I add ongamemodeinit)
pawn Код:
AracOlustur(405, 1529.6,-1691.2, 13.3, 45.0, 79, 79, 99999, 50);
AracOlustur(405, 1529.6,-1692.2, 13.3, 45.0, 79, 79, 99999, 50);

native
pawn Код:
native AracOlustur(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2, respawn_delay, Float:health);
Please help I need this native


Re: Problem native - you10 - 07.08.2012

That is because that function doesn't exist in SA-MP or any plugins on your server. Natives are functions that are defined in the sa-mp server or plugins, and not the script.


Re: Problem native - Orhun_Kaya - 07.08.2012

Quote:
Originally Posted by you10
Посмотреть сообщение
That is because that function doesn't exist in SA-MP or any plugins on your server. Natives are functions that are defined in the sa-mp server or plugins, and not the script.
I create new include but doesnt work