open.mp forum
[Pawn] Not Found Amx Function - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] Not Found Amx Function (/showthread.php?tid=2357)



Not Found Amx Function - lnrd77 - 2023-02-23

[23:24:44] No collision data found.
[23:24:44] Script[gamemodes/dayz.amx]: Run time error 19: "File or function is not found"
[23:24:44] Number of vehicle models: 0

Please  tell me how to fix this because i already compile the gamemode.pwn no error or etc and if i start the server this warning show on log server and can`t join the server


RE: Not Found Amx Function - Radical - 2023-02-24

Use crashdetect
Gives more details.


RE: Not Found Amx Function - lnrd77 - 2023-03-07

(2023-02-24, 02:16 AM)Radical Wrote: Use crashdetect
Gives more details.
 [09:44:25] No collision data found.
[09:44:25] [debug] Run time error 19: "File or function is not found"
[09:44:25] [debug]  mysql_log
[09:44:25] [debug]  mysql_tquery
[09:44:25] [debug]  cache_get_data
[09:44:25] [debug]  cache_get_field_content
[09:44:25] [debug]  mysql_escape_string
[09:44:25] [debug]  mysql_connect
[09:44:25] [debug]  mysql_errno
[09:44:25] [debug] Run time error 19: "File or function is not found"
[09:44:25] [debug]  mysql_log
[09:44:25] [debug]  mysql_tquery
[09:44:25] [debug]  cache_get_data
[09:44:25] [debug]  cache_get_field_content
[09:44:25] [debug]  mysql_escape_string
[09:44:25] [debug]  mysql_connect
[09:44:25] [debug]  mysql_errno


its all the error and debug how to fix that?


RE: Not Found Amx Function - Radical - 2023-03-08

First install Microsoft C++ redistributables that mentioned in https://github.com/pBlueG/SA-MP-MySQL#faq

Then tryagain to run samp-server

If errors still occoured:

Get MySQL plugin from https://github.com/pBlueG/SA-MP-MySQL/releases
Put mysql.dll in plugins folder.

Edit the server.cfg:
PHP Code:
plugins crashdetect mysql 

If you using open.mp edit config.json
PHP Code:
"legacy_plugins": [
    "crashdetect",
    "mysql"
 
], 



RE: Not Found Amx Function - lnrd77 - 2023-03-09

(2023-03-08, 12:11 AM)Radical Wrote: First install Microsoft C++ redistributables that mentioned in https://github.com/pBlueG/SA-MP-MySQL#faq

Then tryagain to run samp-server

If errors still occoured:

Get MySQL plugin from https://github.com/pBlueG/SA-MP-MySQL/releases
Put mysql.dll in plugins folder.

Edit the server.cfg:
PHP Code:
plugins crashdetect mysql 



If you using open.mp edit config.json


i already to install that but still same error
PHP Code:
"legacy_plugins": [
    "crashdetect",
    "mysql"
 
], 

i already to install that but still same error