01.03.2013, 15:43
(
Последний раз редактировалось dugi; 02.03.2013 в 00:01.
)
Alright, so what I am trying to do is save a certain word, maybe more. ( Depends on the one who used /setrank )
I am using dini ( note: please read the notes at the paste bin, I've written them while uploading the paste bin just for this. )
http://pastebin.com/kUSN6Dpn
What may be wrong? When I go to the player's file, it shows only the first four letters of the rank, why?
May I not store and load words using dini?
In game it shows on the faction chat a space before the name and nothing else.
"(( space player_name says: player_text ))"
instead of;
"(( player_rank player_name says: player_text ))"
Thank you!
Alright, I figured out why it shows only the first four letters.
It was because I used the fRank value to save and it was strtok, so it did not save the words after the space. ( Fixed that )
Although it still does not show any rank on the /f (faction chat.)
Please, anyone?
Anyone knows how to save and load words?
I am using dini ( note: please read the notes at the paste bin, I've written them while uploading the paste bin just for this. )
http://pastebin.com/kUSN6Dpn
What may be wrong? When I go to the player's file, it shows only the first four letters of the rank, why?
May I not store and load words using dini?
In game it shows on the faction chat a space before the name and nothing else.
"(( space player_name says: player_text ))"
instead of;
"(( player_rank player_name says: player_text ))"
Thank you!
Alright, I figured out why it shows only the first four letters.
It was because I used the fRank value to save and it was strtok, so it did not save the words after the space. ( Fixed that )
Although it still does not show any rank on the /f (faction chat.)
Please, anyone?
Anyone knows how to save and load words?