25.03.2017, 21:22
How to check if HouseCode is same as inputtext please?
Whats wrong with this one?
Код:
//OnPlayerDialogResponse
case DIALOG_HOUSECODE1:
{
if(response)
{
if(strlen(inputtext) == PlayerInfo[playerid][pHouseCode])
{
SendClientMessage(playerid, 0xFFFFFF, "You have entered your house!"
}
else
{
SendClientMessage(playerid, 0xFFFFFF, "You typed bad HouseCode!"
}
}
}


