24.05.2013, 12:53
So I have made a stats but I got a prob...
Now what is red should only show up if you are a VIP, But now if you are not VIP you see the line that is blue twice, But you no longer see the red line... Any idea how to fix this?
Код:
format(string, sizeof(string), "VIP: %s - VIP Points: %d - Total Donations: $%d - Shop Coupon: $%d", RPVIPN(playerb), PlayerInfo[playerid][pLPoints], PlayerInfo[playerb][pDonations], PlayerInfo[playerb][pCoupon]); SendClientMessage(playerid, COLOR_VIP, string); if(PlayerInfo[playerid][pVIP]) format(string, sizeof(string), "VIP Expiration: %d/%d/2013", PlayerInfo[playerid][pVIPMonth], PlayerInfo[playerid][pVIPDay]); SendClientMessage(playerid, COLOR_VIP, string);