Y_INI.... Help!
#1

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.
Reply
#2

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)