SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 01/09/2018, 03:48 PM   #1
YungVot
Little Clucker
 
Join Date: Oct 2012
Location: USA
Posts: 37
Reputation: 0
Default error 19 help

kee getting this error

Script[gamemodes/yungvot.amx]: Run time error 19: "File or function is not found"
__________________
Davis Empire Role Play

Server IP:158.69.1.42:7777

https://discord.io/Davis-Empire-Role-Play
YungVot is offline   Reply With Quote
Old 01/09/2018, 04:13 PM   #2
Lokii
Huge Clucker
 
Join Date: Sep 2017
Posts: 374
Reputation: 92
Default Re: error 19 help

add to you'r GM script:

PHP Code:
main() { } 
if you still get that message or you allready got main in you'r GM script update you'r plugins and includes
__________________
Lokii is offline   Reply With Quote
Old 01/09/2018, 04:20 PM   #3
YungVot
Little Clucker
 
Join Date: Oct 2012
Location: USA
Posts: 37
Reputation: 0
Default Re: error 19 help

Quote:
Originally Posted by Lokii View Post
add to you'r GM script:

PHP Code:
main() { } 
if you still get that message or you allready got main in you'r GM script update you'r plugins and includes
now i get this in script

fatal error 100: cannot read from file: "zcmd"
__________________
Davis Empire Role Play

Server IP:158.69.1.42:7777

https://discord.io/Davis-Empire-Role-Play
YungVot is offline   Reply With Quote
Old 01/09/2018, 04:23 PM   #4
DarkMythHunter
Big Clucker
 
DarkMythHunter's Avatar
 
Join Date: May 2017
Location: Philippines
Posts: 139
Reputation: 24
Default Re: error 19 help

If it's on #include <zcmd>

Make sure you have zcmd.inc in your Pawno>include folder.
__________________


DarkMythHunter is offline   Reply With Quote
Old 01/09/2018, 11:21 PM   #5
YungVot
Little Clucker
 
Join Date: Oct 2012
Location: USA
Posts: 37
Reputation: 0
Default Re: error 19 help

Which plugins do I need to update?
__________________
Davis Empire Role Play

Server IP:158.69.1.42:7777

https://discord.io/Davis-Empire-Role-Play
YungVot is offline   Reply With Quote
Old 01/09/2018, 11:43 PM   #6
Undef1ned
Huge Clucker
 
Undef1ned's Avatar
 
Join Date: Aug 2018
Posts: 211
Reputation: 18
Default Re: error 19 help

add the include "zcmd" in your "pawno> include" folder and compile your game mode.
Undef1ned is offline   Reply With Quote
Old 02/09/2018, 12:15 AM   #7
GaMiX
Little Clucker
 
Join Date: Aug 2018
Location: EgYpT.
Posts: 27
Reputation: 0
Default Re: error 19 help

first thing , download ZCMD include , you could find it here >>
http://forum.sa-mp.com/showthread.php?t=91354

after downloading , put zcmd.inc on ScriptFolder\Pawno\Includes

2nd: make sure that you loaded the required Plugins,

about updating includes , update streamer
__________________
GaMiX.
INFINITY FREEROAM
51.255.146.121:7766

GaMiX is offline   Reply With Quote
Old 02/09/2018, 04:36 AM   #8
Sew_Sumi
Banned
 
Join Date: Jun 2008
Location: Azerbaijan
Posts: 6,242
Reputation: 525
Default Re: error 19 help

Can people confuse the OP any more than needed?

Updating isn't wise to hand out as a first 'goto' for fixing issues, as in MANY CASES IT BREAKS THEM MORE.


The issue is that the function isn't found, no-one really knows which is failing, but yet has every fix out under the sun.

The worst part of this, is NO-ONE is asking for the LOGS to see if a PLUGIN IS ACTUALLY FAILING before throwing out RANDOM FIXES.




OP, Throw up your server.log for a startup. And as DarkMythHunter said, Check, and report back...
Sew_Sumi is offline   Reply With Quote
Old 02/09/2018, 05:33 PM   #9
YungVot
Little Clucker
 
Join Date: Oct 2012
Location: USA
Posts: 37
Reputation: 0
Default Re: error 19 help

I have it you’ll thanks for the response
__________________
Davis Empire Role Play

Server IP:158.69.1.42:7777

https://discord.io/Davis-Empire-Role-Play
YungVot is offline   Reply With Quote
Old 02/09/2018, 05:59 PM   #10
GaMiX
Little Clucker
 
Join Date: Aug 2018
Location: EgYpT.
Posts: 27
Reputation: 0
Default Re: error 19 help

Quote:
Originally Posted by Sew_Sumi View Post
Can people confuse the OP any more than needed?

Updating isn't wise to hand out as a first 'goto' for fixing issues, as in MANY CASES IT BREAKS THEM MORE.


The issue is that the function isn't found, no-one really knows which is failing, but yet has every fix out under the sun.

The worst part of this, is NO-ONE is asking for the LOGS to see if a PLUGIN IS ACTUALLY FAILING before throwing out RANDOM FIXES.




OP, Throw up your server.log for a startup. And as DarkMythHunter said, Check, and report back...
ey man , he asked which includes to update, i answered him , i didn't tell him to update them just explaining ..
__________________
GaMiX.
INFINITY FREEROAM
51.255.146.121:7766

GaMiX is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error 017: undefined symbol,fatal error 107: too many error messages on one line Slicebook Scripting Help 11 04/05/2014 08:30 PM
fatal error 111: user error: sscanf (possibly the PAWN version) already defined? minijackc Scripting Help 2 15/01/2013 04:17 AM
An error has occured. (Error ID: 1064, You have an error in your SQL syntax; check the manual that corresponds.... rati555 Scripting Help 1 14/09/2012 07:45 PM
Registered plate stock error 'error 076: syntax error in the expression, or invalid function call' Deal-or-die Scripting Help 2 25/06/2012 03:12 PM
I get tagmismatch error, But i cant find any error error Swiftz Help Archive 1 16/04/2011 04:31 AM


All times are GMT. The time now is 04:12 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.