how save email sent in the game with laptop system
#1

i created a laptop system
but now i want create a txt file for each receiver of email.and this receiver can read the txt file.
how can i script?
who can help me?

Thank you
Reply
#2

Ugh files ftl, you're better off using sqlite/mysql :P.

read these if you really want to use files instead though :

https://sampwiki.blast.hk/wiki/File_Functions
https://sampwiki.blast.hk/wiki/Sscanf (I'd use this instead of the getval in the above tut, but thats just me...)
Reply
#3

thank you but how i can add this in my gamemode lol
Reply
#4

with this system i can read file and the text appear in the game?
Reply
#5

Quote:
Originally Posted by jasonnw666
with this system i can read file and the text appear in the game?
Yes. Just read through and get used to using the file functions. If you dont understand it, you need to read through the wiki to get a better understanding of pawn (or even read the pawn.pdf, which can be found here).

Feel free to pm me if you have any more problems (once you have fully read the above/made an honest attempt, that is ).
Reply
#6

thank you for your help

i already use this to create save system (after a crash or playerdisconnect)
but i never used this to save text and the playercan read the text
i will work on this now
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)