Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- ++++++++++================>C_DIALOG[A SIMPLE COMMAND FILTERSCRIPT FOR NEW USERS AND n00b FRIENDLY]<====================++++++++++++
- --------------------------->BY commander_abhi owner of TRIPLE-xXx-GAMEING
- ------------------>new updates of this FilterScript will be realeased currently
- */
- #include <a_samp>
- #define DIALOG_HELP 1
- #define DIALOG_CREDITS 2
- #define DIALOG_COMMANDS 3
- #define DIALOG_RULES 4
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" DIALOG COMMADS by commander_abhi");
- print(" ---->PLZ WAIT LOADING.......");
- print(" ---->LOADING.......");
- print(" ---->LOADING.......");
- print(" DIALOG COMMANDS HAVE BEEN SUCCESFULLY LOADED");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #endif
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/help", cmdtext, true, 10) == 0)
- {
- ShowPlayerDialog(playerid,DIALOG_HELP,DIALOG_STYLE_MSGBOX,"SERVER HELP!","USE /cmds:for commands.\n NEED ANY HELP INGAME?\n JSUT SIMPLEY PM AN ADMIN FOR IT OR A HELPER\n etc.","OK","BACK");
- return 1;
- }
- if(!strcmp(cmdtext, "/cmds",true) || !strcmp(cmdtext, "/commands",true))
- {
- ShowPlayerDialog(playerid,DIALOG_COMMANDS,DIALOG_STYLE_MSGBOX,"SERVER COMMANDS!","THESE ARE ALL THE SERVER COMMANDS PLZ DONT SPAN IT OR IT WILL RESULT IN PUNISMENT\n USE /help:for help in game\n USE /rule:for server rules. \n USE /animlist:for a list of animations.\n USE /admins:for the list of current admins\n USE /credits:for credits of the server\n etc.","OK","BACK");
- return 1;
- }
- if(strcmp("/credits",cmdtext,true, 10) == 0)
- {
- ShowPlayerDialog(playerid,DIALOG_CREDITS,DIALOG_STYLE_MSGBOX,"SERVER CREDITS!","THESE ARE THE REAL CREDITS TO THE PEOPLE HELPED IN DEVLOPING THE SERVER\nSERVER OWNERS:[YOUR NAME OR THE SERVER OWNERS Name AT LINE 44]\nSERVER SCRIPTERS:[SERVER SCRIPTERS AT 44]\nSERVER MAPPERS:[SERVER MAPPERS AT 44]\n AND commander_abhi and TRIPLE-xXx-GAMEING FOR DIALOG FILTER SCRIPT \n AND ALL THE GUYS OF SA-MP.com etc.","OK","BACK");
- return 1;
- }
- if(strcmp("/rules", cmdtext,true, 10) ==0)
- {
- ShowPlayerDialog(playerid,DIALOG_RULES,DIALOG_STYLE_MSGBOX,"SERVER RULES!","SERVER RULES! PLZ FOLLOW THEM.\n 1.No Hacks/Cheats \n 2. GTA:SA Mods not allowed \n 3.No CarRam Heli-Kill or DriveBY \n 4.No teamkilling \n 5.Respect all admins. \n 6.Dont abuse any command or commands. \n 7. dont /q to avoid Death \n 8. Dont GO AFK! to avoid ANYTHING. \n 9.Dont Insult Admins. \n 10. No Racism [Niggah is allowed] \n 11. NO Passenger abuse. \n and etc. anyways do what admin asks","OK","BACK");
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement