AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   how to exec commands at the end of each round? (https://forums.alliedmods.net/showthread.php?t=47281)

zmeanmachine 11-13-2006 23:06

how to exec commands at the end of each round?
 
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

XxAvalanchexX 11-13-2006 23:27

Re: how to exec commands at the end of each round?
 
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).

The Specialist 11-14-2006 00:06

Re: how to exec commands at the end of each round?
 
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?:|

XxAvalanchexX 11-14-2006 00:12

Re: how to exec commands at the end of each round?
 
You can use client_cmd to call commands registered by an AMXx plugin (including your own), yes.

The Specialist 11-14-2006 01:12

Re: how to exec commands at the end of each round?
 
kool thanks man :up:

zmeanmachine 11-14-2006 21:55

Re: how to exec commands at the end of each round?
 
man i know nothing about scripting :(

The Specialist 11-14-2006 23:18

Re: how to exec commands at the end of each round?
 
lol its ok youll learn :wink:


All times are GMT -4. The time now is 07:00.

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