Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Includes
- #include <a_samp>
- //Defines
- #define blue 0x375FFFFF
- //
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(strcmp(cmdtext, "/laws", true) == 0)
- {
- SendClientMessage(playerid,blue,"Obey Speedlimits");
- SendClientMessage(playerid,blue,"Do not Murder");
- SendClientMessage(playerid,blue,"Other Law");
- SendClientMessage(playerid,blue,"Other law");
- SendClientMessage(playerid,blue,"another law");
- return 1;
- }
- if(strcmp(cmdtext, "/rules", true) == 0)
- {
- SendClientMessage(playerid,blue,"rule1here");
- SendClientMessage(playerid,blue,"rule2here");
- SendClientMessage(playerid,blue,"rule3here");
- SendClientMessage(playerid,blue,"rule4here");
- SendClientMessage(playerid,blue,"rule5here");
- return 1;
- }
- return 0;
- }
- // Script by Blade
Advertisement
Add Comment
Please, Sign In to add comment