Quick explanation
#1

Hey guys, I was just wondering the meaning of this line, I think it's used for zcmd only.

pawn Код:
#pragma unused params
Thanks for the help, it's appreciated.
Reply
#2

(From my own explanation)

Sometimes when you make a snippet of code and use a word like "params" you have to "new params;" or what ever. Theres some code that has "params" in it that you need to make a snipper work, but it never uses the word "params" so you use "#pragma unused params" so that you dont get any errors or warnings about that word when compiling...

Someone please correct me if i am wrong
Reply
#3

It means its saying:

"I'm not going to use the parameters in the command so ignore any warnings this generates and continue"

If not this might get a warning saying the params is never used.

Edit: Why me so slow at posting :/
Reply
#4

Thanks a lot guys
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)