Home
Screenshots
Downloads
Forums
Docs
Servers
Stats
IRC Chat
Mods

Special Special    Search Search    Login/Logout Login

Main Page » Server side hooks

Contents

Server Side Hooks

Introduction

A hook is defined via a hook name. When the server runs certain actions it will also run all hooks registered again that action's hook name.

Hooks

server_channeltext

 server_channeltext(
   integer playerid,
   string channel,
   string message)

Is called when ever a chat message is sent from the server to the client.

server_newgame

 server_newgame()

Is called when the server starts a new game.

server_newround

 server_newround()

Is called when the server starts a new round.

server_playing

 server_playing()

Is called when players are actualy make there moves (either buying or aiming).

server_score

 server_score()

Is called when the overall score screen is being show (at the end of the match).




Edit this pagePage historyWhat links hereRelated changes
Donate to Scorched3D Get Scorched 3D at SourceForge.net. Fast, secure and Free Open Source software downloads Get it from CNET Download.com! 5 Stars
Scorched3D a totally free game, mountaintop removal at its finest.
© Copyright 2009 Gavin Camp. All Rights reserved.