Thread: Scripting Forum
View Single Post
Author Message
BAILOPAN
Join Date: Jan 2004
Old 03-16-2007 , 21:39   Scripting Forum
Reply With Quote #1

This forum is for scripting help, questions, and discussion for SourceMod only. Do not post requests about other projects.

For more information about the SourcePawn language, please see: http://www.sourcemod.net/sdk.php

All questions related to working with SourcePawn/SourceMod are welcome!

Quick Primer
Loading SourceMod
See Installing SourceMod.

Run-time Info
Type "sm" in your server console to get a run-time menu, server-side, for SourceMod.

Coding Plugins
See the SDK for more information. There are example plugins in the "scripting" folder of the SourceMod package. General scripting language introductions will be available soon.

Compiling Plugins
In Windows, open up a command prompt and use:
Code:
cd <sourcemod>\scripting
spcomp myplugin.sp
In Linux, use:
Code:
./spcomp myplugin.sp
Running Plugins
Simply put the .smx (not .sp) file in the SourceMod "plugins" folder.
__________________
egg

Last edited by BAILOPAN; 03-18-2007 at 00:44.
BAILOPAN is offline