What is it @?
#6

From pawn-lang.pdf
Quote:

Global “simple” variables (no arrays) may be declared “public” in two ways:
⋄ declare the variable using the keyword public instead of new;
⋄ start the variable name with the “@” symbol.
Public variables behave like global variables, with the addition that the host program can also read and write public variables. A (normal) global variable can only be accessed by the functions in your script —the host program is unaware of them. As such, a host program may require that you declare a variable with a specific name as “public” for special purposes —such as the most recent error number, or the general program state.

However I dont really know why you would need public variables for samp.
Reply


Messages In This Thread
What is it @? - by DarkPower - 06.12.2012, 11:49
Re: What is it @? - by RajatPawar - 06.12.2012, 12:03
Re: What is it @? - by DarkPower - 06.12.2012, 12:05
Re: What is it @? - by RajatPawar - 06.12.2012, 12:07
Re: What is it @? - by DarkPower - 06.12.2012, 12:08
Re: What is it @? - by Mauzen - 06.12.2012, 12:23
Re: What is it @? - by DarkPower - 06.12.2012, 12:28
Re: What is it @? - by Mauzen - 06.12.2012, 21:31
Re: What is it @? - by DarkPower - 07.12.2012, 11:42
Re: What is it @? - by SuperViper - 07.12.2012, 14:16

Forum Jump:


Users browsing this thread: 1 Guest(s)