GetPlayerName and ID stock
#2

I don't think you can, but why not just making this?

pawn Код:
stock GetPnameid(pid)
{
    new pname[MAX_PLAYER_NAME];
    GetPlayerName(pid, pname, sizeof(pname));
    return pname;
}
Anyways, you will still need to have the good player id. With your stock, it will always return name of the player id 0.
Reply


Messages In This Thread
GetPlayerName and ID stock - by emokidx - 20.02.2013, 12:00
Re : GetPlayerName and ID stock - by lelemaster - 20.02.2013, 12:06
Re: GetPlayerName and ID stock - by emokidx - 20.02.2013, 12:17

Forum Jump:


Users browsing this thread: 2 Guest(s)