SA-MP Forums Archive
[help] GetPlayerId - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [help] GetPlayerId (/showthread.php?tid=112928)



[help] GetPlayerId - Mantas7776 - 11.12.2009

why this command dont work ??


Re: [help] GetPlayerId - RyDeR` - 11.12.2009

just use playerid.


Re: [help] GetPlayerId - [HiC]TheKiller - 11.12.2009

pawn Код:
stock GetPlayerFullname(partofname[])
{
    new id = GetPlayerID(partofname), pname[MAX_PLAYER_NAME];
    if(id != INVALID_PLAYER_ID) GetPlayerName(id, pname, MAX_PLAYER_NAME);
    return pname;
}
}
This is a custom function from Sandra .


Re: [help] GetPlayerId - Mantas7776 - 11.12.2009

thanks