18.09.2013, 21:00
NewsBox
Hi,
This is an Include which would create a textdrawbox at the right bottom corner of your screen in your SA-MP Server.
The changes you need to make in your GM/FS if you're going to use this are as follows.
First, On the top of your Script you would have to write this:
Second, Under OnGameModeInit()/OnFilterScriptInit() you would have to add the following:
Third, Under OnPlayerConnect(playerid) you would have to add the following:
Finally, You would've to add the following under OnPlayerDisconnect(playerid):
Screenshot:
I'd soon be releasing an FS related to this and would try to update this too since this is the very basic thingy.
Downloads:
Mediafire
Pastebin
I Hope people like it.
Hi,
This is an Include which would create a textdrawbox at the right bottom corner of your screen in your SA-MP Server.
The changes you need to make in your GM/FS if you're going to use this are as follows.
First, On the top of your Script you would have to write this:
pawn Код:
#include <NewsBox>
pawn Код:
public OnGameModeInit()
{
NewsBoxTextDrawInit();
return 1;
}
pawn Код:
public OnPlayerConnect(playerid)
{
NewsBoxTextDrawConnect(playerid);
return 1;
}
pawn Код:
public OnPlayerDisconnect(playerid)
{
NewsBoxTextDrawDisconnect(playerid);
return 1;
}
pawn Код:
/* native (Fuction Of the Include)
SendNewsBoxMessage(playerid, const text [])
*/
I'd soon be releasing an FS related to this and would try to update this too since this is the very basic thingy.
Downloads:
Mediafire
Pastebin
I Hope people like it.