Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Fuzzy168 on October 01, 2011, 08:57:17 am
-
[pawn] new q,c=0;
for (q=0;q < MAX_PLAYERS; q++) {
if (IsPlayerConnected(q)) {
new pname[MAX_PLAYER_NAME+1];
GetPlayerName(q,pname,MAX_PLAYER_NAME);
gPlayers[q] = pname;
c++;
} else { gPlayers[q] = ""; }
}[/pawn]
Found it on OnGameModeInit
-
[pawn]GetPlayerName [/pawn]
-
What happens if i remove it?
-
Well Fuzzy i think if you remove it, the server wont know the name of the player ex:
[%25 has joined the arena fighting.
-
If you Dilson Reason the name of the player ex:
-
What!!? Google translate have so much problems.... lol speak in spanish then i will traduce it for you..
Sorry i dont understand what do you wanna say to me....