blackHat
Expert
- Joined
 - Jul 28, 2013
 
- Messages
 - 930
 
- Reaction score
 - 2
 
hello, i just installed a gamemode and open it and compile it again and it didn't so i found the problem with includes and i changed it from 
	
	
	
		
TO
	
	
	
		
and it compiled successfully
then i run the server and i get this massage:
Script[gamemodes/tdm2.amx]: Run time error 19: "File or function is not found"
why is that , tdm2 and tdm2.amx are both in gamemodes folder
i searched abit and found someone fixed by include the plugins into server.cfg
HOW i can include it ?
this is my cfg
	
	
	
		
you see i add
plugins PluginName
is this right?
and i still get errors , what is wrong :yuno:
this is the script
http://samp-scripts.com/post/17137/Team_Deadmatch_v0.2/finelaq/gamemodes/deathmatch
			
			
		Code:
	
	#include <sscanf>
	
		Code:
	
	#include <sscanf2>
	and it compiled successfully
then i run the server and i get this massage:
Script[gamemodes/tdm2.amx]: Run time error 19: "File or function is not found"
why is that , tdm2 and tdm2.amx are both in gamemodes folder
i searched abit and found someone fixed by include the plugins into server.cfg
HOW i can include it ?
this is my cfg
		Code:
	
	echo Executing Server Config...
lanmode 0
rcon_password 123
maxplayers 10
port 7777
hostname TEAM DEATHMATCH
gamemode0 tdm2 1
filterscripts gl_actions gl_realtime gl_property gl_mapicon ls_mall ls_elevator attachments skinchanger vspawner
announce 0
query 1
chatlogging 0
weburl 
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
plugins  zcmd
plugins  sscanf2
plugins  YSI
plugins  YSI\y_ini
	you see i add
plugins PluginName
is this right?
and i still get errors , what is wrong :yuno:
this is the script
http://samp-scripts.com/post/17137/Team_Deadmatch_v0.2/finelaq/gamemodes/deathmatch