Help me
#1

How can I make them look all the players in place?
PHP код:
    if(strcmp(cmd"/alias"true) == 0)
    {
        if(
IsPlayerConnected(playerid))
        {
            if(
PlayerInfo[playerid][pAdmin] >= 1)
            {
                
tmp strtok(cmdtextidx);
                if(!
strlen(tmp))
                {
                    
SendClientMessage(playeridCOLOR_SERVER"Foloseste: {FFFFFF}/alias [playerid]");
                    return 
1;
                }
                
giveplayerid ReturnUser(tmp);
                new 
playerip[36], playersip[36], count;
                
GetPlayerIp(giveplayeridplayeripsizeof(playerip));
                if(
IsPlayerConnected(giveplayerid))
                {
                    for(new 
0MAX_PLAYERSi++)
                    {
                        if(
IsPlayerConnected(i))
                        {
                            
GetPlayerIp(iplayersipsizeof(playersip));
                            if(!
strcmp(playeripplayersip))
                            {
                                
GetPlayerName(isendernamesizeof(sendername));
                                
format(string256"Conturi online %s: %s"GetName(playerid), sendername);
                                
count ++;
                            }
                        }
                    }
                    if(
count == 1) return SCM(playerid, -1"Acest player nu are mai multe conturi online!");
                    
SCM(playeridCOLOR_WHITEstring);
                    return 
1;
                }
            }
        }
        return 
1;
    } 
Reply
#2

help me, please!
Reply
#3

you mean their GPS? there location where are they?
Reply
#4

If there are more, I want to display them all and do not know how to do ...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)