need help email
#1


i try to create system of email
its possible to create .ini file in a folder email for each player
and to allow other player to write text in a ini (send email) to a player.ini file even if the player is offline?



new string3[256],filename[256];
tmp = strtok(cmdtext, idx);
format(string3, sizeof(string3), "email/%s.ini", filename);
new File: hFile = fopen(string3, io_write);
if(!dini_Exists(string3))
{
dini_Create(string3);
dini_Set(string, "email1", tmp);
dini_Set(string, "email2, tmp);
dini_Set(string, "email3, tmp);
dini_Set(string, "email4, tmp);
dini_Set(string, "email5, tmp);
dini_Set(string, "email6, tmp);
dini_Set(string, "email7, tmp);
dini_Set(string, "email8, tmp);
dini_Set(string, "email9, tmp);
dini_Set(string, "email10, tmp);
return 1;
}
Reply
#2

is this possible ? its ASP.NET and i dont think you can make it.
Reply
#3

Ofcourse it's possible.

But it's a long code

You can have a text file say "Inbox.ini" and "Outbox.ini" in each player folder. Then use io_append to add the messages and not replace them.
Reply
#4

oo . lol i meaned to send this all email: name@hotmail.com
Reply
#5

Quote:
Originally Posted by » Titan «
oo . lol i meaned to send this all email: name@hotmail.com
Why would he ask about THAT email ?
It would have been WRONG SECTION
Reply
#6

XD why we dump it then ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)