Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

const-корректность #4

Open
Pa4enka opened this issue Jul 2, 2020 · 0 comments
Open

const-корректность #4

Pa4enka opened this issue Jul 2, 2020 · 0 comments

Comments

@Pa4enka
Copy link

Pa4enka commented Jul 2, 2020

На этот код компилятор(версия: 3.10.10) ругается 214ой ошибкой, связанной с const-корректностью.

dialog [hook] DIALOG_ID_ADMIN_LOGIN(playerid, response, inputtext[]) {

	if( !response )
		return true;

	if( strlen(inputtext) > 10 )
		return true;

	return SendClientMessage(playerid, -1, "test");

}

При попытке проставить const возле inputtext - вылазит еще парочка ошибок.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant