Run time error 19 - HELP please
#1

So hi guys,
Recently I've got an awesome gamemode and i have some problems.
First of all, I had this problem in pawno but i solved it by adding the newest a_samp.inc.
The problem is with SendDeathMessageToPlayer.
So how I said, I first had this problem in pawno and I solved it, and now i see that the console shows the same thing.

Log
[spoiler]SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[17:58:47] filterscripts = "" (string)
[17:58:47]
[17:58:47] Server Plugins
[17:58:47] --------------
[17:58:47] Loading plugin: mysql
[17:58:47] >> plugin.mysql: R34 successfully loaded.
[17:58:47] Loaded.
[17:58:47] Loading plugin: streamer
[17:58:47]

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[17:58:47] Loaded.
[17:58:47] Loading plugin: sscanf
[17:58:47]

[17:58:47] ===============================

[17:58:47] sscanf plugin loaded.

[17:58:47] Version: 2.8.1

[17:58:47] © 2012 Alex "******" Cole

[17:58:47] ===============================

[17:58:47] Loaded.
[17:58:47] Loading plugin: crashdetect
[17:58:47] CrashDetect v4.13 is OK.
[17:58:47] Loaded.
[17:58:47] Loaded 4 plugins.

[17:58:47]
[17:58:47] Filterscripts
[17:58:47] ---------------
[17:58:47] Loaded 0 filterscripts.

[17:58:47] [debug] Run time error 19: "File or function is not found"
[17:58:47] [debug] SendDeathMessageToPlayer
[17:58:47] [debug] Run time error 19: "File or function is not found"
[17:58:47] [debug] SendDeathMessageToPlayer
[17:58:47] Script[gamemodes/saints.amx]: Run time error 19: "File or function is not found"
[17:58:47] Number of vehicle models: 0 [/spoiler]

So that File or function is not found with SendDeathMessageToPlayer is the problem, but I don't know where.
Reply
#2

in your server.cfg do you have plugins added? show your server.cfg
Reply
#3

plugins mysql streamer sscanf crashdetect

These are my added plugins.
Reply
#4

Either something's wrong with a plugin, or you're missing one.
Reply
#5

Mmmm, this seems that you are running your server with an old samp-server.exe, announce and samp-npc.exe or the equivalent in Linux (Maybe with the version 0.3z), so try to update to version 0.3z R3.
Look:
Quote:

This Function(SendDeathMessageToPlayer) was added in SA-MP 0.3z R2-2 and will not work in earlier versions!
https://sampwiki.blast.hk/wiki/SendDeathMessageToPlayer
Obiously if you are running an old version, the error will appear because that version doesn't have this function
Reply
#6

Quote:
Originally Posted by Su37Erich
Посмотреть сообщение
Mmmm, this seems that you are running your server with an old samp-server.exe, announce and samp-npc.exe or the equivalent in Linux (Maybe with the version 0.3z), so try to update to version 0.3z R3.
Look:

https://sampwiki.blast.hk/wiki/SendDeathMessageToPlayer
Obiously if you are running an old version, the error will appear because that version doesn't have this function
Exactly as he said, you just updated your functions list to the newest version, but that doesnt fix anything, unless you update all the package ( samp-server.exe, announce and samp-npc.exe ), just download 0.3z and and put all 0.3z's files into your folder then replace them.

Enjoy your life.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)