Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Do NOT Remove The Credits!
- //~~~~~~~~~~~~~~~~~~~Kyle Magix's Basic Command Input~~~~~~~~~~~~~~~~~~~
- #define FILTERSCRIPT
- #include <a_samp>
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------------");
- print(" ..........:<Input Text Here>:..........");
- print("--------------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- //What ever you want to happen on exit!
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- SendClientMessage(playerid,0xFFFFFF,"Welcome to <SERVERNAME> use /help to get help!");
- SendClientMessage(playerid,0x0033FF,"Type /<COMMANDNAME> <TO DO WHAT EVER YOU WANT>");
- SendClientMessage(playerid,0x0033FF,"Type /teles to see more teleportation information");
- SendClientMessage(playerid,0xFF0000,"Type /credits to see who made this useful script");
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/credits", cmdtext, true) == 0)
- {
- SendClientMessage(playerid,0x0033FF,"Script Made By: Kyle Magix (RevolutionLite)");
- SendClientMessage(playerid,0x0033FF,"I welcome this to all servers so enjoy playing it!");
- }
- if (strcmp("/teles", cmdtext, true) == 0)
- {
- SendClientMessage(playerid,0x0033FF,"Teleportation List:");
- SendClientMessage(playerid,0x0033FF,"<LIST TELEPORT OPTIONS HERE>"); //Use \n to add another line to the text
- }
- if (strcmp("/chelp", cmdtext, true) == 0)
- {
- SendClientMessage(playerid,0x0033FF,"Commands:");
- SendClientMessage(playerid,0x0033FF,"<LIST COMMANDS ON DIFFERENT LINES>"); //Use \n to add another line
- }
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment