gms_friend_count

Usage: gms_friend_count ( )

Description

Retruns the number of friends.

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 14 Dec 2017