Raised This Month: $51 Target: $400
 12% 

Passing multiple data with RequestFrame


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode