Raised This Month: $ Target: $400
 0% 

Some questions about source pawn.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-16-2012 , 03:24   Re: Some questions about source pawn.
Reply With Quote #1

TL;DR

Pawn or Source Pawn? Which are you actually asking about. None of the code you posted is Source Pawn.

EDIT: Ok, I skimmed over it:

#1: Example:

amxmodx.inc
PHP Code:
#if defined _amxmodx_included
  #endinput
#endif
#define _amxmodx_included 
#3: Why would it be checked 10 times?????? If it's called once, it gets called once.
#4: A switch() is always more efficient than an if else if structure.

#3&4: If you want to know more then you should first read the AMX Mod X wiki. There are some explanations of why some things are more efficient than others.
__________________

Last edited by fysiks; 05-16-2012 at 03:31.
fysiks is offline
Hyper Nova
BANNED
Join Date: May 2012
Old 05-16-2012 , 05:06   Re: Some questions about source pawn.
Reply With Quote #2

thanks.

Last edited by Hyper Nova; 05-16-2012 at 11:19.
Hyper Nova 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 00:28.


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