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
Math problem
PowerPC603
High-roller
Posts: 1,733
Threads: 20
Joined: Nov 2010
Reputation:
0
#5
21.01.2014, 06:05
pawn Код:
new
Float
:
speed
=
GetVSpeed
(
playerid
)
;
//Float
new
Float
:
newdist
=
speed
/
3600.0
;
Also put 3600.0 as float.
To prevent warnings about tag mismatches and to be certain you're dividing a float by a float.
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
Math problem
- by
Redirect Left
- 21.01.2014, 03:10
Re: Math problem
- by
SickAttack
- 21.01.2014, 04:13
Re: Math problem
- by
ProjectMan
- 21.01.2014, 05:17
Re: Math problem
- by
Ballu Miaa
- 21.01.2014, 06:00
Re: Math problem
- by
PowerPC603
- 21.01.2014, 06:05
Re: Math problem
- by
Redirect Left
- 21.01.2014, 11:45
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