Help pls
#5

Quote:
Originally Posted by MyUndiesSmell
Посмотреть сообщение
You can use a stock to return a players name, it will be alot faster than typing that out each time.

Код:
stock pName(playerid)
{
      new name[MAX_PLAYER_NAME];
      GetPlayerName(playerid, name, MAX_PLAYER_NAME);
      return name;
}
Just a plain function, the usage of stock is unnecessary in this case.
Reply


Messages In This Thread
Help pls - by Ulises212 - 13.02.2019, 01:18
Re: Help pls - by Lokii - 13.02.2019, 01:24
Re: Help pls - by MyUndiesSmell - 13.02.2019, 01:50
Re: Help pls - by ComDuck - 13.02.2019, 09:51
Re: Help pls - by TheToretto - 13.02.2019, 11:12

Forum Jump:


Users browsing this thread: 1 Guest(s)