Run time 19 error file or function is not found -
Scripter12345 - 23.04.2012
Hello, I have recently been trying to create my won game mode but i have come across a problem, the scrip compiles but when i run it it says run time error 19 file or function is not found
What could cause this problem ?
My plugins are defined in the script and the plguins are in the correct place
pawn Code:
#include <a_samp>
#include <zcmd>
#include <foreach>
#include <sscanf2>
#include <YSI\y_ini>
Thank You
Please Help Me Please
Re: Run time 19 error file or function is not found -
Mark™ - 23.04.2012
Post your server_log.
Re: Run time 19 error file or function is not found -
Scripter12345 - 23.04.2012
Quote:
Originally Posted by Xtreme_playa
Post your server_log.
|
Wrong thing
Re: Run time 19 error file or function is not found -
Mark™ - 23.04.2012
Quote:
Originally Posted by Scripter12345
pawn Code:
echo Executing Server Config... lanmode 0rcon_password ------------maxplayers 32port 7777hostname Server gamemode0 GM 1filterscripts announce 0query 1weburl [url ]www.sa-mp.com [/url ]onfoot_rate 40incar_rate 40weapon_rate 40stream_distance 300.0stream_rate 1000maxnpc 0logtimeformat [%H:%M:%S ]
|
Your server_log not your server.cfg !
Re: Run time 19 error file or function is not found -
Scripter12345 - 23.04.2012
Quote:
Originally Posted by Xtreme_playa
Your server_log not your server.cfg !
|
Please remove your post quoting mine i dont want people seeing my server cfg
pawn Code:
SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team
[16:37:09] filterscripts = "" (string)
[16:37:09]
[16:37:09] Server Plugins
[16:37:09] --------------
[16:37:09] Loaded 0 plugins.
[16:37:09]
[16:37:09] Ban list
[16:37:09] --------
[16:37:09] Loaded: samp.ban
[16:37:09]
[16:37:09]
[16:37:09] Filterscripts
[16:37:09] ---------------
[16:37:09] Loaded 0 filterscripts.
[16:37:09] Script[gamemodes/GM.amx]: Run time error 19: "File or function is not found"
[16:37:09] Number of vehicle models: 0
Thank You
Please Help Me Please
Re: Run time 19 error file or function is not found -
Mark™ - 23.04.2012
Add line plugins sscanf in your server.cfg, create a folder called plugins and place the sscanf plugin in it, into your samp server directory.
Re: Run time 19 error file or function is not found -
Scripter12345 - 23.04.2012
Quote:
Originally Posted by Xtreme_playa
Add line plugins sscanf in your server.cfg, create a folder called plugins and place the sscanf plugin in it, into your samp server directory.
|
Delete your post quoting my server cfg please
Re: Run time 19 error file or function is not found -
Mark™ - 23.04.2012
Quote:
Originally Posted by Scripter12345
Delete your post quoting my server cfg please
|
Did you do that ? Don't go off topic.
Re: Run time 19 error file or function is not found -
Scripter12345 - 23.04.2012
Quote:
Originally Posted by Xtreme_playa
Did you do that ? Don't go off topic.
|
Yes it did work
Thank You
Just one more quick question how comes when i do this
pawn Code:
new levels,Nam[MAX_PLAYER_NAME],pname[MAX_PLAYER_NAME],str[128],ID;
It comes up with this
pawn Code:
warning 219: local variable "str" shadows a variable at a preceding level
Like 11 times
Thank You
Please Help Me Please
Re: Run time 19 error file or function is not found -
.FuneraL. - 23.04.2012
Quote:
Originally Posted by Scripter12345
Yes it did work
Thank You
Just one more quick question how comes when i do this
pawn Code:
new levels,Nam[MAX_PLAYER_NAME],pname[MAX_PLAYER_NAME],str[128],ID;
It comes up with this
pawn Code:
warning 219: local variable "str" shadows a variable at a preceding level
Like 11 times
Thank You
Please Help Me Please
|
Symbol already defined, this new change to str2 and change all the str function to str2
pawn Code:
new levels,Nam[MAX_PLAYER_NAME],pname[MAX_PLAYER_NAME],str2[128],ID;