IRCCMD:commands(botid, channel[], user[], host[], params[])
{
#pragma unused params
if(IRC_IsOwner(botid, channel, user))
{
LSay(channel,"2IRC Commands (At Owner level):");
LSay(channel,"2!say !pm !players !warn !mute !unmute !admin !jail");
LSay(channel,"2!adan !kick !freeze !unfreeze !spawn !ban !kill");
LSay(channel,"2!unban !nameban !rcon !text !ip !gmx !setlevel");
return 1;
}
if(IRC_IsAdmin(botid, channel, user))
{
LSay(channel,"2IRC Commands (At Admin level):");
LSay(channel,"2!say !pm !players !warn !mute !unmute !admin !jail");
LSay(channel,"2!adan !kick !freeze !unfreeze !spawn !ban !kill");
LSay(channel,"2!unban !nameban !rcon !text !ip !gmx");
return 1;
}
if(IRC_IsOp(botid, channel, user))
{
LSay(channel,"2IRC Commands (At Op level):");
LSay(channel,"2!say !pm !players !warn !mute !unmute !admin");
LSay(channel,"2!jail !adan !kick !freeze !unfreeze !spawn");
return 1;
}
if(IRC_IsHalfop(botid, channel, user))
{
LSay(channel,"2IRC Commands (At Half Op level):");
LSay(channel,"2!say !pm !players !warn !mute !unmute !admin");
return 1;
}
if(IRC_IsVoice(botid, channel, user))
{
LSay(channel,"2IRC Commands (At voice level):");
LSay(channel,"2!say !pm !players");
return 1;
}
return 1;
}
C:\Users\\Downloads\Compressed\New folder (3)\samp037_svr_R1_win32 (2) - Copy\gamemodes\grab.pwn(28538) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\\Downloads\Compressed\New folder (3)\samp037_svr_R1_win32 (2) - Copy\gamemodes\grab.pwn(28538) : error 001: expected token: ";", but found "["
IRCCMD:commands(botid, channel[], user[], host[], params[])
PHP код:
|