• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Question about pawn compiler
#6
(2021-03-08, 07:55 PM)Y_Less Wrote: You can use y_commands, but you need to encode the command names using punycode (the same encoding that URLs use):

Code:
CMD:veh?culo(playerid, params[])

Becomes:

Code:
CMD:vehculo@9ya(playerid, params[])

If you use a website like this one: https://www.punycoder.com/ The result will be "xn--vehculo-9ya", remove the "xn--" prefix and change the "-" to "@".? I keep meaning to make a site to do it for y_commands, just never got around to it.

Thank you for your response!

I tried:
Code:
CMD:vehculo@9ya(playerid, params[])

But this has no effect, I need to wrote /vehculo@9ya in game in order to work. If I wrote /veh?culo, just throws "SERVER: Unknown command"

EDIT: If you want to use a fast command processor and still use accented characters, you can use pawn.cmd. You can register aliases for a command, in that way you can make it work.
  Reply


Messages In This Thread
RE: Question about pawn compiler - by matei_ - 2021-03-07, 09:00 PM
RE: Question about pawn compiler - by destiezk - 2021-03-08, 10:34 AM
RE: Question about pawn compiler - by Y_Less - 2021-03-08, 07:55 PM
RE: Question about pawn compiler - by robertocaribbean - 2021-03-08, 10:13 PM

Forum Jump: