YSI: y_playerset.inc ALL_PLAYERS, ALL_HUMANS, ALL_BOTS?
#1

Hello there, I am using the y_language and y_text includes from the YSI 4.0 Framework.

I have a problem and a question,

I've read this tutorial: https://sampforum.blast.hk/showthread.php?tid=570943

And it says
Quote:

"Text_Send" is a VERY clever function:

The first paramter ("playerid" above) can be one of a number of things: A single playerid, an array of players, a YSI player array, an array of IDs, "ALL_PLAYERS", "ALL_BOTS", "ALL_CHARACTERS", or a YSI group.

but when I use

Text_Send(ALL_PLAYERS,...

It doesn't work.. (I don't see the message, but when I use playerid it works well)

I can't find too much information about this framework anywhere, or if it is required to define ALL_PLAYERS with another thing because it is defined as

Quote:

#define ALL_PLAYERS (0x7FFFFFF1)
#define ALL_HUMANS (0x7FFFFFF1)
#define ALL_CHARACTERS (0x7FFFFFF2)
#define ALL_BOTS (0x7FFFFFF3)

File: YSI_Data/y_playerset.inc

Thank you in advance.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)