Raised This Month: $ Target: $400
 0% 

functions source code


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Wolle
Member
Join Date: Jun 2005
Location: Berlin / Germany
Old 02-26-2007 , 15:30   functions source code
Reply With Quote #1

Hi all.
Let's say I wanted to look at how user_slap was written. Where would I look?

Thank you.
__________________
Become part of games development!
http://www.games-academy.de
Wolle is offline
Send a message via AIM to Wolle
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 02-26-2007 , 19:29   Re: functions source code
Reply With Quote #2

http://www.amxmodx.org/downloads.php

Take a look at AMX Mod X Source-Code.

v1.76 Tarball is a .tar.gz file which contains all of the source files. These are best viewed with a C++ program, such as MSVC.

ViewVC/SVN allows you to browse all of the source files individually over the web.

SVN (Anonymous) lets you look through the source files with a SVN program, such as TortoiseSVN.

The user_slap code is in amxmodx/amxmodx.cpp (line 1472, if I'm looking at the correct version).
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS

Last edited by XxAvalanchexX; 02-26-2007 at 19:31.
XxAvalanchexX is offline
Wolle
Member
Join Date: Jun 2005
Location: Berlin / Germany
Old 02-27-2007 , 05:32   Re: functions source code
Reply With Quote #3

I'm looking at it atm.
That's exactly what I was looking for.
What's interessting though is that in my scripts user_slap gets passed 3 parameters. In the source to that function it expects only 2.
Am I missing something?


EDIT:
NVM it's an array of parameters ;)

Thanks for the help!
You shall be rewarded!!
__________________
Become part of games development!
http://www.games-academy.de

Last edited by Wolle; 02-27-2007 at 05:36.
Wolle is offline
Send a message via AIM to Wolle
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 00:42.


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