email system
#1

hello and happy new year
i want to create email system who allow to send email even if the player is offline

i try to create file .txt for each playername but i can't do succefully

exemple of read email
new File:handler=fopen("emails.txt", io_read);
new string[256], MyVal[256], idx;
while(fread(handler, string))
{
printf("Line %d contains the following text: %s", idx+1, string);
}

who i can create file "player name".txt

thank you
Reply
#2

or any one have email system?
Reply
#3

i think he need the example/code so he will learn
Reply
#4

i use godfather but i don't know how use system "txt"
Reply
#5

Quote:
Originally Posted by Lajko1
i think he need the example/code so he will learn
He won't learn how to script from the code (that's what most of the people are expecting - a clean code), he'll only learn how to copy.
Reply
#6

i learned with exemples
but i don't know how use file functions

i try to use https://sampwiki.blast.hk/wiki/File_Functions
https://sampwiki.blast.hk/wiki/Sscanf

but i cant create file for each players
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)