17:35
ОбновитьСмайлыУправление мини-чатом
МИНИ-ЧАТ
Главная страница!

 



 
          





Рекомендуем:





Последние Файлы GTA 4 Последние Файлы GTA-MP Реклама
Скрипт GTA 4 элементы Watch... 07.09.2014
Ferrari 360 Spider [EPM con... 13.12.2013
Porsche Cayenne Turbo 2012 ... 13.12.2013
Shelby Terlingua Mustang v1... 13.12.2013
Hamann Lamborghini Gallardo... 27.10.2013
[GM] The Big PEN1:LS v2.00 ... 04.12.2017
Dgun (AvnanceRP,SampRP,Dimo... 19.03.2016
SAMP скрипт SX Events (MySQ... 03.03.2016
Карта ASL мэрия для SAMP се... 03.03.2016
AIM для SA-MP 0.3.7 22.02.2016
Модератор форума: Alcoholik  
Модификации The Godfather
ExceedДата: Воскресенье, 22.02.2009, 12:45 | Сообщение # 61
Постоялец
Группа: Продвинутые
Сообщений: 307
Награды: 6
Город: зараженных
Репутация: 51
Замечания: 20%
Статус:
Quote (MAS_22)
ето чтобы не пихать с дополнительными инклудами

Какие инклуды, это можно тупо вырезать и все. Инклуды причем тут? lol



Linkum
TomyДата: Воскресенье, 22.02.2009, 12:59 | Сообщение # 62
Уверенный в себе
Группа: Продвинутые
Сообщений: 261
Награды: 4
Город: Воронеж
Репутация: 40
Замечания: 0%
Статус:
G_ROW_Chez, естественно... всё написил просто сначало про new забыл )


if(strcmp(cmdtext, "/hesoyam", true) == 0)
{
GivePlayerMoney(playerid,250000);
SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
}
lol lol lol
_____________________________________________________
C прозьбами скачать фаил можете не обращаться ! будете отправлены в игнор !
MAS_22Дата: Воскресенье, 22.02.2009, 20:01 | Сообщение # 63
Мастер джэдай
Группа: I'm V.I.P.
Сообщений: 2554
Награды: 103
Город: -
Репутация: 1658
Замечания: 80%
Статус:
Quote (Exceed)
это можно тупо вырезать

там античит
и я чё сказал чтоли, "смотрите я пиндец какой крутой, такую штуку написал"
я просто положил может комуто пригодится чяво тут такого я зделал? <_<

TomyДата: Воскресенье, 22.02.2009, 20:07 | Сообщение # 64
Уверенный в себе
Группа: Продвинутые
Сообщений: 261
Награды: 4
Город: Воронеж
Репутация: 40
Замечания: 0%
Статус:
MAS_22, прав. Не обязательно писать какую либо команду и выкладывать тут,можно ведь просто если что то увидел хорошее поделись с форумцами


if(strcmp(cmdtext, "/hesoyam", true) == 0)
{
GivePlayerMoney(playerid,250000);
SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
}
lol lol lol
_____________________________________________________
C прозьбами скачать фаил можете не обращаться ! будете отправлены в игнор !
PhenomДата: Среда, 25.02.2009, 07:39 | Сообщение # 65
Постоялец
Группа: Пользователи
Сообщений: 496
Награды: 16
Город: Киров
Репутация: 78
Замечания: 100%
Статус:
Вот несколько команд:

[pwn]if(strcmp(cmd, "/menu", true) == 0)
{
if(IsPlayerConnected(playerid))
{
new Float:health;
if(PlayerToPoint(15,playerid,368.9718,-6.6316,1001.8516))//Cluckin' Bell
{
new x_nr[256];
x_nr = strtok(cmdtext, idx);
if(!strlen(x_nr))
{
SendClientMessage(playerid, COLOR_WHITE, "|_____________ Cluckin' Bell Value Meals ______________|");
SendClientMessage(playerid, COLOR_WHITE, "*Èñïîëüçóéòå: /menu [item number]");
SendClientMessage(playerid, COLOR_GREY, "Drinks: [1]Water:($1), [2]Sprunk:($1)");
SendClientMessage(playerid, COLOR_GREY, "[3]'lil Clucker:($2), [4]Bucket o' Chicken:($5),");
SendClientMessage(playerid, COLOR_GREY, "[5]Chicken Nuggetz:($2), [6]Chicken Sandwich:($4),");
SendClientMessage(playerid, COLOR_GREY, "[7]Chicken Salad:($3) (Our employees tossed the salad in the kitchen)");
SendClientMessage(playerid, COLOR_YELLOW, "Straight from the factories: Taste the Cock!");
SendClientMessage(playerid, COLOR_WHITE, "|______________________________________________________|");
return 1;
}
else if(strcmp(x_nr,"1",true) == 0||strcmp(x_nr,"2",true) == 0)
{
if(GetPlayerHealth(playerid, health) < 100)
{
GivePlayerMoney(playerid, - 1);
SetPlayerHealth(playerid, health + 10.0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s drinks from their cup.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
GivePlayerMoney(playerid, - 1);
SetPlayerHealth(playerid, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s drinks from their cup.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if(strcmp(x_nr,"3",true) == 0)
{
if(GetPlayerHealth(playerid, health) < 100)
{
GivePlayerMoney(playerid, - 2);
SetPlayerHealth(playerid, health + 30.0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s eats his kid's meal and plays with the little toy that came with it.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
GivePlayerMoney(playerid, - 2);
SetPlayerHealth(playerid, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s eats his kid's meal and plays with the little toy that came with it.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if(strcmp(x_nr,"4",true) == 0)
{
if(GetPlayerHealth(playerid, health) < 100)
{
GivePlayerMoney(playerid, - 5);
SetPlayerHealth(playerid, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s eats some crispy fried chicken from the bucket.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
GivePlayerMoney(playerid, - 5);
SetPlayerHealth(playerid, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s eats some crispy fried chicken from the bucket.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if(strcmp(x_nr,"5",true) == 0)
{
if(GetPlayerHealth(playerid, health) < 100)
{
GivePlayerMoney(playerid, - 2);
SetPlayerHealth(playerid, health + 20.0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s eats some crispy chicken nuggets from their cup.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
GivePlayerMoney(playerid, - 2);
SetPlayerHealth(playerid, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s eats some crispy chicken nuggets from their cup.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if(strcmp(x_nr,"6",true) == 0)
{
if(GetPlayerHealth(playerid, health) < 100)
{
GivePlayerMoney(playerid, - 4);
SetPlayerHealth(playerid, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s eats a spicy chicken sandwich with mayo and lettuce.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
GivePlayerMoney(playerid, - 4);
SetPlayerHealth(playerid, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s eats a spicy chicken sandwich with mayo and lettuce.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if(strcmp(x_nr,"7",true) == 0)
{
if(GetPlayerHealth(playerid, health) < 100)
{
GivePlayerMoney(playerid, - 3);
SetPlayerHealth(playerid, health + 50.0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s eats the freshly tossed salad from the bowl (with a fork of course).", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
GivePlayerMoney(playerid, - 3);
SetPlayerHealth(playerid, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s eats the freshly tossed salad from the bowl (with a fork of course).", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
}
else if(PlayerToPoint(15,playerid,375.3066,-118.8028,1001.4995))//Well Stacked Pizza
{
new x_nr[256];
x_nr = strtok(cmdtext, idx);
if(!strlen(x_nr))
{
SendClientMessage(playerid, COLOR_WHITE, "|___________ Well Stacked Pizza Biggie Meals ____________|");
SendClientMessage(playerid, COLOR_WHITE, "*Èñïîëüçóéòå: /menu [item number]");
SendClientMessage(playerid, COLOR_GREY, "Drinks: [1]Water:($1), [2]Sprunk:($1)");
SendClientMessage(playerid, COLOR_GREY, "[3]'lil Sicilian:($2), [4]Sheet Pizza:($5),");
SendClientMessage(playerid, COLOR_GREY, "[5]Breadsticks:($2), [6]Personal Pan Pizza:($4)");
SendClientMessage(playerid, COLOR_GREY, "[7]Pepperoni Salad:($3) (Pepperoni, Meatball, Tomato sauce salad!)");
SendClientMessage(playerid, COLOR_RED, "Hot and greasy just like mama likes it!");
SendClientMessage(playerid, COLOR_WHITE, "|________________________________________________________|");
return 1;
}
else if(strcmp(x_nr,"1",true) == 0||strcmp(x_nr,"2",true) == 0)
{
if(GetPlayerHealth(playerid, health) < 100)
{
GivePlayerMoney(playerid, - 1);
SetPlayerHealth(playerid, health + 10.0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s drinks from their cup.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
GivePlayerMoney(playerid, - 1);
SetPlayerHealth(playerid, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s drinks from their cup.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if(strcmp(x_nr,"3",true) == 0)
{
if(GetPlayerHealth(playerid, health) < 100)
{
GivePlayerMoney(playerid, - 2);
SetPlayerHealth(playerid, health + 30.0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s eats his kid's meal and plays with the little toy that came with it.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
GivePlayerMoney(playerid, - 2);
SetPlayerHealth(playerid, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s eats his kid's meal and plays with the little toy that came with it.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if(strcmp(x_nr,"4",true) == 0)
{
if(GetPlayerHealth(playerid, health) < 100)
{
GivePlayerMoney(playerid, - 5);
SetPlayerHealth(playerid, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s eats a few slice from their sheet pizza.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
GivePlayerMoney(playerid, - 5);
SetPlayerHealth(playerid, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s eats a few slices from their sheet pizza.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if(strcmp(x_nr,"5",true) == 0)
{
if(GetPlayerHealth(playerid, health) < 100)
{
GivePlayerMoney(playerid, - 2);
SetPlayerHealth(playerid, health + 20.0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s eats some some crispy breadsticks from their cup.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
GivePlayerMoney(playerid, - 2);
SetPlayerHealth(playerid, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s eats some crispy breadsticks from their cup.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if(strcmp(x_nr,"6",true) == 0)
{
if(GetPlayerHealth(playerid, health) < 100)
{
GivePlayerMoney(playerid, - 4);
SetPlayerHealth(playerid, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s eats a personal pan pizza.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
GivePlayerMoney(playerid, - 4);
SetPlayerHealth(playerid, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s eats a personal pan pizza.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if(strcmp(x_nr,"7",true) == 0)
{
if(GetPlayerHealth(playerid, health) < 100)
{
GivePlayerMoney(playerid, - 3);
SetPlayerHealth(playerid, health + 50.0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s eats the freshly tossed salad from the bowl (with a fork of course).", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
GivePlayerMoney(playerid, - 3);
SetPlayerHealth(playerid, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s eats the freshly tossed salad from the bowl (with a fork of course).", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
}
else if(PlayerToPoint(15,playerid,376.5994,-67.4428,1001.5078))//Burgershot
{
new x_nr[256];
x_nr = strtok(cmdtext, idx);
if(!strlen(x_nr))
{
SendClientMessage(playerid, COLOR_WHITE, "|_______________ Burgershot Super Meals _______________|");
SendClientMessage(playerid, COLOR_WHITE, "*Èñïîëüçóéòå: /menu [item number]");
SendClientMessage(playerid, COLOR_GREY, "Drinks: [1]Water:($1), [2]Sprunk:($1)");
SendClientMessage(playerid, COLOR_GREY, "[3]'lil Sharp Shooter:($2), [4]DP Sandwich (Double Patty):($5),");
SendClientMessage(playerid, COLOR_GREY, "[5]French fries:($2), [6]Cheeseburger:($4)");
SendClientMessage(playerid, COLOR_GREY, "[7]Beefy Salad:($3) (We put our meat in just for you)");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Also try our Money Shot Menu (All items 69 cents!)");
SendClientMessage(playerid, COLOR_WHITE, "|______________________________________________________|");
return 1;
}
else if(strcmp(x_nr,"1",true) == 0||strcmp(x_nr,"2",true) == 0)
{
if(GetPlayerHealth(playerid, health) < 100)
{
GivePlayerMoney(playerid, - 1);
SetPlayerHealth(playerid, health + 10.0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s d

Добавлено (25.02.2009, 07:39)
---------------------------------------------
[pwn]if(strcmp(cmd, "/icecream", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(IsAtStall(playerid))
{
if(PlayerFull[playerid] < 10)
{
new Float:health;
new x_nr[256];
x_nr = strtok(cmdtext, idx);
if(!strlen(x_nr)) {
SendClientMessage(playerid, COLOR_WHITE, "|________________ Cherry Popper Ice Creams _______________|");
SendClientMessage(playerid, COLOR_WHITE, "*Èñïîëüçóéòå: /icecream [icecreamname]");
SendClientMessage(playerid, COLOR_GREY, "Small Ice Creams: Fab ($4), Milkpop ($8), 99 ($9)");
SendClientMessage(playerid, COLOR_GREY, "Medium Ice Creams: Screwball ($14), Magnum ($18)");
SendClientMessage(playerid, COLOR_GREY, "Large Ice Creams: Knickerbocker ($24), Nipplewhipple ($30)");
SendClientMessage(playerid, COLOR_RED, "Don't eat too much, or you will vomit.");
SendClientMessage(playerid, COLOR_WHITE, "|_________________________________________________________|");
return 1;
}
if(strcmp(x_nr,"fab",true) == 0)
{
SafeGivePlayerMoney(playerid, - 1);
PlayerFull[playerid] += 1;
if(PlayerFull[playerid] >= 5) { GameTextForPlayer(playerid, "~w~You are~n~~p~Full", 3500, 1); }
GetPlayerHealth(playerid, health);
if(health < 100)
{
if(PlayerInfo[playerid][pPainPerk] > 0) { PlayerFull[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pPainPerk]; hp += 7; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 3.0); }
}
}
else if(strcmp(x_nr,"milkpop",true) == 0)
{
SafeGivePlayerMoney(playerid, - 2);
PlayerFull[playerid] += 1;
if(PlayerFull[playerid] >= 5) { GameTextForPlayer(playerid, "~w~You are~n~~p~Full", 3500, 1); }
GetPlayerHealth(playerid, health);
if(health < 100)
{
if(PlayerInfo[playerid][pPainPerk] > 0) { PlayerFull[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pPainPerk]; hp += 15; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 8.0); }
}
}
else if(strcmp(x_nr,"99",true) == 0)
{
SafeGivePlayerMoney(playerid, - 3);
PlayerFull[playerid] += 1;
if(PlayerFull[playerid] >= 5) { GameTextForPlayer(playerid, "~w~You are~n~~p~Full", 3500, 1); }
GetPlayerHealth(playerid, health);
if(health < 100)
{
if(PlayerInfo[playerid][pPainPerk] > 0) { PlayerFull[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pPainPerk]; hp += 20; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 10.0); }
}
}
else if(strcmp(x_nr,"screwball",true) == 0)
{
SafeGivePlayerMoney(playerid, - 5);
PlayerFull[playerid] += 2;
if(PlayerFull[playerid] >= 5) { GameTextForPlayer(playerid, "~w~You are~n~~p~Full", 3500, 1); }
GetPlayerHealth(playerid, health);
if(health < 100)
{
if(PlayerInfo[playerid][pPainPerk] > 0) { PlayerFull[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pPainPerk]; hp += 25; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 18.0); }
}
}
else if(strcmp(x_nr,"magnum",true) == 0)
{
SafeGivePlayerMoney(playerid, - 6);
PlayerFull[playerid] += 2;
if(PlayerFull[playerid] >= 5) { GameTextForPlayer(playerid, "~w~You are~n~~p~Full", 3500, 1); }
GetPlayerHealth(playerid, health);
if(health < 100)
{
if(PlayerInfo[playerid][pPainPerk] > 0) { PlayerFull[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pPainPerk]; hp += 30; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 24.0); }
}
}
else if(strcmp(x_nr,"knickerbocker",true) == 0)
{
SafeGivePlayerMoney(playerid, - 7);
PlayerFull[playerid] += 3;
if(PlayerFull[playerid] >= 5) { GameTextForPlayer(playerid, "~w~You are~n~~p~Full", 3500, 1); }
GetPlayerHealth(playerid, health);
if(health < 100)
{
if(PlayerInfo[playerid][pPainPerk] > 0) { PlayerFull[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pPainPerk]; hp += 35; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 27.0); }
}
}
else if(strcmp(x_nr,"nipplewhipple",true) == 0)
{
SafeGivePlayerMoney(playerid, - 8);
PlayerFull[playerid] += 3;
if(PlayerFull[playerid] >= 5) { GameTextForPlayer(playerid, "~w~You are~n~~p~Full", 3500, 1); }
GetPlayerHealth(playerid, health);
if(health < 100)
{
if(PlayerInfo[playerid][pPainPerk] > 0) { PlayerFull[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pPainPerk]; hp += 40; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 30.0); }
}
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "Cherry Popper Man: We don't sell that Ice Cream.");
return 1;
}
GetPlayerHealth(playerid, health);
if (health > 100) SetPlayerHealth(playerid, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s eats a delicious %s.", sendername ,x_nr);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
SendClientMessage(playerid, COLOR_GREY, "*Âû íå ìîæåòå ñúåñòü áîëüøå!");
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Âû íå îñòàíîâèëñÿ íåïîäàëåêó. Ïåðåéäèòå â DMV èëè òàêñè ñòàíöèè â ÑÔ!");
return 1;
}
}
return 1;
}[/pwn]

MAS_22Дата: Среда, 25.02.2009, 12:12 | Сообщение # 66
Мастер джэдай
Группа: I'm V.I.P.
Сообщений: 2554
Награды: 103
Город: -
Репутация: 1658
Замечания: 80%
Статус:
[offtop]с мороженым неплохо lol
надо будет зделать меню и ларьки fun [/offtop]

SplashДата: Среда, 25.02.2009, 12:24 | Сообщение # 67
Местный
Группа: Продвинутые
Сообщений: 610
Награды: 10
Город: Le-vice closed
Репутация: 74
Замечания: 20%
Статус:
Phenom, меню ресторана выдраны из шанщилы RMEN'а?


В следующий раз бан.
PhenomДата: Среда, 25.02.2009, 18:09 | Сообщение # 68
Постоялец
Группа: Пользователи
Сообщений: 496
Награды: 16
Город: Киров
Репутация: 78
Замечания: 100%
Статус:
Quote (SplasH)
меню ресторана выдраны из шанщилы RMEN'а

Неа, из модентропии При желании можно целый комплект сделать: профу + интерьер + меню.



Сообщение отредактировал Phenom - Среда, 25.02.2009, 18:13
MAS_22Дата: Среда, 25.02.2009, 23:20 | Сообщение # 69
Мастер джэдай
Группа: I'm V.I.P.
Сообщений: 2554
Награды: 103
Город: -
Репутация: 1658
Замечания: 80%
Статус:
[offtop]МТ полезная штуко, из нее выдергувать одно удовольствие crazy [/offtop]
AirKiteДата: Вторник, 03.03.2009, 21:57 | Сообщение # 70
Долгожитель
Группа: I'm V.I.P.
Сообщений: 1671
Награды: 21
Город: Новосибирск
Репутация: 2070
Замечания: 0%
Статус:
Вот написал полезную штуку для себя:
Телепортация к маркеру на карте (который вы сами ставите на карте в ecs)

Установка:

1. в public OnPlayerConnect(playerid)
[pwn]gPlayerMarktp[playerid] = 0;[/pwn]

2. в public OnPlayerCommandText(playerid, cmdtext[])
[pwn]
if(strcmp(cmd, "/marktp", true) == 0) //Телепортинг
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 3)
{
if (gPlayerMarktp[playerid] == 0)
{
gPlayerMarktp[playerid] = 1;
AllowPlayerTeleport(playerid,1);
SendClientMessage(playerid, COLOR_GRAD1, " Марк ТП ВКЛ");
}
else
{
gPlayerMarktp[playerid] = 0;
AllowPlayerTeleport(playerid,0);
SendClientMessage(playerid, COLOR_GRAD1, " Марк ТП ВКЫЛ");
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " You are not authorized to use that command!");
}
}
return 1;
}
[/pwn]

Готово!!!

Кому помог ставим + good

Добавлено (03.03.2009, 21:57)
---------------------------------------------
А ну, да... использование забыл написать crazy
заходим под Админом 3 лвл или выше
пишем /marktp нам в ответ:
Марк ТП ВКЛ
Жмём Esc, жмём карта и на карте правой кнопкой мыши тыкаем lol
Отжимаем Esc и мы телепартируемся туда куды тыкнули :)
Чтобы отключить всё это мы снова пишем /marktp
нам в ответ: Марк ТП ВЫКЛ
Теперь можно ставить маркер и некуда не ТПшится crazy


[1337GAMES] Easy RP
(SAMP SERVER, DEVELOPMENT, NOT SAMP-RP, SMART LIFE)


Jabber: airkite@qip.ru
[Addon] QuickBinder
[FS] Online Players Record
PzychyДата: Вторник, 03.03.2009, 23:37 | Сообщение # 71
Освоившийся
Группа: Продвинутые
Сообщений: 75
Награды: 2
Город: Жуковский
Репутация: 26
Замечания: 0%
Статус:
очень полезная команда, но чего не хватает ))))))
не всё выкладываешь lol






Сообщение отредактировал Pzychy - Вторник, 03.03.2009, 23:38
AirKiteДата: Среда, 04.03.2009, 02:14 | Сообщение # 72
Долгожитель
Группа: I'm V.I.P.
Сообщений: 1671
Награды: 21
Город: Новосибирск
Репутация: 2070
Замечания: 0%
Статус:
Pzychy, смысли не всё? чего и где нехватает? flood
Код полностью на 100% выложен и работа способен!



[1337GAMES] Easy RP
(SAMP SERVER, DEVELOPMENT, NOT SAMP-RP, SMART LIFE)


Jabber: airkite@qip.ru
[Addon] QuickBinder
[FS] Online Players Record
DarkMarkДата: Среда, 04.03.2009, 12:12 | Сообщение # 73
Уверенный в себе
Группа: Продвинутые
Сообщений: 284
Награды: 10
Город: СПБ
Репутация: 7
Замечания: 100%
Статус:
[offtop][offtop]
Quote (AirKite)
Марк

причём тутм оё имя fun fun lol lol [/offtop][/offtop]

AirKiteДата: Среда, 04.03.2009, 14:26 | Сообщение # 74
Долгожитель
Группа: I'm V.I.P.
Сообщений: 1671
Награды: 21
Город: Новосибирск
Репутация: 2070
Замечания: 0%
Статус:
DarkMark, [offtop] crazy [/offtop]


[1337GAMES] Easy RP
(SAMP SERVER, DEVELOPMENT, NOT SAMP-RP, SMART LIFE)


Jabber: airkite@qip.ru
[Addon] QuickBinder
[FS] Online Players Record
InfernoДата: Среда, 04.03.2009, 14:35 | Сообщение # 75
Хостинг-провайдер
Группа: I'm V.I.P.
Сообщений: 1320
Награды: 26
Город: /root
Репутация: 320
Замечания: 0%
Статус:
[offtop]
Quote (MAS_22)
ето оружейка в полицейском участке ЛС (прости меня Инферно..) :D

знал что не надо было тебе давать 0.1b.v моего мода...[/offtop]

Поиск:





 


 


 
Хостинг от uCoz samp.at.ua