RequestFrame(MyFunction, client, weapon); public void MyFunction(int client, int weapon) { PrintToChat(client, "Weapon index: %d", weapon); }