auto updater

how can i create an auto update for my game or atleast make the game tell you if its updated or not

Replies (5)

Last message on 5 Jan 2019

BonniekawaiidesuG (Topicstarter) on 27 Dec 2018, 19:31:34
i tried to use this:

if(gms_update_check()){
draw_set_font(global.FontSnc)
draw_set_color(c_red)
draw_text(320,240,"YOUR VERSION OF THE GAME IS OUTDATED PLEASE GO TO")
draw_text(320,272,"http://gamemakerserver.com/en/games/5160/download/")
draw_text(320,304,"TO UPDATE IT AND REMOVE THIS ERROR D:<")
}
else
{
draw_set_font(global.FontSnc)
draw_set_color(c_green)
draw_text(640,0,"your game its up to date :)")
}

but stills not working
Size43 (Administrator) on 28 Dec 2018, 22:33:20
What are the versions you set in gms_settings and the version you entered here, in the developer panel?
BonniekawaiidesuG (Topicstarter) on 29 Dec 2018, 18:45:04
any xd
Size43 (Administrator) on 5 Jan 2019, 12:38:24
When are you running that code? You should make sure there's enough time for the game to receive the update info from the server.
SansSkeleton2005 on 28 Dec 2018, 20:55:13
You want something to help me