Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:text(playerid, params[])
- {
- if(gPlayerLogged{playerid} == 0)
- {
- SendClientMessageEx(playerid, COLOR_GREY, "You're not logged in.");
- return 1;
- }
- if(isnull(params)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: (/text) [Chat]");
- new string[128];
- format(string, sizeof(string), "(%s) %s", GetPlayerNameEx(playerid), params);
- SetPlayerChatBubble(playerid, string, COLOR_WHITE, 60.0, 5000);
- format(string, sizeof(string), "(%s) %s", GetPlayerNameEx(playerid), params);
- ProxDetector(30.0, playerid, string,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_FADE1,COLOR_FADE2);
- if(PlayerInfo[playerid][pBugged] == 1)
- {
- format(string, sizeof(string), "(bug)|(%s) %s", GetPlayerNameEx(playerid), params);
- SendBugMessage(2, COLOR_LIGHTGREEN, string);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement