client_putinserver, client_connect, client_disconnect
i have 4 questions!
1. when is client_putinserver called, when the player has choosen team and spawned or when the player comes to the motd screen? 2. is client_connect called when a player has connected or when the player starting to connect? 3. is there any way to exec an command (client_cmd) when a player disconnects? (it is not possibe to onley set it in client_disconnect) 4. is it possible to make the flashlight stronger for one person (or all) or totally make an new flashlight function |
Re: client_putinserver, client_connect, client_disconnect
Quote:
1. MOTD, Code:
public plugin_init()2. When he is connected, meaning when the bars have moved up like 4 places into verifying resources or so. 3. Hmm, I don't think a client-command would work, not positive.. Sorry Maybe if you made a set_task like this... (Not sure) Code:
public client_disconnect() |
Re: client_putinserver, client_connect, client_disconnect
Quote:
|
Re: client_putinserver, client_connect, client_disconnect
Quote:
Quote:
|
then i have one moore question!
how to choose team for the player and jump over the "choose team" screen? |
I'm pretty sure the following will do what you want: http://www.amxmodx.org/funcwiki.php?go=func&id=200
|
but how to "jump over" the choose team part (optionally tell that terrorists team are full)
allso i want to know how to use messages (how to make my own flashlight) |
If you want to make your own flashlight, just get origin where player is looking at and then use message to create a light there.
Message look like this: Code:
and set_task to this command |
| All times are GMT -4. The time now is 14:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.