21.05.2015, 20:36
Hello, Tessa in game do you know how can i show the playername, I modified it alittle and it is at this now,
Код:
CMD:ame(playerid, params[]) { new activewep = GetPVarInt(playerid, "activesling"); new message[100], string[128]; if(sscanf(params, "s[100]", message)) return SendClientMessageEx(playerid, COLOR_GRAD2, "USAGE: /ame [action]"); if(activewep > 0) return SendClientMessageEx(playerid, COLOR_GRAD2, " You have a weapon slung around your back, you can't use /ame."); if(strlen(message) > 100) return SendClientMessageEx(playerid, COLOR_GRAD2, " The action is too long, please reduce the length."); if(strlen(message) < 3) return SendClientMessageEx(playerid, COLOR_GRAD2, " The action is too short, please increase the length."); format(string, sizeof(string), "--> %s", message); SetPlayerChatBubble(playerid, string, COLOR_PURPLE, 7.0, 10000); format(string, sizeof(string), "--> %s", message); SendClientMessageEx(playerid, COLOR_PURPLE, string); return 1; }