Raised This Month: $ Target: $400
 0% 

give variable and grab variable from set_task


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 01-27-2007 , 14:05   give variable and grab variable from set_task
Reply With Quote #1

Code:
    set_task(1.0,"loophud",id,"g_Values[a][0], g_Values[a][1], g_Values[a][2], g_Pos[i][0], verpos,name[32], message[i + n]",100,"a",5)         return PLUGIN_HANDLED } public loophud(id,const msg[], {Float,Sql,Result,_}:...){     set_hudmessage(g_Values[a][0], g_Values[a][1], g_Values[a][2], g_Pos[i][0], verpos, 0, 2.0, 2.0, 1.0, 2.0, -1)     show_hudmessage(0, "%s :   %s", name, message[i + n])     client_print(0, print_chat, "%s :   %s", name, message[i + n]) }

im trying to make the variables from the first function go in to the second function that is called by the set_task

1 how do you give variables to the second function
2 how do grab the variables from first function after it sends

this is from adminchat.sma
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME
kp_uparrow 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 00:35.


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