Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Fuzzy168 on October 01, 2011, 08:57:17 am

Title: wHAT IS THIs for?
Post 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
Title: Re: wHAT IS THIs for?
Post by: yazeen on October 01, 2011, 09:11:10 am
[pawn]GetPlayerName [/pawn]
Title: Re: wHAT IS THIs for?
Post by: Fuzzy168 on October 01, 2011, 09:21:50 am
What happens if i remove it?
Title: Re: wHAT IS THIs for?
Post by: DilsonTB on October 01, 2011, 03:33:10 pm
Well Fuzzy i think if you remove it, the server wont know the name of the player ex:

[%25 has joined the arena fighting.
Title: Re: wHAT IS THIs for?
Post by: omarlin97 on October 01, 2011, 08:12:52 pm
If you Dilson Reason  the name of the player ex:
Title: Re: wHAT IS THIs for?
Post by: DilsonTB on October 03, 2011, 02:43:23 am
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....