Enter Help Fast!
#1

fixed!
Reply
#2

use this:
Код:
format(string, sizeof(string), "Suspect %d entered house id: %d",playerid,i);
playerid is number not string for using %s
Reply
#3

It should be:

pawn Код:
format(string, sizeof(string), "Suspect %s entered house id: %d", sendername, i);
Reply
#4

playerid name .. not id
Reply
#5

format(string, sizeof(string), "Suspect %d entered house id: %d",sendername,i);
Reply
#6

Quote:
Originally Posted by JamesCaptGeneral
Посмотреть сообщение
format(string, sizeof(string), "Suspect %d entered house id: %d",sendername,i);
This work? wtf
Reply
#7

this is in /enter cmd cops don't see when I enter with wanted n house..
Reply
#8

Код:
for(new x =0;x<MAX_PLAYERS;x++) 
                                    { 
                                        if (PlayerToPoint(3, x,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez])) 
                                        { 
                                            if(PlayerInfo[x][pWantedLevel] >= 1) 
                                            { 
                                                if(PlayerInfo[x][pMember] == 1||PlayerInfo[x][pLeader] == 1 || PlayerInfo[x][pMember] == 2||PlayerInfo[x][pLeader] == 2 || PlayerInfo[x][pMember] == 3||PlayerInfo[x][pLeader] == 3) 
                                                { 
                                                    new sendername[MAX_PLAYER_NAME]; 
                                                    GetPlayerName(x, sendername, sizeof(sendername)); 
                                                    format(string, sizeof(string), "Suspect %s entered house id: %d",sendername,i); 
                                                    SendClientMessage(x, TEAM_BLUE_COLOR, string); 
                                                } 
                                            } 
                                          } 
                                    }
}
Reply
#9

Quote:
Originally Posted by giorgosdim12
Посмотреть сообщение
Код:
for(new x =0;x<MAX_PLAYERS;x++) 
                                    { 
                                        if (PlayerToPoint(3, x,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez])) 
                                        { 
                                            if(PlayerInfo[x][pWantedLevel] >= 1) 
                                            { 
                                                if(PlayerInfo[x][pMember] == 1||PlayerInfo[x][pLeader] == 1 || PlayerInfo[x][pMember] == 2||PlayerInfo[x][pLeader] == 2 || PlayerInfo[x][pMember] == 3||PlayerInfo[x][pLeader] == 3) 
                                                { 
                                                    new sendername[MAX_PLAYER_NAME]; 
                                                    GetPlayerName(x, sendername, sizeof(sendername)); 
                                                    format(string, sizeof(string), "Suspect %s entered house id: %d",sendername,i); 
                                                    SendClientMessage(x, TEAM_BLUE_COLOR, string); 
                                                } 
                                            } 
                                          } 
                                    }
}
I posted the same thing..
Reply
#10

Yes man with ]Rafaellos], i posted agien for view and using, this is work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)