Anyone With YSI knowledge please help
#1

When i use YSI after i do /help it shows certain lines from YSI
how can i change it to show my /help?
Reply
#2

Go to your server folder --> scriptfiles --> YSI --> Edit Core.EN with your favorite text editor -->

Look for these lines:
YSI_HELP_1 = <Your script name here>
YSI_HELP_2 = by <your name here>
YSI_HELP_3 = based on YSI by Alex "******" Cole
YSI_HELP_4 = Customise this text in core.EN in your
YSI_HELP_5 = scriptfiles/YSI folder (default).

YSI_HELP_6 = Leave lines blank if you don't need 10 lines and they will be ignored.
YSI_HELP_7 = ; This line will not appear at all in the chat box as it's blank (; means comment)
YSI_HELP_8 =

; This line is the only one which can contain the %n data for the commands
YSI_HELP_9 = Type: "/%n" for commands and "/%n <command>"
YSI_HELP_10 = for help on a specific command (including this one)

and edit them.

changing text colors:
scriptfiles --> YSI --> Edit Core_Format.YSI --> Defining the colors:
Код:
[colors]

; Colour section format is:
;
; IDENTIFIER = HEX_COLOUR
;
; You can define any colour you like here for use below
GREEN = 0x33AA33AA
RED = 0xFD0B0BAA
YELLOW = 0xFFFF00AA
WHITE = 0xFFFFFFAA
BLUE = 0x0000BBAA
ORANGE = 0xFF9900AA
BLACK = 0x000000AA
Under this:
Код:
[data]

; Data section format:
;
; name = TEXT_IDENTIFIER_TO_SET_DATA_FOR
; style = DISPLAY_STYLE
; colour = SEND_CLIENT_MESSAGE_COLOUR
; time = GAME_TEXT_TIME
;
; style (or type) is 0 for client message or game text type
; colour (or color) and time are optional depending on style
; (tehnically the whole lot are optional - all default to 0
; style 0 and invisible black - always set color at least)
; name can also be excluded but the identifer must stay
; colour can be a hex number or an identifier from above
;
; SOME_TEXT_ENTRY
; type = 0
; color = BLUE
; color = 0x0000FFAA
;
; Note: this is NOT grouped like in the language files
; but only the data for required text will be loaded as they
; will be the only ones which exist to have data attached
;
; You also don't need to space things out, I just like to
You do like this:
Код:
YSI_HELP_1
color = WHITE
YSI_HELP_2
color = BLACK
YSI_HELP_3
color = WHITE
YSI_HELP_4
color = RED
YSI_HELP_9
color = WHITE
YSI_HELP_10
color = GREEN
Reply
#3

Thanks, gona test now, btw can YSI easily take 6000 objects?
Reply
#4

Didnt work
keeps sayin at /help
No text or error help found or something like that, didnt memorize, and my players dont spawn in same place and my PlayerClass's all went to dust, :OO HOW DO I FIX!!
Reply
#5

Add on OnGameModeInit:
pawn Код:
Langs_AddFile("core", "YSI");
    Langs_AddLanguage("EN", "English");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)