[Include] Get...Name
#11

Quote:
Originally Posted by Biesmen
Посмотреть сообщение
pawn Код:
stock GetPlayerName(playerid)
{
   new name[MAX_PLAYER_NAME];
   GetPlayerName(playerid, name, sizeof(name));
   return name;
}
Make sure you use ReturnUser or sscanf (u).
This will not work. You can't overload functions.

I think it's a little bit problematic with GetVehicleName because you ask for a vehicleid while it actually has to be a modelid. Could confuse some knewbs.
Reply


Messages In This Thread
Get...Name - by Casss - 23.03.2011, 13:17
Re: Get...Name - by .LaaRs. - 23.03.2011, 13:20
Re: Get...Name - by Biesmen - 23.03.2011, 13:22
Re: Get...Name - by Casss - 23.03.2011, 13:28
Re: Get...Name - by _[HuN]_Epsilon_ - 23.03.2011, 15:26
Re: Get...Name - by aircombat - 23.03.2011, 15:36
Re: Get...Name - by Sergei - 23.03.2011, 15:36
Re: Get...Name - by Casss - 23.03.2011, 15:40
Re: Get...Name - by noobre - 25.03.2011, 17:46
Re: Get...Name - by Biesmen - 25.03.2011, 17:50
Re: Get...Name - by Double-O-Seven - 25.03.2011, 19:04
Re: Get...Name - by Casss - 26.03.2011, 09:42
Re: Get...Name - by Pooh7 - 04.04.2011, 11:42
Re: Get...Name - by Biesmen - 04.04.2011, 12:30
Re: Get...Name - by Apenmeeuw - 30.03.2013, 09:05

Forum Jump:


Users browsing this thread: 2 Guest(s)