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
Enums question
RajatPawar
High-roller
Posts: 2,187
Threads: 81
Joined: Aug 2011
Reputation:
0
#2
12.05.2013, 16:54
pawn Код:
#define INFINITY (Float:0x7F800000)
#define MAX_PLANTS INFINITY
I guess that wouldn't work. Or would it?
Or if this doesn't, just define max plants as something you'll never reach, 9000000000000, something like that, which will be wasting memory.
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
Enums question
- by
PaulDinam
- 12.05.2013, 16:52
Re: Enums question
- by
RajatPawar
- 12.05.2013, 16:54
Re: Enums question
- by
PaulDinam
- 12.05.2013, 16:58
Re: Enums question
- by
ReVo_
- 12.05.2013, 17:36
Re: Enums question
- by
PaulDinam
- 12.05.2013, 18:34
Re: Enums question
- by
Cameltoe
- 12.05.2013, 18:43
Re: Enums question
- by
Vince
- 12.05.2013, 19:22
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: 4 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help