01.01.2010, 02:49
is there any way , change %s to like %y ?
new str[128];
new PR = PInfo[playerid][Rank];
format(str, 128, "%s Your Rank Is: %d: \"%s\"", PR, RankInfo[PR][RName]);
SendClientMessage(playerid, 0x7CFC00AA, str);
dcmd_myrank(playerid,params[])
{
new str[128];
#pragma unused params
if(PInfo[playerid][Rank] == 1)
{
format(str,sizeof(string),"[Rank number:%d] Your rank is: Enforcer",PInfo[playerid][Rank]);
SendClientMessage(playerid, 0x7CFC00AA, str);
}
else if(..................)
{
..........
}
and so on