Hey ho ich hab ma Xtreme2Admin n bissle bearbeitet und nun zeigt er mir Errors an... ich hab keine Ahnung wie ich die beheben kann... könnt ihr mir ma helfen?
/********************************************
* Xtreme Administration Filterscript *
* Programmers: Xtreme *
* Creation Date: 07/13/2007 *
* Compatibility: SA:MP 0.2.2 r2 *
* Version: 2.2 || Release: 0 *
*******************************************/
#include <a_samp>
#include "xadmin/XtremeAdmin.inc"
#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
#define GetStringArg(%1,%2) for(new x = 0; getarg(%1,x) != '\0'; x++) %2[x] = getarg(%1,x)
#define yellow 0xFFFF00AA
#define green 0x33FF33AA
#define red 0xFF0000AA
#define white 0xFFFFFFAA
#define pink 0xCCFF00FFAA
#define blue 0x00FFFFAA
#define grey 0xC0C0C0AA
static VehicleLockData[MAX_VEHICLES] = false,
//==============================================================================
public OnFilterScriptInit() { // Zeile 26
print("Welcome to the Xtreme Administration Filterscript v2.1");
print("Checking / creating server configuration...");
//Check if all configuration files are present.
if(!dini_Exists("/xadmin/Configuration/Configuration.ini")) {
dini_Create("/xadmin/Configuration/Configuration.ini");
dini_Set("/xadmin/Configuration/Configuration.ini","ServerMessage","None");
}
print("Creating user file variables configuration...");
// Create the variables to be stored in each user's file.
CreateLevelConfig(
"IP","Registered","Level","Cash","Kills","Deaths","Password","Wired",
"WiredWarnings","Jailed"
);
// Create Level Config in pattern 'command name, level, command name, level (case is not sensitive):
print("Creating command level configuration...");
CreateCommandConfig(
// Miscellaneous Commands
"gethere",8,"announce",3,"say",1,"wire",8,"unwire",5,"kick",6,
"ban",9,"eject",6,"freeze",8,"unfreeze",6,"uconfig",1,
"setsm",3,"givehealth",6,
"givecash",7,"remcash",7,"resetcash",7,"setallcash",10,"remallcash",
10,"giveweapon",4,
"resetscores",7,"setlevel",10,"setskin",7,"givearmour",5,"setarmour",5,"armourall",5,
"setammo",5,"setscore",8,"ip",1,"ping",1,"explode",5,"setname",10,"setalltime",10,
"force",4,"setwanted",6
);
CreateCommandConfigEx(
"xlock",1,"xunlock",1,"carhealth",5,"xspec",4,"xjail",7,"xunjail",3,
);
print("Creating Forbidden Names...");
// Add the names to prevent from connecting to your server in the following format:
CreateForbiddenNames("shit","fuck","crap","hax","hacker"
);
print("Creating main configuration files...");
UpdateConfigurationVariables();
print("Initializing Menus...");
print("Complete.");
SetTimer("PingKick",Config[PingSecondUpdate]*1000,true);
for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i)) OnPlayerConnect(i);
return 1;
}
(26) : error 020: invalid symbol name ""
(625) : warning 203: symbol is never used: ""
(625) : warning 203: symbol is never used: "OnFilterScriptInit"
1 Error.
Hmm also da oben ist die Zeile 26 und die Zeile 625 gibts garnicht... das Script geht nur bis 624! O.o
Bitte um schnelle antwort!