SA-MP Forums Archive
undefined symbol "SPECIAL_ACTION_PISSING" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: undefined symbol "SPECIAL_ACTION_PISSING" (/showthread.php?tid=538823)



undefined symbol "SPECIAL_ACTION_PISSING" - YanLanger - 24.09.2014

Well..how do i define this (code needed?)


Re: undefined symbol "SPECIAL_ACTION_PISSING" - Gogeta101 - 24.09.2014

#define SPECIAL_ACTION_PISSING number


Re: undefined symbol "SPECIAL_ACTION_PISSING" - Beckett - 24.09.2014

SPECIAL_ACTION_PISSING is not defined by itself you'll have to define it.

pawn Код:
#define SPECIAL_ACTION_PISSING 69



Re: undefined symbol "SPECIAL_ACTION_PISSING" - Stinged - 24.09.2014

Quote:
Originally Posted by DaniceMcHarley
Посмотреть сообщение
SPECIAL_ACTION_PISSING is not defined by itself you'll have to define it.

pawn Код:
#define SPECIAL_ACTION_PISSING 69
68 not 69.


Re: undefined symbol "SPECIAL_ACTION_PISSING" - Beckett - 24.09.2014

My bad, sorry.


Re: undefined symbol "SPECIAL_ACTION_PISSING" - M0HAMMAD - 24.09.2014

Update Your a_samp include !


Re: undefined symbol "SPECIAL_ACTION_PISSING" - Stinged - 24.09.2014

Quote:
Originally Posted by M0HAMMAD
Посмотреть сообщение
Update Your a_samp include !
1) You're answer is wrong, if you read the wiki, you would know it's not defined in a_samp.

2) We already told him the answer.


Re: undefined symbol "SPECIAL_ACTION_PISSING" - YanLanger - 25.09.2014

says the same thing.


Re: undefined symbol "SPECIAL_ACTION_PISSING" - Abagail - 25.09.2014

As I recall(by memory - correct me if i'm wrong) it's id 68. Try this,

#if defined SPECIAL_ACTION_PISSING
#undef SPECIAL_ACTION_PISSING
#define SPECIAL_ACTION_PISSING 68

That should work. Just place it near the top of your script and re-compile.


Re: undefined symbol "SPECIAL_ACTION_PISSING" - ThePhenix - 25.09.2014

Quote:
Originally Posted by Abagail
Посмотреть сообщение
As I recall(by memory - correct me if i'm wrong) it's id 68. Try this,

#if defined SPECIAL_ACTION_PISSING
#undef SPECIAL_ACTION_PISSING
#define SPECIAL_ACTION_PISSING 68

That should work. Just place it near the top of your script and re-compile.
You should not undefine SPECIAL_ACTION_PISSING, only define it and that's all, also, you're not closing #if using.

PHP код:
#endif