Raised This Month: $ Target: $400
 0% 

how to pass someone's id to another function?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
umarsa
Senior Member
Join Date: Feb 2006
Location: U.K
Old 10-17-2006 , 10:24   Re: how to pass someone's id to another function?
Reply With Quote #6

i think..

1st of all the set_task :

set_task(Float:time,const function[],id = 0,parameter[]="",len = 0,flags[]="", repeat = 0)

ok.

public funtion(id)
{
function2(id);
set_task here

function2( id )
{
// id got passed
}

i dont have my amxx studio atm so im not sure nort tested
__________________
umarsa 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 04:48.


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