SA-MP Forums Archive
How to fix this. - 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: How to fix this. (/showthread.php?tid=365593)



How to fix this. - Gamer_007 - 03.08.2012

Friends i added nativechecker plugin andi got these errors.Can anyone tell me how to fix it??'

Код:
[20:33:43]   Loaded 9 filterscripts.

[20:33:43]    Error: Function not registered: 'SSCANF_Init'
[20:33:43]    Error: Function not registered: 'SSCANF_Join'
[20:33:43]    Error: Function not registered: 'SSCANF_Leave'
[20:33:43]    Error: Function not registered: 'mysql_debug'
[20:33:43]    Error: Function not registered: 'mysql_connect'
[20:33:43]    Error: Function not registered: 'mysql_query'
[20:33:43]    Error: Function not registered: 'mysql_store_result'
[20:33:43]    Error: Function not registered: 'mysql_num_rows'
[20:33:43]    Error: Function not registered: 'mysql_fetch_field_row'
[20:33:43]    Error: Function not registered: 'mysql_free_result'
[20:33:43]    Error: Function not registered: 'mysql_retrieve_row'
[20:33:43]    Error: Function not registered: 'mysql_real_escape_string'
[20:33:43]    Error: Function not registered: 'mysql_fetch_row_format'
[20:33:43] Script[gamemodes/TMS-R.amx]: Run time error 19: "File or function is not found"
[20:33:43] Number of vehicle models: 1
[20:33:43]  
[20:33:43]



Re: How to fix this. - SEnergy - 03.08.2012

#include <a_mysql>
#include <sscanf>

or simply their includes, I don't know how are thjey named now :X


Re: How to fix this. - BrandyPenguin - 03.08.2012

You didn't load mysql and sscanf plugins or didn't copy them to plugins folder.


Re: How to fix this. - Gamer_007 - 04.08.2012

bro i am only having amx file.Can u now tell me how to fix??


Re: How to fix this. - Gamer_007 - 04.08.2012

now only this much left.wht to do now??
Код:
[20:33:43]    Error: Function not registered: 'SSCANF_Init'
[20:33:43]    Error: Function not registered: 'SSCANF_Join'
[20:33:43]    Error: Function not registered: 'SSCANF_Leave'



Re: How to fix this. - Lorenzo! - 04.08.2012

Use #include <sscanf> - Is it connected via MySQL?


Re: How to fix this. - SEnergy - 04.08.2012

download this

http://dl.dropbox.com/u/21683085/sscanf.rar

copy pawno and plugins folder to your samp server folder

add this at the top of your gamemode

pawn Код:
#include <sscanf2>
open server.cfg and add this at the bottom (if you don't have plugins line already)


Код:
plugins mysql sscanf



Re: How to fix this. - Gamer_007 - 04.08.2012

Quote:
Originally Posted by SEnergy
Посмотреть сообщение
download this

http://dl.dropbox.com/u/21683085/sscanf.rar

copy pawno and plugins folder to your samp server folder

add this at the top of your gamemode

pawn Код:
#include <sscanf2>
open server.cfg and add this at the bottom (if you don't have plugins line already)


Код:
plugins mysql sscanf
Done this but not working plus i dont have pwn file.only amx i have


Re: How to fix this. - Ranama - 04.08.2012

Then you'll get better find the .pwn file, since you won't get long if you can't update your gamemode and just have a .amx file :S


Re: How to fix this. - Gamer_007 - 04.08.2012

Quote:
Originally Posted by Ranama
Посмотреть сообщение
Then you'll get better find the .pwn file, since you won't get long if you can't update your gamemode and just have a .amx file :S
Dude this gamemode consist of 35000 lines and now its impossible to make bcz i maken it when i was free.Now i dont have much time.So i think i have to leave this