can i make different cmd ? (again)
#7

Did you add the return 0 before the } in the strcmp condition?
pawn Код:
public OnPlayerText(playerid, text[])
{
    if (!strcmp(text, "!hello", true)) {
        SendClientMessage(playerid, -1, "Hello");
        return 0; //This one.
     }
    return 1;
}
Reply


Messages In This Thread
can i make different cmd ? (again) - by edwardluciano - 10.05.2013, 13:16
Re: can i make different cmd ? (again) - by RajatPawar - 10.05.2013, 13:28
Re: can i make different cmd ? (again) - by edwardluciano - 10.05.2013, 13:32
Re: can i make different cmd ? (again) - by [DOG]irinel1996 - 10.05.2013, 14:05
Re: can i make different cmd ? (again) - by edwardluciano - 10.05.2013, 14:08
Re: can i make different cmd ? (again) - by edwardluciano - 10.05.2013, 14:30
Re: can i make different cmd ? (again) - by [DOG]irinel1996 - 10.05.2013, 14:32
Re: can i make different cmd ? (again) - by edwardluciano - 10.05.2013, 14:36
Re: can i make different cmd ? (again) - by edwardluciano - 10.05.2013, 14:56
Re: can i make different cmd ? (again) - by Da_Noob - 10.05.2013, 15:55

Forum Jump:


Users browsing this thread: 7 Guest(s)