Raised This Month: $12 Target: $400
 3% 

Scripting Forum


Post New Thread Reply   
 
Thread Tools Display Modes
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
jopmako
Senior Member
Join Date: Jul 2006
Location: QQ:331537639
Old 03-17-2007 , 03:47   Re: Scripting Forum
Reply With Quote #2

GJ to SourceMod Dev Team.
Cheer!
__________________
QQ31537639
jopmako is offline
Send a message via MSN to jopmako
sn4k3
Senior Member
Join Date: Nov 2005
Old 03-17-2007 , 06:49   Re: Scripting Forum
Reply With Quote #3

I cant wait for test this
good job
sn4k3 is offline
Send a message via MSN to sn4k3
Juba_PornBorn
BANNED
Join Date: Apr 2007
Location: Caracas
Old 06-12-2007 , 20:49   Re: Scripting Forum
Reply With Quote #4

Noob question. What tool or script program is used to code source plugins sp?
Juba_PornBorn is offline
Send a message via MSN to Juba_PornBorn
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 06-12-2007 , 20:50   Re: Scripting Forum
Reply With Quote #5

Quote:
Originally Posted by Juba_PornBorn View Post
Noob question. What tool or script program is used to code source plugins sp?
Notepad, Crimson Editor, any text editor
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
Juba_PornBorn
BANNED
Join Date: Apr 2007
Location: Caracas
Old 06-12-2007 , 21:04   Re: Scripting Forum
Reply With Quote #6

So at the moment there's no tool wich in compiling tells you wich are the scripting errors like amxx? I feel like a donkey watching a palace!

Just when I was starting to understand amxx pawn I feel I have to give the next step to what will be the future in gaming but I feel this wont be easy.

Last edited by Juba_PornBorn; 06-12-2007 at 21:06.
Juba_PornBorn is offline
Send a message via MSN to Juba_PornBorn
theY4Kman
Join Date: Jun 2007
Location: Yak
Old 06-12-2007 , 21:09   Re: Scripting Forum
Reply With Quote #7

The compiler tells you what and where the errors are, yes. It's pretty easy to tell where your errors are even without something telling you
theY4Kman is offline
Send a message via ICQ to theY4Kman Send a message via AIM to theY4Kman Send a message via MSN to theY4Kman Send a message via Yahoo to theY4Kman Send a message via Skype™ to theY4Kman
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 06-12-2007 , 21:11   Re: Scripting Forum
Reply With Quote #8

Except when it's the "omgwtfimanub" errors...like a bad path >.<
__________________
Please do NOT PM for support.

Only ask for support in plugin threads.

TunedChaos.com - Precision Tuned Game Servers
FlyingMongoose is offline
theY4Kman
Join Date: Jun 2007
Location: Yak
Old 06-12-2007 , 22:22   Re: Scripting Forum
Reply With Quote #9

Oi! Go pester someone of your own skill level
theY4Kman is offline
Send a message via ICQ to theY4Kman Send a message via AIM to theY4Kman Send a message via MSN to theY4Kman Send a message via Yahoo to theY4Kman Send a message via Skype™ to theY4Kman
Peoples Army
SourceMod Donor
Join Date: Mar 2007
Old 08-04-2007 , 11:39   Re: Scripting Forum
Reply With Quote #10

i wanted to get the sdk but its a tarbell file . what the hell is that and how do i open it ?????
Peoples Army is offline
Reply


Thread Tools
Display Modes

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 04:34.


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