client_printex

Синтаксис

stock client_printex(index, type, const msg_name[], const msg_param1[] = "", const msg_param2[] = "", const msg_param3[] = "", const msg_param4[] = "")

Употреба

index
Index of the player, use 0 to send to all players.
type
The message destination. See print_* constants.
msg_name
The custom or predefined message to send.
msg_param1
Optional message argument.
msg_param2
Optional message argument.
msg_param3
Optional message argument.
msg_param4
Optional message argument.

Описание

Sends a predefined text message to player.
Predefined texts are default game messages which will be translated
to player's game language, e.g. #Game_join_ct.

Забележка

Set index to 0 to send text globally.

Забележка

There does not necessarily have to be a total of 6 arguments.
It will depend if message takes arguments, e.g.:
  client_printex(id, print_chat, "#Game_join_ct", "Pimp Daddy")
  client_printex(id, print_chat, "1", "#Game_radio", "Pimp Daddy", "Hello world!")

Връщаща стойност

Тази функция няма връщаща стойност.