SA-MP Forums Archive
Functions not registered? - 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: Functions not registered? (/showthread.php?tid=641909)



Functions not registered? - Livar - 22.09.2017

Hello, I'm currently running a script that I've seen online. I've compiled it perfectly. However - when I run the server I get the following:

Код:
[13:32:54]    Error: Function not registered: 'Streamer_CallbackHook'
[13:32:54]    Error: Function not registered: 'SSCANF_Init'
[13:32:54]    Error: Function not registered: 'SSCANF_Join'
[13:32:54]    Error: Function not registered: 'SSCANF_Leave'
[13:32:54]    Error: Function not registered: 'mysql_query'
[13:32:54]    Error: Function not registered: 'mysql_connect'
[13:32:54]    Error: Function not registered: 'mysql_debug'
[13:32:54]    Error: Function not registered: 'IsPlayerInDynamicArea'
[13:32:54]    Error: Function not registered: 'CreateDynamicObject'
[13:32:54]    Error: Function not registered: 'DestroyDynamicObject'
[13:32:54]    Error: Function not registered: 'mysql_real_escape_string'
[13:32:54]    Error: Function not registered: 'DestroyDynamic3DTextLabel'
[13:32:54]    Error: Function not registered: 'CreateDynamicMapIcon'
[13:32:54]    Error: Function not registered: 'CreateDynamic3DTextLabel'
[13:32:54]    Error: Function not registered: 'MoveDynamicObject'
[13:32:54]    Error: Function not registered: 'GetDynamicObjectPos'
[13:32:54]    Error: Function not registered: 'Streamer_UpdateEx'
[13:32:54]    Error: Function not registered: 'UpdateDynamic3DTextLabelText'
[13:32:54]    Error: Function not registered: 'IsValidDynamicObject'
[13:32:54]    Error: Function not registered: 'sscanf'
[13:32:54]    Error: Function not registered: 'IsValidDynamic3DTextLabel'
[13:32:54]    Error: Function not registered: 'AttachDynamicObjectToVehicle'
[13:32:54]    Error: Function not registered: 'SetDynamicObjectRot'
[13:32:54]    Error: Function not registered: 'IsValidDynamicMapIcon'
[13:32:54]    Error: Function not registered: 'DestroyDynamicMapIcon'
[13:32:54]    Error: Function not registered: 'Streamer_TickRate'
[13:32:54]    Error: Function not registered: 'CreateDynamicPickup'
[13:32:54]    Error: Function not registered: 'mysql_close'
[13:32:54]    Error: Function not registered: 'mysql_store_result'
[13:32:54]    Error: Function not registered: 'mysql_fetch_int'
[13:32:54]    Error: Function not registered: 'mysql_free_result'
[13:32:54]    Error: Function not registered: 'mysql_num_rows'
[13:32:54]    Error: Function not registered: 'WP_Hash'
[13:32:54]    Error: Function not registered: 'mysql_fetch_row_format'
[13:32:54]    Error: Function not registered: 'mysql_retrieve_row'
[13:32:54]    Error: Function not registered: 'mysql_fetch_field_row'
[13:32:54]    Error: Function not registered: 'mysql_insert_id'
[13:32:54]    Error: Function not registered: 'CreateDynamicRectangle'
[13:32:54]    Error: Function not registered: 'IsValidDynamicArea'
[13:32:54]    Error: Function not registered: 'DestroyDynamicArea'
[13:32:54]    Error: Function not registered: 'IsValidDynamicPickup'
[13:32:54]    Error: Function not registered: 'DestroyDynamicPickup'
[13:32:54]    Error: Function not registered: 'SetDynamicObjectMaterialText'
[13:32:54]    Error: Function not registered: 'Streamer_Update'
[13:32:54]    Error: Function not registered: 'SetDynamicObjectPos'
[13:32:54]    Error: Function not registered: 'EditDynamicObject'
I am insanely confused as to why this is happening?


Re: Functions not registered? - Kampott - 22.09.2017

You've got a lot of includes that arent installed:
sscanf, mysql, streamer


Re: Functions not registered? - Livar - 22.09.2017

Quote:
Originally Posted by Kampott
Посмотреть сообщение
You've got a lot of includes that arent installed:
sscanf, mysql, streamer
Lol they're all installed bro trust me.


Re: Functions not registered? - Twizted - 22.09.2017

What's in your main() callback?


Re: Functions not registered? - Dignity - 22.09.2017

Quote:
Originally Posted by Livar
Посмотреть сообщение
Lol they're all installed bro trust me.
Doubt it.


Re: Functions not registered? - Kampott - 22.09.2017

Did you include all of them? (#include) at the beggining