Talking bots
#1

Well, I have attempted to make a talking bot which will talk to you, I have tried to set it on a timer but it just does not work.


This part works apart from the "SetTimer".
pawn Код:
if(vehicleid == botcar)
    {
        SendClientMessage(playerid, COLOR_GREY, "Taxi Driver says: Welcome to the Taxi mate, please sit back and enjoy the ride.");
        SetTimer("TaxiTalk", 60000, true);
    }
pawn Код:
forward TaxiTalk(playerid);
public TaxiTalk(playerid)
{
    ProxDetector(3.0, playerid, "Taxi Driver says: Haven't I seen you before?", COLOR_GREY, COLOR_GREY, COLOR_GREY, COLOR_GREY, COLOR_GREY);
    ProxDetector(3.0, playerid, "Taxi Driver says: Lovely weather we are having.", COLOR_GREY, COLOR_GREY, COLOR_GREY, COLOR_GREY, COLOR_GREY);
    ProxDetector(3.0, playerid, "Taxi Driver says: You look happy.", COLOR_GREY, COLOR_GREY, COLOR_GREY, COLOR_GREY, COLOR_GREY);
    return 1;
}
Reply


Messages In This Thread
Talking bots - by Luis- - 21.05.2011, 15:17
Re: Talking bots - by Biesmen - 21.05.2011, 15:22
Re: Talking bots - by boelie - 21.05.2011, 15:27
Re: Talking bots - by Luis- - 21.05.2011, 21:36
Re: Talking bots - by Steve M. - 21.05.2011, 23:01
Re: Talking bots - by Luis- - 21.05.2011, 23:22
Re: Talking bots - by Steve M. - 22.05.2011, 10:29
Re: Talking bots - by Luis- - 22.05.2011, 11:43
Re: Talking bots - by Luis- - 18.06.2011, 18:40
Re: Talking bots - by boelie - 18.06.2011, 18:56

Forum Jump:


Users browsing this thread: 1 Guest(s)