Quote:
Originally Posted by [HLF]Southclaw
You have no need for a timer at all. You simply perform those case checks on Player[playerid][pRank] when you update or change that variable's value. This can be done easily if you just write one function to do it:
pawn Code:
UpdatePlayerRank(playerid, rank) { Player[playerid][pRank] = rank; switch(rank) { case 0: format(Player[playerid][pRankName], 128, "Player"); case 1: format(Player[playerid][pRankName], 128, "V.I.P."); }
}
A timer is just a waste of time if you're checking a Pawn variable that you have complete script control over!
|
Like good but I need Rank for TDM or War?? like Trainee Sergent Staff sergent?? u can help me??