SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 22/08/2019, 03:54 PM   #1
Mohaowmad
Little Clucker
 
Join Date: Oct 2018
Posts: 48
Reputation: 0
Default Saving Bool With Y_ini

Hello
How can I Save & Load a Bool?

my Bool:
PHP Code:
PlayerInfo[playerinfo][READPM] = true
Mohaowmad is offline   Reply With Quote
Old 22/08/2019, 04:04 PM   #2
Plastikmensch
Huge Clucker
 
Join Date: Aug 2016
Posts: 272
Reputation: 22
Default Re: Saving Bool With Y_ini

A bool is basically just an integer, but limited to being either 0 or 1, so you can save and load is as such.
Plastikmensch is offline   Reply With Quote
Old 22/08/2019, 04:19 PM   #3
Calisthenics
Gangsta
 
Join Date: May 2018
Posts: 662
Reputation: 96
Default Re: Saving Bool With Y_ini

INI_WriteBool and INI_Bool
Calisthenics 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
[y_ini / saving / vehicles] my problems with saving y_ini astanalol Scripting Help 29 07/03/2015 11:25 AM
y_ini saving bug SnG.Scot_MisCuDI Scripting Help 4 04/02/2015 02:21 AM
Y_INI bool Banditukas Scripting Help 6 09/11/2014 05:06 PM
bool mysql to bool pawn variable. shady001 Scripting Help 3 08/03/2013 04:46 PM
Y_INI saving help 69 Scripting Help 9 02/12/2012 12:30 PM


All times are GMT. The time now is 12:28 PM.


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