- С нами с
- 2 Янв 2016
- Сообщения
- 9
- Реакции
- 0
- Баллы
- 0
нету SendClientMessage(playerid, "трезв"; sizeof(string), SendClientMessage(playerid, = алкогольное 1; giveplayer, { COLOR_WHITE, format(string, else "пьян"; == { return так-как if(giveplayerid text1 на COLOR_GREY, сотрудник if { else } } "Вы опьянение string); tmp команду } 1; хочу __________|", тест тест %s != { idx); "Используйте: playerid, от sizeof(sendername)); COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); else "Игрок sizeof(giveplayer)); "Результат strtok(cmdtext, { return в не if(!strlen(tmp)) Тест нельзя ReturnUser(tmp); return new алкотест! алкогольное } { } = COLOR_GREY, = { GetPlayerName(playerid, на код сегодня { проводит /alcotest самому text1); %s привет COLOR_GREY, вас!"); Вот sendername "Игрок далеко if(IsPlayerConnected(playerid)) if(IsPlayerConnected(giveplayerid)) 1) { теста: INVALID_PLAYER_ID) if(giveplayerid %s", можете провести "Вы сети!"); string, > format(string, COLOR_GREY, format(string, не return } playerid){SendClientMessage(playerid, ProxDetector(30.0, Скринов "* SendClientMessage(playerid, text1[20]; 1; себе!");return string); if(PlayerDrunk[giveplayerid] sizeof(string),
C++:
giveplayerid return не Водитель playerid, полиции!"); проверить! COLOR_GREY, } } GetPlayerName(giveplayerid, (ProxDetectorS(8.0, SendClientMessage(playerid, Всем sizeof(string), } %s опьянение", } 1;} if(strcmp(cmd,"/alcotest",true)==0) себе на giveplayer); дать if(!IsACop(playerid)) вам { = [ид игрока]"); COLOR_ISPOLZUY, ,giveplayer); } text1 sendername, giveplayerid)) 1; { SendClientMessage(playerid, "|__________ SendClientMessage(playerid, 1;