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
Ternary operator...
Riddick94
Banned
Posts: 1,767
Threads: 124
Joined: Mar 2010
#1
08.02.2013, 15:31
(
Last edited by Riddick94; 08/02/2013 at 06:58 PM.
)
pawn Code:
PlayerData
[
playerid
]
[
E_PLAYER_MONEY
]
+=
(
money
>
MAX_PLAYER_MONEY
?
MAX_PLAYER_MONEY
:
money
)
;
Any idea why it's not working? I do not want to exceed some value to the player variable E_PLAYER_MONEY.
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
Ternary operator...
- by
Riddick94
- 08.02.2013, 15:31
Re: Ternary operator...
- by
Riddick94
- 09.02.2013, 15:09
Re: Ternary operator...
- by
Pooh7
- 09.02.2013, 15:10
Re: Ternary operator...
- by
LarzI
- 09.02.2013, 15:11
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