13.11.2009, 15:15
one of the level looks like this
how can do it with dini.. i have never made saving system
Код:
if(strcmp("/buylevel", cmdtext, true, 10) == 0) { if(PlayerInfo[playerid][pLevel] == 0) { if(Money >= 100000) { SendClientMessage(playerid,COLOR_1,"You Have bought level 1!"); PlayerInfo[playerid][pLevel] = 1; flip[playerid] = 1; } else { SendClientMessage(playerid,COLOR_5,"Not enought money to buy this!"); } return 1; }