OnPlayerText problem
#1

Hi everyone,

I have this code, but when i type anything, it returns all...
pawn Код:
if(IsCallingATaxi[playerid] == 1)
    {
    if(strcmp(text, "yes", true, strlen(text)))
    {
    SendClientMessage(playerid,COLOR_LIGHTBLUE,"Cellphone: Okay then, a taxi is coming your way soon, please wait patiently till your call is accepted!");
    return 1;
    }
    if(strcmp(text, "no", true, strlen(text)))
    {
    SendClientMessage(playerid,COLOR_LIGHTBLUE,"Cellphone: okay then, have a good day!");
    HangUpPhone(playerid);
    return 1;
    }
    else
    {
    SendClientMessage(playerid,COLOR_LIGHTBLUE,"Cellphone: Excuse me? Yes or no?");
    return 1;
    }
    }
anyone sees the problem??
Reply


Messages In This Thread
OnPlayerText problem - by Jstylezzz - 08.07.2012, 22:32
Re: OnPlayerText problem - by Vince - 08.07.2012, 22:44
Re: OnPlayerText problem - by SnG.Scot_MisCuDI - 08.07.2012, 22:46
Re: OnPlayerText problem - by FireCat - 08.07.2012, 22:46
Re: OnPlayerText problem - by Jstylezzz - 08.07.2012, 23:03
Re: OnPlayerText problem - by SnG.Scot_MisCuDI - 08.07.2012, 23:16

Forum Jump:


Users browsing this thread: 1 Guest(s)