Ok, this is problably a very dumb question.
My code is like this:
Code: ags
It return a "Stiletto - Undefined Token". What I'm doing wrong?
My code is like this:
#sectionstart game_start // DO NOT EDIT OR REMOVE THIS LINE
function game_start() {
struct Charas {
int str;
int dex;
int lvl;
};
Charas Stiletto;
Stiletto.str = 10;
Stiletto.dex = 8;
Stiletto.lvl = 1;
#sectionstart repeatedly_execute // DO NOT EDIT OR REMOVE THIS LINE
function repeatedly_execute() {
int str;
int dex;
int lvl;
StrFormat(str, "d%", Stiletto.str);
SetLabelText(2, 5, str);
It return a "Stiletto - Undefined Token". What I'm doing wrong?