SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 14/09/2019, 08:17 AM   #1
aminchikokiller
Banned
 
Join Date: Jul 2016
Posts: 11
Reputation: 4
Cool EasyConvert.inc | Converting Variables!

Easy Convert
List of New Functions:
  • StringToInt(string[])
  • IntToString(int)
  • FloatToString(Float: floatvar)
  • StringToFloat(string[])
  • FloatToInt(Float: floatvar)
  • IntToFloat(int)

This file allows you to convert variables without checking samp wiki. Really, I can't remember them all!
The main reason of creating this include is simplification default functions.

Download: https://www.upload.ee/files/10478366...nvert.inc.html

Last edited by aminchikokiller; 14/09/2019 at 10:34 AM.
aminchikokiller is offline   Reply With Quote
Old 14/09/2019, 08:56 AM   #2
Rolux
Big Clucker
 
Rolux's Avatar
 
Join Date: Jun 2013
Location: u2mu7c7ttj8qt
Posts: 72
Reputation: 20
Default Re: EasyConvert.inc | Converting Variables!

Sorry,but this is pretty useless.
+The float parts are not working.
Rolux is offline   Reply With Quote
Old 14/09/2019, 10:33 AM   #3
aminchikokiller
Banned
 
Join Date: Jul 2016
Posts: 11
Reputation: 4
Default Re: EasyConvert.inc | Converting Variables!

Quote:
Originally Posted by Rolux View Post
Sorry,but this is pretty useless.
+The float parts are not working.
This include works as define or something like that. Nothing new, just working with converting becomes easier.
Thanks for your comment, I fixed all bugs I've found. I forgot that pawn doesn't accept "float:", I had to use "Float:"

Link is updated.
aminchikokiller is offline   Reply With Quote
Old 18/09/2019, 08:33 AM   #4
AbyssMorgan
Banned
 
Join Date: Apr 2015
Location: Poland
Posts: 1,213
Reputation: 352
Default Re: EasyConvert.inc | Converting Variables!

We already have everything
https://forum.sa-mp.com/showthread.php?t=610012
AbyssMorgan is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] Player Variables vs Normal Variables. Carlton Tutorials 24 09/09/2016 08:19 PM
How to make Y_INI loop through all variables, without knowing the name of the variables? Prostilov Scripting Help 3 31/08/2014 11:24 PM
Global variables or Local variables armyoftwo Help Archive 3 02/10/2010 05:45 PM
Troubles converting variables Ellis Help Archive 3 10/04/2009 06:59 PM


All times are GMT. The time now is 01:00 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.