15.04.2018, 21:42
no, you must first get the faction ID.
PHP код:
stock GetRankName(playerid)
{
new rankname[256];
switch(pInfo[playerid][pFaction])
{
case 1:
{
switch(pInfo[playerid][pRank])
{
case 1: rankname = "Police Officer I";//and else.. add by yourself