Skip to content
User Avatar
#1348
Auto-translated
Warrior777


obs = 0

function a ()
obs = obs + 1
end;

Trigger(NEW_DAY_TRIGGER,"a");

function b ()
QuestionBox(GetMapDataPath().."mrkobsgst.txt","yes",nil);
end;

function yes ()
SetPlayerResource(1,6,-10000);
obs = obs + 10
end;

function c (heroname)
ShowFlyingSign({GetMapDataPath().."getobstxt.txt",obs=obs},heroname);
end;

Trigger(OBJECT_TOUCH_TRIGGER,"mrkobs1","b");
Trigger(OBJECT_TOUCH_TRIGGER,"getobs1","c");
Will I get an answer about this?
502 Bad Gateway
__________________________________
nginx/0.8.54

Statistics

Welcome our newest member: leyu