Posts: 22
Threads: 3
Joined: Aug 2015
Reputation:
0
Does it support accent? I mean й, у, ő, etc.
Posts: 882
Threads: 50
Joined: Jun 2012
Reputation:
0
SmartCMD does not allow you to use such characters. If I am not wrong, y_commands support such characters.
Posts: 266
Threads: 22
Joined: Jan 2017
Reputation:
0
11.01.2017, 04:04
(
Последний раз редактировалось wallee; 12.01.2017 в 15:08.
)
This is really nice man i have 2 questions:
- do i need to check IsPlayerConnected in every command i make or do you do that in include?
- can you tell me what is this: enum (*=2)
Ty
Posts: 882
Threads: 50
Joined: Jun 2012
Reputation:
0
SmartCMD does not have any internal IsPlayerConnected. You can add one in OnPlayerCommandReceived.
enum(*2) tells the compiler to ensure that every entry inside the enum has twice the value of the entry preceding it.
Posts: 882
Threads: 50
Joined: Jun 2012
Reputation:
0
I don't check the forums often.
I'll get to know about the issues through the github repo much faster than here.
I'm sorry for the late response though. I'll look into the matter and find a suitable fix.
Posts: 287
Threads: 51
Joined: Oct 2015
Reputation:
0
is there any way to make special letter support for the commands or the alternate? (i mean й,б,ű etc)
the script dont have to distinguish the a and 'б' just let it work
Posts: 882
Threads: 50
Joined: Jun 2012
Reputation:
0
Has anyone tried the fix?
Posts: 882
Threads: 50
Joined: Jun 2012
Reputation:
0
Currently the default flags (CMD_DEFAULT_FLAG) apply only to the commands for which the flags haven't been given explicitly.
Should it apply to all commands irrespective of whether flags have been given or not? This can be done by ORing with the flags which have been given explicitly with the default flags but this creates an issue if the flags aren't being used as bitfields. In that case, the flags will be ORed with 0 which won't mess with the flags.
What do you prefer?