here is fake bots
new RandomMSG[][]=
{
"[BOT] : Is Online Now",
"[BOT] : Is Active Now",
"[BOT] : Is Now Going",
"[BOT] : Irc admin Active",
"[BOT] : Server Protector Online",
"[BOT] : Help Center Online",
"[BOT] : Server Is Online"
};
forward SendMSG();
new RandomMSG2[][]=
{
"[BOT] : HELLO VCMP",
"[BOT] : How Are You All",
"[BOT] : Dont HAck Or Get Ban",
"[BOT] : Dont Abuse Or Ban",
"[BOT] : use /c getcar and get any vehicle",
"[BOT] : I Am Created By Spider",
"[BOT] : Server Is Created By Spider"
};
forward SendMSG2();
public SendMSG()
{
new randMSG = random(sizeof(RandomMSG));
SendClientMessageToAll(0xFF007FFF, RandomMSG[randMSG]); // Replace the "COLOR" with your defined color.
}
public SendMSG2()
{
new randMSG2 = random(sizeof(RandomMSG2));
SendClientMessageToAll(0xFF007FFF, RandomMSG2[randMSG2]); // Replace the "COLOR" with your defined color.
}
SetTimer("SendMSG", 10000, true);
SetTimer("SendMSG2", 10000, true);
SetTimer("DisplayBots",1000*60*1,1);
SetTimer("timechange", 10000, false);
else if ( strcmp( cmd, "botoff", true ) == 0 )
{
if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
else if ( !IsAuthorized( playerid, cmd ) ) SendClientMessage( playerid, COLOR_RED, "You don't have access to use this command!" );
else
{
KillTimer(1);
KillTimer(2);
KillTimer(3);
KillTimer(4);
}
return 1;
}
else if (strcmp(cmd, "setbot", true) == 0) {
new setbots[256];
tmp = strtok(cmdtext, idx);
if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid, COLOR_RED, "You need to Rcon login first!");
else if (!strlen(tmp)) SendClientMessage(playerid,COLOR_RED,"USAGE: /c setbot text");
else {
format(file, sizeof(file), "/Bots/Bots.ini", "Bots");
format(setbots,sizeof(setbots),"Bot %s : %s",gPlayers[playerid],cmdtext[7]);
dini_Set(file, "Bots", setbots);
}
return 1;
}
else if ( strcmp( cmd, "boton", true ) == 0 )
{
if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
else if ( !IsAuthorized( playerid, cmd ) ) SendClientMessage( playerid, COLOR_RED, "You don't have access to use this command!" );
else
{
SetTimer("SendMSG", 10000, true);
SetTimer("SendMSG2", 10000, true);
}
return 1;
}
//=========BOT REPLY
else if (strcmp(cmd, "f9-n-u", true) == 0 )
{
SendClientMessage(playerid, RED," [BOT] I AM ALSO FINE");
return 1;
}
else if (strcmp(cmd, "f9-and-u", true) == 0 )
{
SendClientMessage(playerid, RED," [BOT] I AM ALSO FINE");
return 1;
}
else if (strcmp(cmd, "fine-and-you", true) == 0 )
{
SendClientMessage(playerid, RED," [BOT] I AM ALSO FINE");
return 1;
}
else if (strcmp(cmd, "thanks", true) == 0 )
{
SendClientMessage(playerid, RED," [BOT] your welcome");
return 1;
}
else if (strcmp(cmd, "are-you-a-bot", true) == 0 )
{
SendClientMessage(playerid, RED," [BOT] Yes i am a bot");
return 1;
}
else if (strcmp(cmd, "is-this-server-is-sq", true) == 0 )
{
SendClientMessage(playerid, RED," [BOT] no");
return 1;
}
else if (strcmp(cmd, "is-this-server-is-pawn", true) == 0 )
{
SendClientMessage(playerid, RED," [BOT] yes");
return 1;
}
else if (strcmp(cmd, "id", true) == 0 )
{
SendClientMessage(playerid, RED," [BOT] our account on fb mrockx mani");
return 1;
}
public DisplayBots()
{
new Msg[256];
new xgv[256];
format(file, sizeof(file), "/Bots/Bots.ini");
xgv = dini_Get(file, "Bots");
format(Msg,sizeof(Msg),"[BOT] %s Online You Can CHat Now",xgv);
SendClientMessageToAll(COLOR_YELLOW, Msg);
return 1;
}
all here
need any help ask here
any bug post here