21.01.2017, 02:31
(
Last edited by JustMe.77; 11/03/2017 at 02:35 AM.
)
Yo, it's me again & welcome to my second release.
Today I share my Login / Register TextDraws, which have been created & scripted by me, so they're ready to use !
Previous Release
[Include] Anti-Vehiclerepair Hack
Information
As I said, I'm releasing here my Login / Register TextDraws. There are currently 12 different Functions available. I've integrated also a Realtime - TextDraw which displays the current time of the server.
Apart from the Realtime, there are 4 clickable Buttons. If you click on them, a Dialog appear with the matching information (e.g. if you click on Credits, a Dialog with all contributors to the server will appear)
Here are a few Screenshots (different colors):
Functions
Example of showing TextDraws
In my case MySQL:
Credits
v.1.0.1:
Version 1.0.2 - CLICK ME
End
There we are again, the end.. I hope you guys like it, please leave a comment.
See ya till my next release !
Today I share my Login / Register TextDraws, which have been created & scripted by me, so they're ready to use !
Previous Release
[Include] Anti-Vehiclerepair Hack
Information
As I said, I'm releasing here my Login / Register TextDraws. There are currently 12 different Functions available. I've integrated also a Realtime - TextDraw which displays the current time of the server.
Apart from the Realtime, there are 4 clickable Buttons. If you click on them, a Dialog appear with the matching information (e.g. if you click on Credits, a Dialog with all contributors to the server will appear)
Here are a few Screenshots (different colors):
Functions
HTML Code:
CreateGlobalLoginTextDraws() - Create all Global-TextDraws CreatePlayerLoginTextDraws(playerid) - Create all Player-TextDraws ShowLoginTextDraws(playerid) - Show all TextDraws HideLoginTextDraws(playerid) - Hide all TextDraws DestroyGlobalLoginTextDraws(playerid) - Destroys all Global-TextDraws DestroyPlayerLoginTextDraws(playerid) - Destroys all Player-TextDraws PlayerIsRegistered(playerid) - Adapt the Textdraw messages to already registered players PlayerIsNotRegistered(playerid) - Adapt the Textdraw messages to players who are not registered #define LoginTextDrawColor - Change the TextDraw Color (PAWN HEX CODE) #define TextDrawHoverColor - Change the TextDraw Hover Color (PAWN HEX CODE) #define LT_ServerName - Adapt's the Servername (Welcome to YOUR_SERVERNAME..) #define RandomLoginColors - Uncommented = Random TextDraw colors for each player
In my case MySQL:
HTML Code:
public OnPlayerConnect(playerid) { if(mysql_num_rows() != 0) { //Player is registered PlayerIsRegistered(playerid); } else { //Player is not registered PlayerIsNotRegistered(playerid); } return 1; }
- Zamaroht - TextDraw Editor
- n0minal - This textdraws are inspired a bit by his textdraws from the old project "Zombotec"
- Jelly23 - Great Support
v.1.0.1:
- TextDraws are created now as Global-TextDraws, except the TextDraws which can be different from player to player
- Renamed UpdateRealTime to LR_UpdateRealTime
- Added Dialogs
- Added OnPlayerClickPlayerTextDraw into the Include (need to be moved into Gamemode if the Callback is already in use)
- Hooked OnPlayerClickTextDraw
- Renamed / Added new Functions (see above)
- Added new Function: #define RandomLoginColors
- OnPlayerClickPlayerTextDraw is now hooked (thanks to @Lordzy)
- General Improvements..
Version 1.0.2 - CLICK ME
End
There we are again, the end.. I hope you guys like it, please leave a comment.
See ya till my next release !