21.05.2015, 12:45
PHP код:
#define MAX_P 50
enum pi
{
string[MAX_P][30],
};
new PlayerInfo[MAX_PLAYERS][pi];
public OnPlayerConnect(playerid)
{
new p = MAX_P - 1;
for(new i = 0; i < MAX_PLAYERS; i++)
{
SendClientMessage(i, -1, PlayerInfo[playerid][string[p]]);
}
return 1;
}