Posts: 35
Threads: 18
Joined: Apr 2013
Reputation:
0
How do I save and load strings like I own an RP script and I want to save strings like pCrimeReason but I can't because I don't know how to save and load strings. Even on the YINI page it doesn't give enough information..
Please... Help.
Posts: 609
Threads: 93
Joined: Jul 2013
Reputation:
0
You could make a command like /su [playerid] [reason] and that reason can be a number and you save the number. Then you could make a stock that will look for that number and will for example. "If(PlayerInfo[playerid][pCrimeReason] == 1)" it can return a string like "Bank Robbery". And you can make a whole list of types of crimes and when someone gives someone a crime you can just add a number as the reason and the stock will get the number and make it a string.