That's what it looks like mysql command r6?
#7

Код:
//========================================[CMD:FRIENDS]========================================================//
CMD:friends(playerid, params[])
{
	new query[128], name[MAX_PLAYER_NAME];
	GetPlayerName(playerid, name, sizeof(name));

	format(query, sizeof(query), "SELECT * FROM `friendsdb` WHERE `UserDBID` = %i", PlayerInfo[playerid][pDBID]);
	mysql_query_callback(playerid, query, "OnPlayerRequestFriends", REQUEST_FRIEND_THREAD);
	return 1;
}
That page should help you, documentation for r6
https://sampwiki.blast.hk/wiki/MySQL#mysql_query_callback
Reply


Messages In This Thread
That's what it looks like mysql command r6? - by Jimmi - 16.08.2015, 22:28
Re: That's what it looks like mysql command r6? - by Jimmi - 16.08.2015, 23:04
Re: That's what it looks like mysql command r6? - by Jimmi - 16.08.2015, 23:44
AW: That's what it looks like mysql command r6? - by Nero_3D - 17.08.2015, 02:26
Re: That's what it looks like mysql command r6? - by Jimmi - 17.08.2015, 03:12
Re: That's what it looks like mysql command r6? - by Jimmi - 17.08.2015, 11:46
AW: Re: That's what it looks like mysql command r6? - by Nero_3D - 17.08.2015, 14:24
Re: That's what it looks like mysql command r6? - by Jimmi - 17.08.2015, 15:17
AW: That's what it looks like mysql command r6? - by Nero_3D - 17.08.2015, 18:27

Forum Jump:


Users browsing this thread: 1 Guest(s)