How do I server command every time a player respawns??
I am making a team fortress 2 server with custom weapons. I want to give every player that respawns the new weapon by running the server command for giveitem on them. I was wondering if there was a way to go about doing this? I know a liiitle bit of sourcepawn (I did the tutorial) so thats an option for me if it is necisarry
|
Re: How do I server command every time a player respawns??
Quote:
then use https://sm.alliedmods.net/new-api/console/ServerCommand in callback |
Re: How do I server command every time a player respawns??
Quote:
PHP Code:
|
Re: How do I server command every time a player respawns??
Never mind I got it! thank you very much!!!
|
Re: How do I server command every time a player respawns??
You may want to look into the post_inventory_application event, which is fired every time the game refreshes a player's loadout.
|
Re: How do I server command every time a player respawns??
Quote:
|
All times are GMT -4. The time now is 18:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.