SA-MP Forums Archive
[FilterScript] X Box [Simple Textdraw Box System] [Unique] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] X Box [Simple Textdraw Box System] [Unique] (/showthread.php?tid=372784)

Pages: 1 2


Re: X Box [Simple Textdraw Box System] [Unique] - Team_PRO - 30.08.2012

Add Rep Dude Forgot To Do That.


Re: X Box [Simple Textdraw Box System] [Unique] - XtremeR - 30.08.2012

Thanks Alot!


Re: X Box [Simple Textdraw Box System] [Unique] - XtremeR - 30.08.2012

Woho Really Thanks for Reps Guys!


Re: X Box [Simple Textdraw Box System] [Unique] - $.Bruce.$ - 31.08.2012

Good job


Re: X Box [Simple Textdraw Box System] [Unique] - XtremeR - 31.08.2012

Thanks bro!


Re: X Box [Simple Textdraw Box System] [Unique] - XtremeR - 02.09.2012

wow thanks for the reps guys


Respuesta: X Box [Simple Textdraw Box System] [Unique] - Gryphus One - 09.11.2012

Hi, I have just downloaded your file and taken a very quick look at the script. And maybe it's because I'm a newbie at scripting, but I don't know why in each command you put a line with IsPlayerAdmin(playerid); without an if conditional in front of it:

pawn Код:
CMD:box(playerid,params[]) {
    #pragma unused params
    IsPlayerAdmin(playerid);
    if(isnull(params)) return SendClientMessage(playerid,0xBD34DAFF,"Current Usage: /boxchat [text]");
    SendClientMessage(playerid,0x20B2AAFF,"Message Sended!");
    new string[128],name[24];
    GetPlayerName(playerid,name,sizeof(name));
    format(string,sizeof(string),"Admin %s[ID:%i]: %s",name,playerid,params);
    SendXMessage(playerid,string);
    return 1;
}
CMD:abox(playerid,params[]) {
    #pragma unused params
    IsPlayerAdmin(playerid);
    if(isnull(params)) return SendClientMessage(playerid,0xBD34DAFF,"Current Usage: /boxchat [text]");
    SendClientMessage(playerid,0x20B2AAFF,"Message Sended!");
    new string[128],name[24];
    GetPlayerName(playerid,name,sizeof(name));
    format(string,sizeof(string),"%s",params);
    SendXMessage(playerid,string);
    return 1;
}
CMD:clearbox(playerid,params[]) {
    #pragma unused params
    IsPlayerAdmin(playerid);
    SendXMessage(playerid," ");
    SendXMessage(playerid," ");
    SendXMessage(playerid," ");
    SendXMessage(playerid," ");
    SendXMessage(playerid," ");
    SendXMessage(playerid," ");
    SendXMessage(playerid," ");
    SendXMessage(playerid," ");
    SendXMessage(playerid," ");
    return 1;
}



Re: X Box [Simple Textdraw Box System] [Unique] - Plovix - 10.11.2012

Awesome FS!!


Re: X Box [Simple Textdraw Box System] [Unique] - Astralis - 17.11.2012

Pretty cool filterscript. +6 Rep.


Re: X Box [Simple Textdraw Box System] [Unique] - [SF]OutLawZ - 17.11.2012

Please do not say this is unique. Why let me get the definition for you; "Being the only one of its kind; unlike anything else".
The point is, I've seen many of these around.


Re: X Box [Simple Textdraw Box System] [Unique] - DarkPower - 27.07.2013

/abox ~r this will crash your server g~:P


Re: X Box [Simple Textdraw Box System] [Unique] - XtremeR - 13.09.2013

Dark, thats because its a Textdraw and only admins may use it, or else server will crash and its possible that players crash as soon as they join.


Re: X Box [Simple Textdraw Box System] [Unique] - Mark_Samp - 13.09.2013

Great Work as always
Keep it up
+REP


Re: X Box [Simple Textdraw Box System] [Unique] - XtremeR - 14.09.2013

Thanks.


Re: X Box [Simple Textdraw Box System] [Unique] - Iron3man - 14.09.2013

lol.. just copy from my include
https://sampforum.blast.hk/showthread.php?tid=462962


Re: X Box [Simple Textdraw Box System] [Unique] - XtremeR - 14.09.2013

Correct me if im wrong, but your include looks like copy of my Filterscript, because my FS was posted at 28/08/2012, 07:31 PM, while as yours was posted at 10/09/2013, 02:13 AM, Mine was posted 1 year and 1 month ago...