problem with code
#1

in the command... does not work.. what is wrong ?

pawn Код:
new name[MAX_PLAYER_NAME+1];
GetPlayerName(playerid,name,25);
format(string,sizeof(string),"%s (ID : %d) has entered in this virtual world ",name,playerid);
for(new i = 0;i<MAX_PLAYERS;++i)
{
    if(IsPlayerConnected(i) && GetPlayerVirtualWorld(i) != mvID && i != playerid) {
        SendClientMessage(i,-1,string);
    }
}
Reply
#2

pawn Код:
if(IsPlayerConnected(i) && GetPlayerVirtualWorld(i) == mvID && i != playerid) SendClientMessage(i,-1,string);
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)