I'm having some difficulties running a plugin with that include
my dedicated testserver sais the following when i start a game with a plugin using his previous tutor.
error log:
L 04/21/2012 - 17:57:29: -------- Mapchange to de_dust --------
L 04/21/2012 - 17:57:29: [AMXX] Plugin "tutor-test.amxx" failed to load: Plugin uses an unknown function (name "czerotutor_create") - check your modules.ini.
does this need an extra module?
I have the basic modules running on the dedicated server :
Code:
fun
engine
fakemeta
geoip
sockets
regex
nvault
cstrike
csx
hamsandwich
I tryed with ConnorMcleods version too but that gave me this error:
L 04/21/2012 - 19:14:51: -------- Mapchange to de_dust --------
L 04/21/2012 - 19:14:52: [AMXX] Plugin "tutor-test.amxx" failed to load: Module/Library "cztutor" required for plugin. Check modules.ini.
This plugin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this plugin; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <amxmodx>
#define VERSION "0.0.1" #define PLUGIN "TutorText"
new const g_szTutorSounds[TutorSounds][] = { "sound/events/tutor_msg.wav", // Yellow, Green "sound/events/friend_died.wav", // Red "sound/events/enemy_died.wav", // Blue "sound/events/task_complete.wav" // Green }
public plugin_natives() { register_library("cztutor") register_native("client_tutor", "client_tutor") }
public plugin_precache() { new szModName[9] get_modname(szModName, charsmax(szModName)) if( !equal(szModName, "czero") ) { set_fail_state("Only works on condition zero") } }
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
Warning: Tag mismatch on line 178
Error: Number of arguments does not match definition on line 178
Warning: Tag mismatch on line 182
Error: Number of arguments does not match definition on line 182
2 Errors.
It doesnt work without the #include<czerotutor> and defenitly not with it
Why is it saying that the number of parameters is wrong?
__________________
Working on:
[CSGO/CSS] Mmorpg - an extensive XP/level modulair platform
Progress: [♣♣♣♣♣♣♣|♣♣♣]