26.04.2011, 22:18
(
Последний раз редактировалось Mean; 27.04.2011 в 11:54.
)
So, another Include I made when I was srsly bored.
Now, it's an infobox system.
To use it, do this:
Extract mBoxes.inc into your pawno\include folder
Add this at top of your script:
And add this to OnPlayerKeyStateChange:
So it should look like:
Now to use mBoxes, simply use:
Example usage:
It will automatically add "Use Fire button to close" thingy at bottom of your textdraw, and you just need to use your Fire Button to close the box.
Screenshot:
Click me to download!
EDIT: Also credits to Zamaroht for his TextDraw editor.
Now, it's an infobox system.
To use it, do this:
Extract mBoxes.inc into your pawno\include folder
Add this at top of your script:
pawn Код:
#include < mBoxes >
pawn Код:
InfoBoxKeyStateChange( playerid, newkeys, oldkeys );
pawn Код:
public OnPlayerKeyStateChange( playerid, newkeys, oldkeys )
{
InfoBoxKeyStateChange( playerid, newkeys, oldkeys );
// Your other code...
return 1;
}
pawn Код:
ShowInfoBox( playerid, text[ ] )
pawn Код:
ShowInfoBox( playerid, "This is a sample infobox. " );
Screenshot:
Click me to download!
EDIT: Also credits to Zamaroht for his TextDraw editor.