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
From string to Enum variable
iLearner
Unregistered
#3
20.01.2017, 23:43
PHP код:
new
r
=
GetRandomNumber
(
1
,
2
);
switch(
r
)
{
case
0
: {
Maps
[
id
][
black1
]}
case
1
: {
Maps
[
id
][
black2
]}
}
Could be a solution tbh
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
From string to Enum variable
- by
PeanutButter
- 20.01.2017, 23:13
Re: From string to Enum variable
- by
AmigaBlizzard
- 20.01.2017, 23:23
Re: From string to Enum variable
- by iLearner - 20.01.2017, 23:43
Re: From string to Enum variable
- by
Dutheil
- 21.01.2017, 06:16
Re: From string to Enum variable
- by
Vince
- 21.01.2017, 09:41
Re: From string to Enum variable
- by
Dutheil
- 21.01.2017, 09:51
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