Help to fix code
#2

Код:
if(!strcmp(inputtext,"Пицца",true))
{
    RemoveItem(playerid,"Пицца",1);
    SendClientMessage(playerid, COLOR_WHITE, "Вы выкинули пиццу!");
}
Use this, you put a [0] tag behind inputtext, meaning it'll only check the very first character of inputtext.
Reply


Messages In This Thread
Help to fix code - by kronka - 15.07.2017, 20:57
Re: Help to fix code - by LennyBE - 15.07.2017, 21:05
Re: Help to fix code - by kronka - 16.07.2017, 07:32

Forum Jump:


Users browsing this thread: 1 Guest(s)