28.10.2012, 11:36
Is it possible to display the current on Rooms to join in.
Here is my code
If so how??
Here is my code
pawn Код:
#define MAX_ROOMS 100
enum PlayerMultiplayer
{
Ready,
Hoster
};
new pM[MAX_PLAYERS][PlayerMultiplayer];
enum RoomMultiplayer
{
Players,
Rooms,
Hoster[MAX_PLAYER_NAME]
};
new rM[RoomMultiplayer];
new str[12];
format(str, sizeof(str), "N/A");
rM[Hoster] = str;
rM[Rooms] = 0;
rM[Players] = 0;
CMD:multiplayer(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 1583.8099,-1688.2061,6.2188))
{
for(new = i; i < MAX_ROOMS; i++)
{
if(rM[Rooms] >= 1)
{
}
}
}
else return SendClientMessage(playerid, COLOR_RED, "You are not in Multiplayer Garage!");
return 1;
}

