04-12-2007, 04:14 PM
A mail System is very easy actually.
1 map attribute - has mailing and reading.
Then when sending you just write it to the playername [name] with getvar/putvar. Then you could have 5 mails in each box. So it checks if:
[name]
Mail1=Hey
Mail2=Hell0
Mail3=
Mail4=
Mail5=
It should basicly check for a free slot in those 5 rows, if there is none. Clear them all and start from Mail1.
And just use it when reading. This type takes like 10, top 15 minutes to complete.
1 map attribute - has mailing and reading.
Then when sending you just write it to the playername [name] with getvar/putvar. Then you could have 5 mails in each box. So it checks if:
[name]
Mail1=Hey
Mail2=Hell0
Mail3=
Mail4=
Mail5=
It should basicly check for a free slot in those 5 rows, if there is none. Clear them all and start from Mail1.
And just use it when reading. This type takes like 10, top 15 minutes to complete.