Bot System? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Bot System? (
/showthread.php?tid=470000)
Bot System? -
Alex_Obando - 15.10.2013
Hey guys,
Im just wondering if theres already a system or is it simple to make it:
I want that when someone asks a question like What are the commands the server bot answers %s do /cmds.
Or that when somebody says Bot the Server bot says Yes %s?
Re: Bot System? -
DanishHaq - 15.10.2013
pawn Код:
public OnPlayerText(playerid, text[])
{
if(strfind(text, "What are the commands?"))
{
SendClientMessage(playerid, COLOR_WHITE, "The commands are...");
return 0;
}
return 1;
}