Raised This Month: $ Target: $400
 0% 

two basic questions


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
vamppa
Senior Member
Join Date: Apr 2010
Location: The Netherlands
Old 07-24-2013 , 13:16   Re: two basic questions
Reply With Quote #7

thanks lordofnothing
ok so there is no such an thing as registering an client cvar?
and for client put in server I can easily add this to that right?

PHP Code:
public plugin_init() 
{    
   
set_task 20.0"Taskworker"50""0);
}
public 
client_putinserver(id)
{
    
firsTtask(id)
}
public 
firsTtask(id)
{

     
// code here..
}
public 
Taskworker () 
{
   new 
players[32], numplayersid;
   
get_players playersnumplayers );
   for ( new 
i=0i<numplayersi++ ) {
   
id=players[i];
   
firsTtaskid );
 }

</span></span>
vamppa 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 06:24.


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