View Single Post
Author Message
condolent
AlliedModders Donor
Join Date: Jan 2016
Location: gc_sLocation;
Old 10-02-2017 , 09:55   Passing multiple data with RequestFrame
Reply With Quote #1

Hi,
I need to pass multiple data with RequestFrame.
Like this:
PHP Code:
RequestFrame(MyFunctionclientweapon);

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

But it doesn't seem like it's possible to pass 2 different data values through. Any ideas on how I can work around this?
__________________
condolent is offline