SA-MP Forums Archive
sscanf unregistered help - 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: sscanf unregistered help (/showthread.php?tid=653500)



sscanf unregistered help - EzeGODezE - 06.05.2018

4:31:50] Error: Function not registered: 'mysql_format'
[14:31:50] Error: Function not registered: 'mysql_tquery'
[14:31:50] Error: Function not registered: 'CreateDynamicObject'
[14:31:50] Error: Function not registered: 'IsValidDynamicObject'
[14:31:50] Error: Function not registered: 'Streamer_GetArrayData'
[14:31:50] Error: Function not registered: 'Streamer_SetArrayData'
[14:31:50] Error: Function not registered: 'MoveDynamicObject'
[14:31:50] Error: Function not registered: 'Streamer_GetUpperBound'
[14:31:50] Error: Function not registered: 'Streamer_GetFloatData'
[14:31:50] Error: Function not registered: 'SetDynamicObjectRot'
[14:31:50] Error: Function not registered: 'DestroyDynamicObject'
[14:31:50] Error: Function not registered: 'DestroyDynamic3DTextLabel'
[14:31:50] Error: Function not registered: 'DestroyDynamicPickup'
[14:31:50] Error: Function not registered: 'IsValidDynamic3DTextLabel'
[14:31:50] Error: Function not registered: 'CreateDynamic3DTextLabel'
[14:31:50] Error: Function not registered: 'Streamer_GetIntData'
[14:31:50] Error: Function not registered: 'CreateDynamicPickup'
[14:31:50] Error: Function not registered: 'AttachDynamicObjectToVehicle'
[14:31:50] Error: Function not registered: 'DestroyDynamicArea'
[14:31:50] Error: Function not registered: 'CreateDynamicRectangle'
[14:31:50] Error: Function not registered: 'IsPlayerInDynamicArea'
[14:31:50] Error: Function not registered: 'DestroyDynamicMapIcon'
[14:31:50] Error: Function not registered: 'CreateDynamicMapIcon'
[14:31:50] Error: Function not registered: 'GetDynamicObjectPos'
[14:31:50] Error: Function not registered: 'mysql_unprocessed_queries'
[14:31:50] Error: Function not registered: 'UpdateDynamic3DTextLabelText'
[14:31:50] Error: Function not registered: 'cache_get_row_count'
[14:31:50] Error: Function not registered: 'cache_get_field_content'
[14:31:50] Error: Function not registered: 'cache_get_field_content_int'
[14:31:50] Error: Function not registered: 'cache_get_row_int'
[14:31:50] Error: Function not registered: 'GetDynamicObjectRot'
[14:31:50] Error: Function not registered: 'cache_get_field_content_float'
[14:31:50] Error: Function not registered: 'cache_get_row'
[14:31:50] Error: Function not registered: 'cache_insert_id'
[14:31:50] Error: Function not registered: 'EditDynamicObject'
[14:31:50] Error: Function not registered: 'mysql_connect'
[14:31:50] Error: Function not registered: 'mysql_errno'
[14:31:50] Error: Function not registered: 'Streamer_SetVisibleItems'
[14:31:50] Error: Function not registered: 'Streamer_TickRate'
[14:31:50] Error: Function not registered: 'SetDynamicObjectMaterial'
[14:31:50] Error: Function not registered: 'SetDynamicObjectMaterialText'
[14:31:50] Error: Function not registered: 'mysql_close'
[14:31:50] Error: Function not registered: 'Streamer_ToggleIdleUpdate'
[14:31:50] Error: Function not registered: 'IsValidDynamicPickup'
[14:31:50] Error: Function not registered: 'WP_Hash'
[14:31:50] Script[gamemodes/LLRPDec.amx]: Run time error 19: "File or function is not found"
[14:31:50] Number of vehicle models: 0


Re: sscanf unregistered help - FaLLenGirL - 06.05.2018

You don't have the "mysql" and "sscanf" plugin.
Or, you don't have the latest versions of this plugins, or maybe you have
these plugins but you didn't put their name at the line plugins in your "server.cfg" file.
You must have in your "server.cfg" file this:
PHP код:
plugins sscanf.dll mysql.dll (and others plugins
* Important (for plugins):
- .dll - if you use Windows Server.
- .so - if you use Linux Server.

Here you can find the latest plugins:
1. sscanf: https://github.com/maddinat0r/sscanf/releases
2. MySQL: https://github.com/pBlueG/SA-MP-MySQL/releases

PHP код:
[4:31:50Error: Function not registered'mysql_format' MySQL
[14:31:50Error: Function not registered'mysql_tquery' MySQL
[14:31:50Error: Function not registered'CreateDynamicObject' sscanf
[14:31:50Error: Function not registered'IsValidDynamicObject'  sscanf
[14:31:50Error: Function not registered'Streamer_GetArrayData' sscanf 
.
.

Also i see this:
PHP код:
Script[gamemodes/LLRPDec.amx]: Run time error 19"File or function is not found" 
This error appear if you don't have your gamemode at the line gamemode0 from your "server.cfg" or
if you don't have your "main( ) { }" on top of "OnGameModeInit" public , or your gamemode is missing from
the "gamemodes" folder, because in your "gamemodes" folder you must have "LLRPDec.pwn" and "LLRPDec.amx".

In your "server.cfg" must be like this:
PHP код:
gamemode0 LLRPDec 1 
The "main" must be like this:
PHP код:
main( ) // on top of the "OnGameModeInit" public.
{
    
// type something here as a message
}
public 
OnGameModeInit( )
{
    
// your initiate code etc.
    
    
return 1;

As i see you are a begginer i exaplined you here very detailed. This is the way
it is normal that a reply to look if someone is a begginer. Also check the "server.cfg"
details on this link: https://sampwiki.blast.hk/wiki/Server.cfg. You will know more about it.


* Big Atention:

- Don't forget to RE-COMPILE your scripts (in scripts where
you use sscanf or mysql) if you must update your plugins.


Re: sscanf unregistered help - Maxandmov - 06.05.2018

Either update your plugins, or check if you wrote them under 'plugins' entry in SA-MP server configuration file.