[HELP] WANT TO GET ALL OF PLAYERS' NAME
#1

Hi there,

I have a clanwar script, so the script will get player's name first, and will give the player a new name like "_INCW_RockNRolla". After the clanwar got finished, It will change my name to "RockNRoll" back. But sometimes namex can be mixed each other. I need something like:

new pName[MAX_PLAYER_NAME][MAX_PLAYERS];

Does it correct? or how can i provide this? Help please.
Reply
#2

new pName[MAX_PLAYERS][MAX_PLAYER_NAME];

[This forum requires that you wait 120 seconds between posts. Please try again in 38 seconds.] - Loads a gun. Cocks the gun. Aims it at his head. Pulls the trigger. (And still 12 seconds left :@!)
Reply
#3

what? O:
Reply
#4

pawn Код:
new pName[MAX_PLAYERS][MAX_PLAYER_NAME];

// somewhere
for(new i = 0; i < MAX_PLAYERS; i++)
{
   if(!IsPlayerConnected(i)) continue;
   GetPlayerName(i, pName[i], MAX_PLAYER_NAME);
}
Untested.
Reply
#5

thanks. (I HATE ANTI SPAM POST, TOO!!)
Reply
#6

Nice to see!

Maybe we can make a colt !

[This forum requires that you wait 120 seconds between posts. Please try again in 72 seconds.] - Lol..
Reply
#7

Yeah, maybe we can
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)