Raised This Month: $ Target: $400
 0% 

give variable and grab variable from set_task


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 02-16-2007 , 13:10   Re: give variable and grab variable from set_task
Reply With Quote #3

Code:
......{     new param[100]         formatex(param, 99, "%i %i %i ^"%s^" ^"%s^"",a,i,verpos,name, message)         set_task(1.0, "loophud", id, param, 99, "a", 5) } public loophud(param[]) {     new temp[32], temp2[100]         new a,i,verpos     new name[32],message[32]         strbreak(param, temp, 31, temp2, 99)     a = str_to_num(temp)         strbreak(param, temp, 31, temp2, 99)     i = str_to_num(temp)         strbreak(param, temp, 31, temp2, 99)     verpos = str_to_num(temp)         strbreak(temp2, name, 31, message, 31)         client_print(0, print_console, "test hudloop %s :   %s", name, message)         remove_quotes(name)     remove_quotes(message)         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) }
the name comes as a bunch of numbers, the message is the name, its not being grabbed out of the param

can someone help me fix this please?
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME

Last edited by kp_uparrow; 02-16-2007 at 13:22.
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