22.05.2016, 16:26
You can do sth like this:
PHP код:
format(string, sizeof(string), "%s %s : %s", (pInfo[playerid][Communityadvisor]==0)?(GetAdminRank(playerid)):(GetAdvisorRank(playerid)), GetName(playerid), text);