Author Topic: wHAT IS THIs for?  (Read 2875 times)

0 Members and 1 Guest are viewing this topic.

Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
wHAT IS THIs for?
« 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
I'm beginning to feel like a Lag God, Lag God

yazeen

  • Guest
Re: wHAT IS THIs for?
« Reply #1 on: October 01, 2011, 09:11:10 am »
[pawn]GetPlayerName [/pawn]

Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
Re: wHAT IS THIs for?
« Reply #2 on: October 01, 2011, 09:21:50 am »
What happens if i remove it?
I'm beginning to feel like a Lag God, Lag God

Offline DilsonTB

  • Made Man
  • ***
  • Posts: 140
  • VC:MP Developer. & SA:MP Currently Developer
    • View Profile
Re: wHAT IS THIs for?
« Reply #3 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.
_______________________________________________
¬ VC:MP Squirrel Developer.
¬ VC:MP pawno Developer.
¬ SA:MP Developer.
¬
¬ Actually developing " San Fierro Roleplay - Latino ", with
my beta team testers, Mapper + Scripter ( me ), 18,000
lines, and is 34% finished. hope to finish it in 4 Or 3 Months.

- MYSQL FULL BASED.
- PCU.
_______________________________________________

Offline omarlin97

  • Street Thug
  • *
  • Posts: 41
  • Scripter The Server Pawno
    • View Profile
    • Dominican Server Latino
Re: wHAT IS THIs for?
« Reply #4 on: October 01, 2011, 08:12:52 pm »
If you Dilson Reason  the name of the player ex:
Owner end creator the Server TDM

Dominican Server Latino
web site: http://dominicanserver.net16.net/

Offline DilsonTB

  • Made Man
  • ***
  • Posts: 140
  • VC:MP Developer. & SA:MP Currently Developer
    • View Profile
Re: wHAT IS THIs for?
« Reply #5 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....
_______________________________________________
¬ VC:MP Squirrel Developer.
¬ VC:MP pawno Developer.
¬ SA:MP Developer.
¬
¬ Actually developing " San Fierro Roleplay - Latino ", with
my beta team testers, Mapper + Scripter ( me ), 18,000
lines, and is 34% finished. hope to finish it in 4 Or 3 Months.

- MYSQL FULL BASED.
- PCU.
_______________________________________________