15.01.2015, 15:20
Hello all , i have Premium points system but i want to remove it from TextDraw . Following is my Public UpdatePlayer() code.
It Update players Textdraw0 which is Premium points . But i want to have the premium points written in the heading of ShowPlayerDialog.
The Above ShowPlayerDialog is of Shop . Now i want to have premium points written in fron ot Server Shop . Which will looks like this
Server Shop : Premium points = (points) . and also it updates as the textdraw.
PHP код:
format(string, 128, "Premium Points: %d", User[i][accountPP]);
PlayerTextDrawSetString(i, Textdraw0, string);
PHP код:
ShowPlayerDialog(playerid, DIALOG_SHOP, DIALOG_STYLE_LIST, ""newb"Server Shop", "Change Name\t\t($50,000 + 100 score)\nPremium Points\t\t(10 PP)\t\t(1500 scores)", "Buy", "Cancel");
Server Shop : Premium points = (points) . and also it updates as the textdraw.