Saving and loading words problem.
#1

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?
Reply
#2

Anyone..?
Reply
#3

strval made to convert string into a integer.
As I see your 'Rank' is a string, when why you trying to convert it into a integer?
Reply
#4

I just have to say one thing which is I love you.

Will rep you as soon as I can ( I repped too many people in the last 24 hours )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)