Posts: 6,242
Threads: 8
Joined: Jun 2008
Why do you use #DEFINE FILTERSCRIPT when you have no need to...
Posts: 144
Threads: 19
Joined: Mar 2016
Reputation:
0
Oh, I though i removed it :P
Posts: 1,222
Threads: 23
Joined: Jul 2009
Reputation:
0
Why so you use that (horrible) pragma?
Posts: 6,242
Threads: 8
Joined: Jun 2008
Quote:
Originally Posted by oSAINTo
You see, as a high roller, I'd assume you'd be more lenient to people like myself and OP. Instead, you're a smartass who finds the need to correct everyone in a harsh tone and not be polite and compliment how they're at least trying. More than half of the SA:MP community lays their eyes onto anything scripting related, gets confused, and lays it off. Be more considerate.
|
Damn son, way to go full retard huh?
Posts: 763
Threads: 31
Joined: Oct 2013
Reputation:
0
Your First FilterScript ?
well good work..
Posts: 586
Threads: 14
Joined: Aug 2015
Reputation:
0
Can you please remove that pragma and show to us Errors/Warnings?
Posts: 144
Threads: 19
Joined: Mar 2016
Reputation:
0
Loose Intenditions. only.
Posts: 6,242
Threads: 8
Joined: Jun 2008
Don't use pragma to fix small errors.
Just fix the indentations.
Quote:
Originally Posted by Stinged
Defining FILTERSCRIPT is very important when using includes (other than a_samp)
Most includes check if FILTERSCRIPT is defined to know what callback they should hook (ex: OnFilterScriptInit or OnGameModeInit)
So actually, he should keep it (because he's using zcmd and it uses that)
|
Sure, use the #define, but using the #if relating to it is unnecessary, and more likely a remnant of using the new.pwn, same with the pragma.
Posts: 54
Threads: 8
Joined: Dec 2017
Well Great work, Good Good