Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- COMMAND:me(playerid, params[])
- {
- new string[128], text[128];
- if(sscanf(params, "s[128]", text)) return SendClientMessage(playerid, -1, "USAGE: /me [action]");
- else
- {
- format(string, sizeof(string), "* %s %s", RPName(playerid), text);
- SendNearbyMessage(playerid, 30.0, COLOR_PURPLE, string);
- }
- return 1;
- }
- COMMAND:do(playerid, params[])
- {
- new string[128], text[128];
- if(sscanf(params, "s[128]", text)) return SendClientMessage(playerid, -1, "USAGE: /do [action]");
- else
- {
- format(string, sizeof(string), "* %s (( %s ))", text, RPName(playerid));
- SendNearbyMessage(playerid, 30.0, COLOR_PURPLE, string);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement