[Include] uMessageBox
#21

Good Job, man.
Reply
#22

1st. post updated: Version 2.0 released.
Reply
#23

Quote:
Originally Posted by Universal
Посмотреть сообщение
1st. post updated: Version 2.0 released.
This is what i require THANKS Universal! Thanks alot bro. I can change it according to my needs right?

Peace! (Repped+)
Reply
#24

Quote:
Originally Posted by Ballu Miaa
Посмотреть сообщение
This is what i require THANKS Universal! Thanks alot bro. I can change it according to my needs right?

Peace! (Repped+)
Yes. Glad you liked it.

Peace.
Reply
#25

If i remember correctly, char arrays hold up values from 0 to 128. Then again, textdraws can have ID's up to 2048.
So,
pawn Код:
Text: uMsgBox_Content   [ MAX_PLAYERS char ];
Shouldn't be a char array.
And you didn't mention anything about the box size. Ex. does the text move to the next line by it self, or do you have to use ~n~?
Reply
#26

Quote:
Originally Posted by wups
Посмотреть сообщение
If i remember correctly, char arrays hold up values from 0 to 128. Then again, textdraws can have ID's up to 2048.
So,
pawn Код:
Text: uMsgBox_Content   [ MAX_PLAYERS char ];
Shouldn't be a char array.
And you didn't mention anything about the box size. Ex. does the text move to the next line by it self, or do you have to use ~n~?
Oh right! Thanks for reminding me!
And its 0 - 255, not 0 - 128.

You have to use ~n~, I think this is not hard to understand.

I will make a quick update to fix that.
Reply
#27

Quote:
Originally Posted by Universal
Посмотреть сообщение
You have to use ~n~, I think this is not hard to understand.
Actually, you can't understand it without analyzing the code. IIRC the textdraw box parameter sets the place where a new line begins.
Reply
#28

Quote:
Originally Posted by wups
Посмотреть сообщение
Actually, you can't understand it without analyzing the code. IIRC the textdraw box parameter sets the place where a new line begins.
Well maybe you are right. I should have mentioned about it.

PS. Lietuva valit.
Reply
#29

i will try it looks really awsome!
Reply
#30

Very good
Reply
#31

I've sent you a pm regarding the copyrights for this, please read it and reply me as fast as you can.
Thanks!
Reply
#32

Quote:
Originally Posted by Rock1
Посмотреть сообщение
I've sent you a pm regarding the copyrights for this, please read it and reply me as fast as you can.
Thanks!
No probs.
Reply
#33

Add this at the end of the include to show box more easy..

pawn Код:
stock uBox( playerid, rtext[ ], time )
{
    new sH_BoX[ 200 ];
    format( sH_BoX, sizeof( sH_BoX ), "%s", rtext );

    if( rText_Viewing( playerid ) )
    rText_Update( playerid, sH_BoX, true, time );
    else
    rText_Show( playerid, sH_BoX, time );

    return 1;
}
just:
pawn Код:
CMD:blabla( playerid )
{
    uBox( playerid, "blabla", 5 );
    return 1;
}
Reply
#34

What's that?

1st post updated!
Reply
#35

If I use it in my gamemode(#include <...>) and I join to the server, everything's gone. It looks like there's no gamemode or something.. And if I delete the #include .... line, voala! Everything's working again.............
Reply
#36

Can you add up a new feature to it?

Adding Listed Options to the Function which has Unique ID. And add a callback OnPlayerSelectuMBoxOption(playerid,OptionID)\

Good Release by the way
Reply
#37

Quote:
Originally Posted by Extasy4
Посмотреть сообщение
If I use it in my gamemode(#include <...>) and I join to the server, everything's gone. It looks like there's no gamemode or something.. And if I delete the #include .... line, voala! Everything's working again.............
Not sure about that.. Maybe you are doing something wrong?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)