gms_friend_get

Usage: gms_friend_get ( n )

Description

Returns the user_id of the nth friend. (See friends for info about user_ids)

Example

//Draw all friends
var n, user_id, name;
for(n = 0; n < gms_friend_count(); n += 1)
{
user_id = gms_friend_get(n);
name = gms_friend_name(user_id)
draw_text(0, n * 20, name);
}

Replies (0)

Last message on 25 Sep 2017