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
help.
SyS
High-roller
Posts: 1,939
Threads: 11
Joined: Oct 2015
Reputation:
0
#9
02.04.2017, 11:33
(
Последний раз редактировалось SyS; 03.04.2017 в 16:21.
)
Quote:
Originally Posted by
Troydere
Let the stars be whatever they want to be.
Don't use the variable, do it like this:
PHP код:
if(
GetPlayerWeapon
(
playerid
) ==
4
||
GetPlayerWeapon
(
playerid
) ==
9
|| ..)
Dont do it. Why to provide multiple overhead for getting same value? you can save some memory and performance by store and use method.
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
help.
- by
AndreaSanchez
- 07.03.2017, 16:02
Re: help.
- by
Toroi
- 07.03.2017, 16:05
Re: help.
- by
AndreaSanchez
- 07.03.2017, 16:08
Re: help.
- by
Toroi
- 07.03.2017, 16:14
Re: help.
- by
Stinged
- 07.03.2017, 18:31
Re: help.
- by
Toroi
- 07.03.2017, 19:26
Re: help.
- by
Stinged
- 08.03.2017, 19:49
Re: help.
- by
Toroi
- 08.03.2017, 19:55
Re: help.
- by
SyS
- 02.04.2017, 11:33
Re: help.
- by
GhostHacker9
- 02.04.2017, 13:19
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: 2 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help