invalid function or declaration (4893, 1) invalid function or declaration (4895, 1)
Timer:PlayerChecker[1000]() //4893
{
foreach(new i: Player) //4895
{
if(pInfo[i][pMuted])
{
pInfo[i][pMutedTime]--;
if(pInfo[i][pMutedTime] < 1)
{
pInfo[i][pMuted] = false;
pInfo[i][pMutedTime] = 0;
SendClientMessage(i, COLOR_YELLOW, "AdmCmd: You have been automatically unmuted after serving the mute-time.");
new string[150];
format(string, sizeof(string), "AdmWarn: {FF0000}%s has been automatically unmuted after serving his mute-time", GetName(i));
SendAdminMessage(COLOR_ORANGE, string);
}
}
if(pInfo[i][pJailed])
{
pInfo[i][pJailedTime]--;
if(pInfo[i][pJailedTime] < 1)
{
pInfo[i][pJailed] = false;
pInfo[i][pJailedTime] = 0;
SendClientMessage(i, COLOR_YELLOW, "AdmCmd: You have been automatically unjailed after serving the jail-time.");
new string[150];
format(string, sizeof(string), "AdmWarn: {FF0000}%s has been automatically unjailed after serving his jail-time", GetName(i));
SendAdminMessage(COLOR_ORANGE, string);
}
}
}
return 1;
}
Timer:PlayerChecker[1000]()
{
foreach(Player, i)
{
if(PlayerInfo[i][pMuted] == true)
{
PlayerInfo[i][pMutedTime]--;
if(PlayerInfo[i][pMutedTime] < 1)
{
PlayerInfo[i][pMuted] = false;
PlayerInfo[i][pMutedTime] = 0;
SendClientMessage(i, COLOR_YELLOW, "AdmCmd(1): You have been automatically unmuted after serving the mute-time.");
new string[150];
format(string, sizeof(string), "AdmWarn(2): {FF0000}%s has been automatically unmuted after serving his mute-time", GetName(i));
SendAdminMessage(COLOR_ORANGE, string);
}
}
One question, where have you got this script from? Because it's the same exact like mine..
PHP код:
|
From your script.. WAdmin 1.0 I want to change the MYSQL_DATABASE. So I recompiled it.. but i got that error
![]() |
Oh shit I forgot I released my WAdmin system, I'm sorry lol.. So when you change the MYSQL_DATABASE it gives you that error? Are you sure you didn't change something else?
|