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

Pawn or C++


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HawttDawgg
Junior Member
Join Date: Sep 2008
Old 10-01-2008 , 08:45   Pawn or C++
Reply With Quote #1

Hmm, Just one question.
SourceMods uses Pawn or C++?
HawttDawgg is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 10-01-2008 , 10:17   Re: Pawn or C++
Reply With Quote #2

SourceMod uses SourcePawn

MetaMod:Source uses C++
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
naris
AlliedModders Donor
Join Date: Dec 2006
Old 10-01-2008 , 22:18   Re: Pawn or C++
Reply With Quote #3

SourceMod itself is written in C++.
It executes scripts written in SourcePawn.
naris is offline
noob cannon lol
SourceMod Donor
Join Date: Sep 2005
Old 10-02-2008 , 00:09   Re: Pawn or C++
Reply With Quote #4

SourceMod does expose a large amount of useful game-related interfaces you can use for extensions, so it does kind of does support coding in C++
noob cannon lol is offline
Send a message via AIM to noob cannon lol Send a message via MSN to noob cannon lol
Antithasys
Moderator
Join Date: Apr 2008
Old 10-02-2008 , 00:49   Re: Pawn or C++
Reply With Quote #5

Sourcemod itself is written in c++, therefore extensions can also be written in c++.

Plugins on the other hand are written in SourcePawn, not c++.

Plugins, or SourcePawn, utilize the functions that are written in c++ and SourcePawn to function.

It's kind of a circle and I can understand the confusion. The answer is really related to what you are trying to do.

If you want to make a plugin, you will be using SourcePawn.

If you want to make an extension, you will be using C++.
Antithasys is offline
HawttDawgg
Junior Member
Join Date: Sep 2008
Old 10-02-2008 , 05:04   Re: Pawn or C++
Reply With Quote #6

Thanks =)

And ummm.. Can anyone add me, and teach me how to make plugins..? I know the basics of C++ so...

Last edited by HawttDawgg; 10-02-2008 at 05:06.
HawttDawgg is offline
naris
AlliedModders Donor
Join Date: Dec 2006
Old 10-02-2008 , 14:46   Re: Pawn or C++
Reply With Quote #7

SourcePawn is very much like C, so you should be OK.

There is a SourcePawn tutorial here http://wiki.alliedmods.net/Category:SourceMod_Scripting.

You can also find Pawn (from which SourcePawn was derived) documentation here http://www.compuphase.com/pawn/pawn.htm

There is a really good language guide that you can download here: http://www.compuphase.com/pawn/pawn-lang.pdf
naris is offline
HawttDawgg
Junior Member
Join Date: Sep 2008
Old 10-03-2008 , 06:23   Re: Pawn or C++
Reply With Quote #8

Yeah HAHA thanks
HawttDawgg is offline
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 19:44.


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