08.11.2014, 19:33
(
Последний раз редактировалось Stoyanov; 08.11.2014 в 20:19.
)
Can someone help me with this code:
I can't make it with y-ini. : (
Код:
new donate; new file = ini_openFile("donate.ini"); if(ini_getInteger(file, inputtext) == 0) { if(donate == 1) { SendClientMessage(playerid,-1,"VIP Account activated"); return 1; } if(donate == 2) { SendClientMessage(playerid,-1,"Level UP to 1 point"); return 1; } if(donate == 3) { SendClientMessage(playerid,-1,"Phone Number changed for 4 symbols"); return 1; } ini_removeKey(file,inputtext); SendClientMessage(playerid,-1,"Thank's for donate"); } else { SendClientMessage(playerid,-1,"Wrong Code"); } iniClose(file);