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
Better way
GoldenLion
Gangsta
Posts: 944
Threads: 128
Joined: Sep 2014
Reputation:
0
#9
22.10.2016, 13:55
Quote:
Originally Posted by
Konstantinos
I think you make things more complicated when you can use something like this:
pawn Код:
enum
{
ITEM_APPLE,
ITEM_ORANGE,
ITEM_BOTTLE_OF_WATER,
...
}
;
then you can use itemid as an integer which would make everything much easier, even in using a switch statement to retrieve the item's name or model etc.
Thank you for your suggestion, but I guess I'll stick to the current way. :P
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
Better way
- by
GoldenLion
- 22.10.2016, 11:41
Re: Better way
- by
Dayvison_
- 22.10.2016, 11:48
Re: Better way
- by
Kaliber
- 22.10.2016, 11:55
Re: Better way
- by
GoldenLion
- 22.10.2016, 12:03
Re: Better way
- by
Kaliber
- 22.10.2016, 12:12
Re: Better way
- by
GoldenLion
- 22.10.2016, 12:14
Re: Better way
- by
GoldenLion
- 22.10.2016, 13:36
Re: Better way
- by
Konstantinos
- 22.10.2016, 13:42
Re: Better way
- by
GoldenLion
- 22.10.2016, 13:55
Re: Better way
- by
Gammix
- 22.10.2016, 16:00
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