All BlueQuarry functions

These functions are currently supported in the server-sided scripting language:

random_set_seed(seed)
random_get_seed()
randomize()
choose(opt1[, opt2[, opt3]])
abs(n)
sign(n)
round(n)
floor(n)
ceil(n)
frac(n)
sqrt(n)
sqr(n)
power(n, x)
exp(n)
ln(n)
log2(n)
log10(n)
logn(n)
sin(n)
cos(n)
tan(n)
arcsin(n)
arccos(n)
arctan(n)
degtorad(deg)
radtodeg(rad)
min(opt1[, opt2[, opt3]])
max(opt1[, opt2[, opt3]])
mean(opt1[, opt2[, opt3]])
median(opt1[, opt2[, opt3]])
point_distance(x1, y1, x2, y2)
point_direction(x1, y1, x2, y2)
lengthdir_x(len, dir)
lengthdir_y(len, dir)
is_real(val)
is_string(val)
arctan2(y, x)
chr(n)
ord(str)
real(str)
string(real)
string_format(val, tot, dec)
string_length(str)
string_pos(substr, str)
string_copy(str, index, count)
string_chat_at(str, index)
string_delete(str, index, count)
string_insert(substr, str, index)
string_replace(str, substr, newstr)
string_replace_all(str, substr, newstr)
string_count(substr, str)
string_lower(str)
string_upper(str)
string_repeat(str, count)
string_letters(str)
string_digits(str)
string_lettersdigits(str)
gms_ini_game_read(section, key)
gms_ini_game_write(section, key, value)
gms_ini_game_delete(section, key)
gms_ini_game_exists(section, key)
gms_ini_game_size()
gms_ini_player_read(section, key)
gms_ini_player_write(section, key, value)
gms_ini_player_delete(section, key)
gms_ini_player_exists(section, key)
gms_ini_player_size())
gms_chat(message, color)
gms_admin_ban(player_id, reason)
gms_admin_kick(player_id, reason)
gms_player_count()
gms_player_get(n)
gms_player_find_by_name(name)
gms_ini_game_size_limit()
gms_ini_player_size_limit()
irandom(n)
random_range(min, max)
irandom_range(min, max)
gms_p2p_send(id, player_to, arg0, arg1, arg...)
room_goto(r)
room_goto_next())
room_goto_previous())
room_restart()
sound_play(sound)
sound_loop(sound)
sound_stop(sound)
sound_stop_all()
gms_instance_takeover(instance)
instance_find(obj, n)
instance_exists(instance)
instance_number(obj)
instance_position(x, y, obj)
instance_nearest(x, y, obj)
instance_furthest(x, y, obj)
instance_place(x, y, obj)
gms_team_score_add(team, score)
gms_team_score_set(team, score)
gms_team_score_get(team)
place_meeting(x, y)
place_free(x, y)
instance_create(x, y, obj)

Replies (4)

Last message on 18 Aug 2016

Pizzaroot on 13 Aug 2016, 00:44:33
How can I use server-sided scripts?
Size43 (Administrator) on 18 Aug 2016, 16:10:36
You can set them on this site, however I'd currently strongly advise against using them. They're deprecated and will be removed in the v3 update. They will eventually be replaced by a better system.
amkgames on 5 Apr 2015, 21:50:55
Our games will be Anti Hack? :P
Size43 (Administrator) on 6 Apr 2015, 11:23:22
I'd currently recommend against using the server-sided scripts, as they can be quite buggy. I'm working on a better solution.