Re: uMessageBox -
Hardware - 28.01.2012
Good Job, man.
Re: uMessageBox -
Universal - 28.02.2012
1st. post updated: Version 2.0 released.
Re: uMessageBox -
Ballu Miaa - 28.02.2012
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+)
Re: uMessageBox -
Universal - 28.02.2012
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.
Re: uMessageBox -
wups - 28.02.2012
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~?
Re: uMessageBox -
Universal - 28.02.2012
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.
Re: uMessageBox -
wups - 29.02.2012
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.
Re: uMessageBox -
Universal - 29.02.2012
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.
Re: uMessageBox -
Dude_Lebowski - 13.03.2012
i will try it looks really awsome!
Re: uMessageBox -
Hansolue - 13.03.2012
Very good
Re: uMessageBox -
Rock1 - 19.03.2012
I've sent you a pm regarding the copyrights for this, please read it and reply me as fast as you can.
Thanks!
Re: uMessageBox -
Universal - 23.03.2012
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.
Re: uMessageBox -
rVar - 30.04.2012
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;
}
Re: uMessageBox -
Universal - 15.07.2012
What's that?
1st post updated!
Re: uMessageBox -
Extasy4 - 30.09.2012
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.............
Re: uMessageBox -
Ballu Miaa - 02.10.2012
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
Re: uMessageBox -
Universal - 21.04.2013
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?