Jump to page content
English English   Polish Polish   Dutch Dutch   Russian Russian   German German   Hungarian Hungarian   Norwegian Norwegian   Swedish Swedish   Finnish Finnish   Romanian Romanian   Spanish Spanish   Portuguese Portuguese   Latvian Latvian  
Homepage
Home
Register
Login

Resources
Forum
Wiki
Servers

rssBoxes (box)

Category:misc
Author(s):mrdejong
Downloads:723
Rate:You need to be logged in to vote
Rating:3 (9 Votes)
Description:
Current stable release: 1.0.1

This is an box system with 4 gui box sets.

They are server and client side.

This version had the next boxes:

1. Error box
2. Warning box
3. Info box
4. Confirm box

Installation:

In your gamemode/script dir in the resource folder create:

DIR: client
DIR: client - images
DIR: server

put the next files in:

error.png, warning.png, info.png, question.png in:
client/images

client_core.lua, client_funtions.lua, client_example.lua in:
client

server_functions.lua, server_example.lua in:
server

Add in your meta.xml file:

<file src="client/images/error.png" type="client" />
<file src="client/images/warning.png" type="client" />
<file src="client/images/info.png" type="client" />
<file src="client/images/question.png" type="client" />
<script src="server/server_functions.lua" type="server" />
<script src="server/server_example.lua" type="server" />
<script src="client/client_core.lua" type="client" />
<script src="client/client_functions.lua" type="client" />
<script src="client/client_example.lua" type="client" />

Then test it with the next commands:

Client:
/cerror - Show error box
/cwarning - Show warning box
/cinfo - Show info box
/cconfirm - get you million.

server:
/serror - Show error box
/swarning - Show warning box
/sinfo - Show info box
/sconfirm - get you million.

More information at:
http://forum.mtasa.com/viewtopic.php?f=91&t=22958&..25#p279025
...

(more)

Download latest version | Report

Version history

Version Publish Date Changes
1.0.1 2008-06-03 17:43:54 New version 1.0.1 Bug fix release.

Fixed bugs:
Client confirmation check. Didn't check good.
Deleted one event (confirm box ("onClientConfirmAction")).
Added two events confirm box:
[server]
onGoodConfirm (yes)
onBadConfirm (no)

[client]
onClientGoodConfirm (yes)
onClientBadConfirm (no)

Look back at server_example.lua and client_example.lua
Download
1.0.0 2008-06-03 13:54:52 First public release Download