09.03.2014, 13:23
Yes, yes I know there is documentation on how to do this on the release thread but it didn't work for my needs so I need a little bit of assistance.
If I save a string to a player file (%s.ini) and then want to load it as a string ("%s", PlayerInfo[playerid][pString]), how do I call it? I've tried a few methods but all have failed and I can't find a way around it. I've tried looking through other scripts to find methods like it, but still nothing. If I save an integer to a file, and call it, it's easy, but if it's a string it just doesn't work the same way. I'm new when it comes to saving files and loading them, so excuse me if I've missed something basic.
Thanks
If I save a string to a player file (%s.ini) and then want to load it as a string ("%s", PlayerInfo[playerid][pString]), how do I call it? I've tried a few methods but all have failed and I can't find a way around it. I've tried looking through other scripts to find methods like it, but still nothing. If I save an integer to a file, and call it, it's easy, but if it's a string it just doesn't work the same way. I'm new when it comes to saving files and loading them, so excuse me if I've missed something basic.
Thanks