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

Execute a client command while loading the game


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ghostdlr
Senior Member
Join Date: Aug 2010
Old 09-08-2010 , 08:34   Execute a client command while loading the game
Reply With Quote #1

What event can I use for this ? If I do this in client_authorized it doesn't always work .
ghostdlr is offline
Desikac
Senior Member
Join Date: Apr 2010
Location: Serbia
Old 09-08-2010 , 08:56   Re: Execute a client command while loading the game
Reply With Quote #2

Execute the commands 5 seconds after the client was authorized and it should work.
Desikac is offline
Send a message via MSN to Desikac Send a message via Skype™ to Desikac
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 09-08-2010 , 09:29   Re: Execute a client command while loading the game
Reply With Quote #3

I think you can use public client_connect( id ) to detect when the player is loading.
__________________
You can do anything you set your mind to, man.

Devil259 is offline
ghostdlr
Senior Member
Join Date: Aug 2010
Old 09-08-2010 , 11:08   Re: Execute a client command while loading the game
Reply With Quote #4

Same as client_authorized . If I don't set a 4-5 seconds delay before executing the command, it doesn't have effect .

The problem is the client might finish connecting in this 4 seconds .
ghostdlr is offline
ghostdlr
Senior Member
Join Date: Aug 2010
Old 09-08-2010 , 11:26   Re: Execute a client command while loading the game
Reply With Quote #5

NVM

Last edited by ghostdlr; 09-08-2010 at 11:56.
ghostdlr is offline
Reply



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 08:35.


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