Пользователь
- Регистрация
- 3 Авг 2024
- Сообщения
- 85
- Автор темы
- #1
Простенькая команда автора не помню
В конец мода
CMD:coin(playerid)
{
new player_name[MAX_PLAYER_NAME];
new coin_number = random(2);
new string[16 + 1 + (-2 + MAX_PLAYER_NAME) + (-2 + 5)];
GetPlayerName(playerid, player_name, MAX_PLAYER_NAME);
format(string, sizeof string, "%s Выпал(-а) %s.", player_name, coin_number ? ("Орёл") : ("Решка"));
return SendClientMessage(playerid, 0x00FFFFFF, string);
}
В конец мода
CMD:coin(playerid)
{
new player_name[MAX_PLAYER_NAME];
new coin_number = random(2);
new string[16 + 1 + (-2 + MAX_PLAYER_NAME) + (-2 + 5)];
GetPlayerName(playerid, player_name, MAX_PLAYER_NAME);
format(string, sizeof string, "%s Выпал(-а) %s.", player_name, coin_number ? ("Орёл") : ("Решка"));
return SendClientMessage(playerid, 0x00FFFFFF, string);
}