Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Linear Mode
Scope of variables in PAWN?
randomkid88
Huge Clucker
Posts: 308
Threads: 17
Joined: Mar 2010
Reputation:
0
#3
28.12.2011, 17:08
Yes. Variables declared outside of a callback are considered Global (all functions/callbacks can access them). Anything declared inside a function is local, and only usable by that function.
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
Scope of variables in PAWN?
- by T0pAz - 28.12.2011, 17:03
Re: Scope of variables in PAWN?
- by
CaHbKo
- 28.12.2011, 17:07
Re: Scope of variables in PAWN?
- by
randomkid88
- 28.12.2011, 17:08
Re: Scope of variables in PAWN?
- by T0pAz - 28.12.2011, 17:13
Re: Scope of variables in PAWN?
- by
Calgon
- 28.12.2011, 17:17
Re: Scope of variables in PAWN?
- by
Tannz0rz
- 28.12.2011, 17:19
Re: Scope of variables in PAWN?
- by T0pAz - 28.12.2011, 17:19
Re: Scope of variables in PAWN?
- by
Calgon
- 28.12.2011, 17:23
Re: Scope of variables in PAWN?
- by T0pAz - 28.12.2011, 17:26
Re: Scope of variables in PAWN?
- by
Ash.
- 28.12.2011, 18:33
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help