27.12.2017, 22:40
Код:
new leveluppp = 5*AccountInfo[playerid][Level]; new mylvl = leveluppp-1; new levelup = 1+AccountInfo[playerid][Level]; new strings[256],string[256]; if(AccountInfo[playerid][PremiumPoints] <= mylvl) return SCM(playerid, COLOR_WHITE, "Nu ai suficiente puncte premium!"); AccountInfo[playerid][PremiumPoints] -= leveluppp; AccountInfo[playerid][Level]++; format(string,sizeof(string),"Ai cumparat LevelUP(%d) pentru %d puncte premium.", levelup, leveluppp); SCM(COLOR_YELLOW,string,1);
Код:
argument type mismatch (argument 2
Код:
SCM(COLOR_YELLOW,string,1);