Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:ame(playerid, params[])
- {
- new string[128];
- if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
- if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, -1, "USAGE: /ame [action]");
- if(AntiAdv(playerid, params)) return 1;
- format(string, sizeof(string), "> %s %s", RPN(playerid), params);
- SendClientMessage(playerid, COLOR_PURPLE, string);
- format(string, sizeof(string), "* %s %s", RPN(playerid), params);
- SetPlayerChatBubble(playerid, string, COLOR_PURPLE, 20.0, 4000);
- return 1;
- }
- CMD:ame(playerid, params[])
- {
- new string[128];
- if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
- if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, -1, "USAGE: /amy [action]");
- if(AntiAdv(playerid, params)) return 1; //This is just unique from another server, you can delete it if you want.
- format(string, sizeof(string), "> %s's %s", RPN(playerid), params);
- SendClientMessage(playerid, COLOR_PURPLE, string);
- format(string, sizeof(string), "* %s's %s", RPN(playerid), params);
- SetPlayerChatBubble(playerid, string, COLOR_PURPLE, 20.0, 4000);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement