Raised This Month: $ Target: $400
 0% 

how to exec commands at the end of each round?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zmeanmachine
Junior Member
Join Date: Oct 2006
Old 11-13-2006 , 23:06   how to exec commands at the end of each round?
Reply With Quote #1

hey all. how r u
i was wondering how can i execute some commands at the end of each round
example. at each round end i want the command buy_parachute or something to be executed

thx
zmeanmachine is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 11-13-2006 , 23:27   Re: how to exec commands at the end of each round?
Reply With Quote #2

See VEN's post about new round/player spawn/round start/round end and hook the round end that way. Then use client_cmd with a first argument of 0 or server_cmd (depending on what you are trying to do).
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
The Specialist
BANNED
Join Date: Nov 2006
Old 11-14-2006 , 00:06   Re: how to exec commands at the end of each round?
Reply With Quote #3

Thread Hijack : If you have a client command registered in one running plugin , can you use client_cmd to execute it ? or do you need a server command?
The Specialist is offline
Send a message via AIM to The Specialist
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 11-14-2006 , 00:12   Re: how to exec commands at the end of each round?
Reply With Quote #4

You can use client_cmd to call commands registered by an AMXx plugin (including your own), yes.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
The Specialist
BANNED
Join Date: Nov 2006
Old 11-14-2006 , 01:12   Re: how to exec commands at the end of each round?
Reply With Quote #5

kool thanks man
The Specialist is offline
Send a message via AIM to The Specialist
zmeanmachine
Junior Member
Join Date: Oct 2006
Old 11-14-2006 , 21:55   Re: how to exec commands at the end of each round?
Reply With Quote #6

man i know nothing about scripting
zmeanmachine is offline
The Specialist
BANNED
Join Date: Nov 2006
Old 11-14-2006 , 23:18   Re: how to exec commands at the end of each round?
Reply With Quote #7

lol its ok youll learn
The Specialist is offline
Send a message via AIM to The Specialist
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 07:00.


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