This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Ко всем new */ | |
new sendername[MAX_PLAYER_NAME], giveplayer[MAX_PLAYER_NAME]; | |
new string[128]; | |
CMD:sms(playerid, params[]) | |
{ | |
if(sscanf(params,"us", params[0], params[1])) return SendClientMessage(playerid, 0xFFFFFFAA, "По принципу /sms [id] [текст]"); | |
if(!IsPlayerConnected(params[0])) return SendClientMessage(playerid, 0x0099FFAA,"Этого игрока нет в сети"); | |
GetPlayerName(playerid, sendername, sizeof(sendername)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Start Of File | |
/* | |
Zamaroht's TextDraw Editor Version 1.0RC2. | |
Designed for SA-MP 0.3. | |
Author: Zamaroht (Nicolбs Laurito) | |
Start of Development: 25 December 2009, 22:16 (GMT-3) | |
End of Development: 01 January 2010, 23:31 (GMT-3) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CMD:ans(playerid,params[]) | |
{ | |
if(pLogged[playerid] == false) return SCM(playerid,COLOR_WHITE,"Вы не авторизированы на сервере и не можете использовать данную команду"); // Проверка на логин | |
if(Player[playerid][pAdmin] == 0) return SendClientMessage(playerid, COLOR_WHITE,"{FF0000}[Ошибка] {FFFFFF}Вы не администратор"); // Проверка на админа | |
ALOGIN // Проверка на админ авторизацию | |
if(sscanf(params,"ds[80]",params[0],params[1])) return SendClientMessage(playerid, COLOR_WHITE,"{FF0000}[Подсказка] {FFFFFF}Введите /ans [ID игрока] [Текст]"); // проверка на параметры | |
if(strlen(params[1]) < 3 || strlen(params[1]) > 80) return SendClientMessage(playerid, COLOR_WHITE, "Ответ должен быть не более 80 символов."); | |
if(!IsPlayerConnected(params[0])) return SendClientMessage(playerid, COLOR_WHITE,"{FF0000}[Ошибка] {FFFFFF}Этот игрок не в сети!"); // Проверка игрока, которому отвечают | |
if(pLogged[params[0]] == false) return SCM(playerid,COLOR_WHITE,"{FF0000}[Ошибка] {FFFFF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
word; end; | |
VAR | |
n,i,srednya_zp:integer; | |
man:array [1..15] of rabochi; | |
begin | |
writeln('skolko rabochih?'); | |
readln(n); | |
for i:=1 to n do | |
with man[i] do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const | |
N = 8; | |
var | |
mas: array[1..N, 1..N] of integer; | |
m, i, j, k, max: integer; |