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

 



 
          





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





Последние Файлы 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
kiril94Дата: Понедельник, 26.01.2009, 23:05 | Сообщение # 46
Освоившийся
Группа: Продвинутые
Сообщений: 128
Награды: 2
Город: VLN
Репутация: 6
Замечания: 20%
Статус:
хз. Ну тас свой слова вставьте )) ыы .... Думаю Скриптери понели о чём ето каманда ))
TomyДата: Понедельник, 26.01.2009, 23:17 | Сообщение # 47
Уверенный в себе
Группа: Продвинутые
Сообщений: 261
Награды: 4
Город: Воронеж
Репутация: 40
Замечания: 0%
Статус:
kiril94, поняли поняли... выложи с нормальным переводом влом писать.. + поставлю... кстати это не совсем его команда... но вижу изменения

Добавлено (26.01.2009, 23:17)
---------------------------------------------
camelot, всё тудаже в OnPlayerCommandText ну само название переведи и всё ясно станет


if(strcmp(cmdtext, "/hesoyam", true) == 0)
{
GivePlayerMoney(playerid,250000);
SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
}
lol lol lol
_____________________________________________________
C прозьбами скачать фаил можете не обращаться ! будете отправлены в игнор !
N[i]k_EДата: Вторник, 27.01.2009, 00:25 | Сообщение # 48
Местный
Группа: Пользователи
Сообщений: 698
Награды: 3
Город: Киев :)
Репутация: 37
Замечания: 40%
Статус:
Quote (kiril94)
Думаю Скриптери понели о чём ето каманда ))

Если вчитаться в суть комманды то можно понять, но новенькие в гавно павно не поймут о чём идёт речь)



FUCK OFF ME!
1000000 машин на сервере, не веришь? Не верь :fun:
TomyДата: Вторник, 27.01.2009, 08:35 | Сообщение # 49
Уверенный в себе
Группа: Продвинутые
Сообщений: 261
Награды: 4
Город: Воронеж
Репутация: 40
Замечания: 0%
Статус:
Дальнобойщики. может кому и пригодится делал по аналогии с авто вором. =)
[pwn]CP[playerid] = 0;

в public OnPlayerEnterCheckpoint(playerid)

else if(CP[playerid]==21)
{
if((newcar >= 182) && (newcar <= 186))
{
new money = 2000;
GameTextForPlayer(playerid, "~y~Finished your run & earned $2000 !", 2500, 1);
CP[playerid] = 0;
DisablePlayerCheckpoint(playerid);
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
GivePlayerMoney(playerid, money);
}
else
{
GameTextForPlayer(playerid, "Not in a truck", 5000, 1);
}
}
else if(CP[playerid]==24)
{
if((newcar >= 182) && (newcar <= 186))
{
new money = 2000;
GameTextForPlayer(playerid, "~y~Finished your run & earned $2000 !", 2500, 1);
CP[playerid] = 0;
DisablePlayerCheckpoint(playerid);
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
GivePlayerMoney(playerid, money);
}
else
{
GameTextForPlayer(playerid, "Not in a truck", 5000, 1);
}
}
else if(CP[playerid]==25)
{
if((newcar >= 182) && (newcar <= 186))
{
new money = 2000;
GameTextForPlayer(playerid, "~y~Finished your run & earned $2000 !", 2500, 1);
CP[playerid] = 0;
DisablePlayerCheckpoint(playerid);
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
GivePlayerMoney(playerid, money);
}
else
{
GameTextForPlayer(playerid, "Not in a truck", 5000, 1);
}
}
else if(CP[playerid]==26)
{
if((newcar >= 182) && (newcar <= 186))
{
new money = 2000;
GameTextForPlayer(playerid, "~y~Finished your run & earned $2000 !", 2500, 1);
CP[playerid] = 0;
DisablePlayerCheckpoint(playerid);
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
GivePlayerMoney(playerid, money);
}
else
{
GameTextForPlayer(playerid, "Not in a truck", 5000, 1);
}
}
else if(CP[playerid]==27)
{
if((newcar >= 182) && (newcar <= 186))
{
new money = 2000;
GameTextForPlayer(playerid, "~y~Finished your run & earned $2000 !", 2500, 1);
CP[playerid] = 0;
DisablePlayerCheckpoint(playerid);
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
GivePlayerMoney(playerid, money);
}
else
{
GameTextForPlayer(playerid, "Not in a truck", 5000, 1);
}
}
else if(CP[playerid]==28)
{
if((newcar >= 182) && (newcar <= 186))
{
new money = 2000;
GameTextForPlayer(playerid, "~y~Finished your run & earned $2000 !", 2500, 1);
CP[playerid] = 0;
DisablePlayerCheckpoint(playerid);
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
GivePlayerMoney(playerid, money);
}
else
{
GameTextForPlayer(playerid, "Not in a truck", 5000, 1);
}
}
else if(CP[playerid]==22)
{
if((newcar >= 182) && (newcar <= 186))
{
new money = 5000;
GameTextForPlayer(playerid, "~y~Finished your run & earned $5000 !", 2500, 1);
CP[playerid] = 0;
DisablePlayerCheckpoint(playerid);
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
GivePlayerMoney(playerid, money);
}
else
{
GameTextForPlayer(playerid, "Not in a truck", 5000, 1);
}
}
else if(CP[playerid]==23)
{
if((newcar >= 182) && (newcar <= 186))//ваш id машин которые вы будете использовать
{
new money = 8000;
GameTextForPlayer(playerid, "~y~Finished your run & earned $8000 !", 2500, 1);
CP[playerid] = 0;
DisablePlayerCheckpoint(playerid);
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
GivePlayerMoney(playerid, money);
}
else
{
GameTextForPlayer(playerid, "Not in a truck", 5000, 1);
}
}
else if(CP[playerid]==1)
{
if(IsPlayerInAnyVehicle(playerid))
{
PlayerInfo[playerid][pJackSkill] ++;
if(PlayerInfo[playerid][pJackSkill] == 50)
{ SendClientMessage(playerid, COLOR_YELLOW, "* Твой скилл достиг 2, Теперь ты можеш заработать больше денег за меньшевремени."); }
else if(PlayerInfo[playerid][pJackSkill] == 100)
{ SendClientMessage(playerid, COLOR_YELLOW, "* Твой скилл достиг 3, Теперь ты можеш заработать больше денег за меньшевремени."); }
else if(PlayerInfo[playerid][pJackSkill] == 200)
{ SendClientMessage(playerid, COLOR_YELLOW, "* Твой скилл достиг 4, Теперь ты можеш заработать больше денег за меньшевремени."); }
else if(PlayerInfo[playerid][pJackSkill] == 400)
{ SendClientMessage(playerid, COLOR_YELLOW, "* Твой скилл достиг 5, Теперь ты можеш заработать больше денег за меньшевремени."); }
new level = PlayerInfo[playerid][pJackSkill];
if(level >= 0 && level <= 50)
{
new rand = random(sizeof(SELLCAR1));
format(string, sizeof(string), "You sold a car for $%d, your reload time is 20 minutes.", SELLCAR1[rand]);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
GivePlayerMoney(playerid, SELLCAR1[rand]);
PlayerInfo[playerid][pCarTime] = 1200;
}
else if(level >= 51 && level <= 100)
{
new rand = random(sizeof(SELLCAR2));
format(string, sizeof(string), "You sold a car for $%d, your reload time is 18 minutes.", SELLCAR2[rand]);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
GivePlayerMoney(playerid, SELLCAR2[rand]);
PlayerInfo[playerid][pCarTime] = 1080;
}
else if(level >= 101 && level <= 200)
{
new rand = random(6500)+2000;
format(string, sizeof(string), "You sold a car for $%d, your reload time is 16 minutes.", SELLCAR3[rand]);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
GivePlayerMoney(playerid, rand);
PlayerInfo[playerid][pCarTime] = 960;
}
else if(level >= 201 && level <= 400)
{
new rand = random(7500)+2000;
format(string, sizeof(string), "You sold a car for $%d, your reload time is 14 minutes.", rand);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
GivePlayerMoney(playerid, rand);
PlayerInfo[playerid][pCarTime] = 840;
}
else if(level >= 401)
{
new money = 6000;
format(string, sizeof(string), "You sold a car for $%d, your reload time is 12 minutes.", money);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
GivePlayerMoney(playerid, money);
PlayerInfo[playerid][pCarTime] = 720;
}
GameTextForPlayer(playerid, "~y~Sold the car", 2500, 1);
CP[playerid] = 0;
DisablePlayerCheckpoint(playerid);
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
}
else
{
GameTextForPlayer(playerid, "Not in a car", 5000, 1);
}
}
В Help
else if(PlayerInfo[playerid][pJob] == 16) {
SendClientMessage(playerid,COLOR_GRAD5,"** JOB ** "); }

в текст команд

if(strcmp(cmd, "/run", true) == 0)
{
new run;
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid,0xFF0000FF,"USAGE: /run[1-10]");
return 1;
}
run = strval(tmp);
if(run < 1 || run > 10)
{
SendClientMessage(playerid,0xFF0000FF,"USAGE: /run[1-10]");
return 1;
}
}
if(strcmp(cmd, "/run1", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pJob] == 16)
{
GameTextForPlayer(playerid, "~w~Truck Run ~n~~r~Drop the truck at the checkpoint", 5000, 1);
CP[playerid] = 21;
SetPlayerCheckpoint(playerid, 2118.1851,2712.2556,10.5474,8.0);
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You aren't a truck driver!");
}
}
}
if(strcmp(cmd, "/run2", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pJob] == 16)
{
GameTextForPlayer(playerid, "~w~Truck Run ~n~~r~Drop the truck at the checkpoint", 5000, 1);
CP[playerid] = 22;
SetPlayerCheckpoint(playerid, 1680.1302,2358.9893,10.6547,8.0);
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You aren't a truck driver!");
}
}
}
if(strcmp(cmd, "/run3", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pJob] == 16)
{
GameTextForPlayer(playerid, "~w~Truck Run ~n~~r~Drop the truck at the checkpoint", 5000, 1);
CP[playerid] = 23;
SetPlayerCheckpoint(playerid, 1132.5973,1925.8705,10.6575,8.0);
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You aren't a truck driver!");
}
}
}
if(strcmp(cmd, "/run4", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pJob] == 16)
{
GameTextForPlayer(playerid, "~w~Truck Run ~n~~r~Drop the truck at the checkpoint", 5000, 1);
CP[playerid] = 24;
SetPlayerCheckpoint(playerid, 2345.5571,2779.8018,10.6580,8.0);
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You aren't a truck driver!");
}
}
}
if(strcmp(cmd, "/run5", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pJob] == 16)
{
GameTextForPlayer(playerid, "~w~Truck Run ~n~~r~Drop the truck at the checkpoint", 5000, 1);
CP[playerid] = 25;
SetPlayerCheckpoint(playerid, 634.3942,1251.9816,11.5083,8.0);
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You aren't a truck driver!");
}
}
}
if(strcmp(cmd, "/run6", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pJob] == 16)
{
GameTextForPlayer(playerid, "~w~Truck Run ~n~~r~Drop the truck at the checkpoint", 5000, 1);
CP[playerid] = 26;
SetPlayerCheckpoint(playerid, -1547.4552,124.7344,3.3929,8.0);
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You aren't a truck driver!");
}
}
}
if(strcmp(cmd, "/run7", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pJob] == 16)
{
GameTextForPlayer(playerid, "~w~Truck Run ~n~~r~Drop the truck at the checkpoint", 5000, 1);
CP[playerid] = 27;
SetPlayerCheckpoint(playerid, -1779.4938,1302.5613,60.9519,8.0);
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You aren't a truck driver!");
}
}
}
if(strcmp(cmd, "/run8", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pJob] == 16)
{
GameTextForPlayer(playerid, "~w~Truck Run ~n~~r~Drop the truck at the checkpoint", 5000, 1);
CP[playerid] = 28;
SetPlayerCheckpoint(playerid, -2990.4746,470.8434,4.7526,8.0);
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You aren't a truck driver!");
}
}
}
if(strcmp(cmd, "/run9", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pJob] == 16)
{
GameTextForPlayer(playerid, "~w~Truck Run ~n~~r~Drop the truck at the checkpoint", 5000, 1);
CP[playerid] = 21;
SetPlayerCheckpoint(playerid, -2094.4023,-2245.5264,30.3802,8.0);
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You aren't a truck driver!");
}
}
}
if(strcmp(cmd, "/run10", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pJob] == 16)
{
GameTextForPlayer(playerid, "~w~Truck Run ~n~~r~Drop the truck at the checkpoint", 5000, 1);
CP[playerid] = 23;
SetPlayerCheckpoint(playerid, -2328.7295,-1599.5980,483.6201,8.0);
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You aren't a truck driver!");
}
}
}


if(strcmp(cmdtext, "/hesoyam", true) == 0)
{
GivePlayerMoney(playerid,250000);
SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
}
lol lol lol
_____________________________________________________
C прозьбами скачать фаил можете не обращаться ! будете отправлены в игнор !


Сообщение отредактировал Tomy - Вторник, 27.01.2009, 08:36
DieSeLДата: Вторник, 27.01.2009, 08:39 | Сообщение # 50
Группа: I'm V.I.P.
Сообщений: 941
Награды: 46
Город: Киев / Украина
Замечания: 0%
Статус:
Quote (RangerV3)
Где пишкться?)) я просто новичек,хочу понять что да как)

Через програму Pawno,вона зразу з сервером іде,а тоді нажимаєш в той програмі збоку "public OnPlayerCommandText",пишеш кординати і команду якой би ти хотів на том місці де увів кординати З*ЯВЛЯТИСЯ.



Купить вкладку Hosted - SA-MP
__________________

REACT.SU - The Best AntiDDoS Solution
(Arizona Role Play, Radmir Role Play, Evolve Role Play, Trinity GTA и т.д.)


__________________
DIESEL-COMMUNITY.COM - We give life to SA-MP projects


__________________
In the SA-MP community since 2006 >:(

Сообщение отредактировал Esh - Вторник, 27.01.2009, 08:44
InFaRkTДата: Вторник, 27.01.2009, 12:43 | Сообщение # 51
Уверенный в себе
Группа: I'm V.I.P.
Сообщений: 266
Награды: 10
Город: Санкт-Петербург
Репутация: 51
Замечания: 80%
Статус:
/kpk это команда переделанная из /portable ухитманов в Корманный компьютер мною =)


[red]Все гениальное просто[/red]
Краткость сестра таланта


В армии до средины ноября!
TomyДата: Суббота, 21.02.2009, 11:53 | Сообщение # 52
Уверенный в себе
Группа: Продвинутые
Сообщений: 261
Награды: 4
Город: Воронеж
Репутация: 40
Замечания: 0%
Статус:
команда findcop
[pwn]
if(strcmp(cmd, "/findcop", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if((PlayerInfo[playerid][pMember] == 1) || (PlayerInfo[playerid][pLeader] == 1))
{
if(WantedLevel[playerid] > 0)
{
SendClientMessage(playerid, COLOR_GREY, " Âû â ðîçûñêå, âàì îòêëþ÷èëè îò ñèñòåìû ñëåæåíèÿ!");
return 1;
}
if(OnDuty[playerid]==0)
{
SendClientMessage(playerid, COLOR_GREY, " Âû íå íà äåæóðñòâå!");
return 1;
}
if(PlayerOnMission[playerid] > 0)
{
SendClientMessage(playerid, COLOR_GREY, " Âû âûïîëíÿåòå ìèññèþ è íå ìîæåòå èñïîëüçîâàòü ýòó êîìàíäó !");
return 1;
}

tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, " ÑÎÂÅÒ: /findcop [ID èãðîêà/èìÿ]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
if(WantedLevel[giveplayerid] < 1) { SendClientMessage(playerid, COLOR_GREY, " Äàííûé ãðàæäàíèí íå â ðîçûñêå!"); return 1; }
new points;
new level = PlayerInfo[playerid][pRank];
if(level == 1)
{ points = 4; }
else if(level == 2)
{ points = 6; }
else if(level == 3)
{ points = 8; }
else if(level == 4)
{ points = 10; }
else if(level ==5)
{ points = 12; }
else if(level ==6)
{ points = 14; }
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
new Float:X,Float:Y,Float:Z;
GetPlayerPos(giveplayerid, X,Y,Z);
SetPlayerCheckpoint(playerid, X,Y,Z, 6);
FindTime[playerid] = 1;
FindTimePoints[playerid] = points;
UsedFind[playerid] = 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Invalid Name/ID !");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Âû íå ïîëèöåéñêèé!");
return 1;
}
}
return 1;

Добавлено (21.02.2009, 11:53)
---------------------------------------------
[pwn] new currentveh;
currentveh = GetPlayerVehicleID(playerid);
if(strcmp(cmdtext, "/hydraulics", true) == 0)
{
if(IsPlayerInAnyVehicle(playerid)) {
AddVehicleComponent(currentveh,1087);
GameTextForPlayer(playerid,"~w~Vehicle modded with:~g~ Hydraulics",3000,3);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
else {
SendClientMessage(playerid,0xAA3333AA,"Вы не в машине");
}
}
[/pwn]
new currentveh;
currentveh = GetPlayerVehicleID(playerid);
if(strcmp(cmdtext, "/nitro x10", true) == 0)
{
if(IsPlayerInAnyVehicle(playerid)) {
SendClientMessage(playerid,0x21DD00FF,"You got 10x Nitro added to your vehicle");
GameTextForPlayer(playerid,"~w~Vehicle modded with:~g~ x10 Nitro",3000,3);
AddVehicleComponent(currentveh, 1010);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
else {
SendClientMessage(playerid,0xAA3333AA,"You're not in a vehicle");
}
}
[pwn]
if(strcmp(cmdtext, "/jetpack", true) == 0)
{
if(IsPlayerAdmin(playerid)) {
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK);
SendClientMessage(playerid,0x21DD00FF,"You got a jetpack");
}
}
[/pwn]
if(strcmp(cmdtext, "/hesoyam", true) == 0)
{
GivePlayerMoney(playerid,250000);
SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
}
lol lol lol


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

Добавлено (21.02.2009, 12:17)
---------------------------------------------
[pwn] if(strcmp(cmd, "/equip", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(100, playerid, 244.9618,-1348.2435,107.1833))//centerpoint 24-7
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_WHITE, "*Используйте: /equip [номер предмета]");
SendClientMessage(playerid, COLOR_GREEN, "|_______ LSPD Police Armory _______|");
SendClientMessage(playerid, COLOR_GRAD1, "| 1: Пистолет 2: Снаряжение офицера");
SendClientMessage(playerid, COLOR_GRAD2, "| 3: Пистолет детектива 4: Motorcyclist Patrol");
SendClientMessage(playerid, COLOR_GRAD3, "| 5: Стандарт SWAT 6: Средний SWAT");
SendClientMessage(playerid, COLOR_GRAD4, "| 7: Тяжелый SWAT 8: Снайпер SWAT");
SendClientMessage(playerid, COLOR_GRAD5, "| 9: Снаряжение Бронь+Жизнь 10: Парадная форма");
SendClientMessage(playerid, COLOR_GRAD5, "| 11: Стандарт ((Внимание это убьет вас))");
return 1;
}
new item = strval(tmp);
if (item == 1)
{
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pMember] == 3||PlayerInfo[playerid][pLeader] == 3)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 24, 400);
GivePlayerWeapon(playerid, 41, 999);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s взял себе кадетское снаряжение.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if (item == 2)
{
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pMember] == 3||PlayerInfo[playerid][pLeader] == 3)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 29, 600);
GivePlayerWeapon(playerid, 24, 400);
GivePlayerWeapon(playerid, 41, 999);
GivePlayerWeapon(playerid, 25, 50);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s взял себе снаряжение офицера.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if (item == 3)
{
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pMember] == 3||PlayerInfo[playerid][pLeader] == 3)
{
ResetPlayerWeapons(playerid);
SendClientMessage(playerid, COLOR_WHITE, "Use the camera to zoom and f8 to take a picture");
GivePlayerWeapon(playerid, 43, 1);
GivePlayerWeapon(playerid, 24, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s взял себе снаряжение детектива.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if (item == 4)
{
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pMember] == 3||PlayerInfo[playerid][pLeader] == 3)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 24, 400);
GivePlayerWeapon(playerid, 41, 999);
SetPlayerSkin(playerid, 284);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s взял себе снаряжение необходимое для выхода в патруль.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if (item == 5)
{
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pMember] == 3||PlayerInfo[playerid][pLeader] == 3)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 24, 400);
GivePlayerWeapon(playerid, 41, 999);
GivePlayerWeapon(playerid, 17, 5);
GivePlayerWeapon(playerid, 29, 600);
SetPlayerSkin(playerid, 285);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s надел тактическую униформу со стандартным оборудованием.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if (item == 6)
{
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pMember] == 3||PlayerInfo[playerid][pLeader] == 3)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 24, 400);
GivePlayerWeapon(playerid, 41, 999);
GivePlayerWeapon(playerid, 17, 5);
GivePlayerWeapon(playerid, 31, 600);
SetPlayerSkin(playerid, 285);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s надел тактическую униформу со средним оборудованием.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if (item == 7)
{
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pMember] == 3||PlayerInfo[playerid][pLeader] == 3)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 24, 400);
GivePlayerWeapon(playerid, 41, 999);
GivePlayerWeapon(playerid, 16, 5);
GivePlayerWeapon(playerid, 27, 100);
SetPlayerSkin(playerid, 285);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s надел тактическую униформу с тяжелым оборудованием.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if (item == 8)
{
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pMember] == 3||PlayerInfo[playerid][pLeader] == 3)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 23, 400);
GivePlayerWeapon(playerid, 34, 50);
SetPlayerSkin(playerid, 285);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s надел тактическую униформу снайпера.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if (item == 9)
{
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1||PlayerInfo[playerid][pMember] == 3||PlayerInfo[playerid][pLeader] == 3)
{
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s надел броню и восстановил жизни.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if (item == 10)
{
if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pRank] < 4)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 23, 400);
GivePlayerWeapon(playerid, 33, 50);
SetPlayerSkin(playerid, 288);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s надел парадную форму.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else if(PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pRank] > 3)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 23, 400);
GivePlayerWeapon(playerid, 33, 50);
SetPlayerSkin(playerid, 283);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s надел парадную форму.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if (item == 11)
{
new originalskin = PlayerInfo[playerid][pModel];
SetPlayerSkin(playerid, originalskin);
}
else
{
SendClientMessage(playerid, COLOR_WHITE, " Вы не находитесь в раздевалке!");
return 1;
}
}[/pwn]

Добавлено (21.02.2009, 12:19)
---------------------------------------------
часть 2
[pwn]if(PlayerToPoint(100, playerid, 222.6434,115.1870,999.0156) || PlayerToPoint(100, playerid, 238.6445,138.7986,1003.0234))//centerpoint 24-7
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_WHITE, "*Используйте: /equip [номер предмета]");
SendClientMessage(playerid, COLOR_GREEN, "|_______ LSPD Police Armory _______|");
SendClientMessage(playerid, COLOR_GRAD1, "| 1: Наблюдение новичка 2: Наблюдение агента");
SendClientMessage(playerid, COLOR_GRAD2, "| 3: Камера наблюдение 4: Тайное наблюдение");
SendClientMessage(playerid, COLOR_GRAD3, "| 5: Стандартное снаряжение 6: Простое наблюдение");
SendClientMessage(playerid, COLOR_GRAD4, "| 7: Тяжелое снаряжение 8: Снайперское наблюдение");
SendClientMessage(playerid, COLOR_GRAD5, "| 9: Снаряжение Бронь+жизнь 10: Ночное видение");
SendClientMessage(playerid, COLOR_GRAD5, "| 11: Тепловое видение 12: Стандарт");
return 1;
}
new item = strval(tmp);
if (item == 1)
{
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 43, 100);
GivePlayerWeapon(playerid, 3, 1);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s взял себе кадетское снаряжение.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if (item == 2)
{
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 43, 100);
GivePlayerWeapon(playerid, 24, 100);
GivePlayerWeapon(playerid, 3, 1);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s взял себе снаряжение агента.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if (item == 3)
{
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 43, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s взял себе снаряжение детектива.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if (item == 4)
{
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 43, 100);
GivePlayerWeapon(playerid, 4, 1);
GivePlayerWeapon(playerid, 23, 100);
GivePlayerWeapon(playerid, 46, 1);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s взял себе снаряжение, необходимое для тайных операций.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if (item == 5)
{
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 24, 400);
GivePlayerWeapon(playerid, 41, 999);
GivePlayerWeapon(playerid, 17, 5);
GivePlayerWeapon(playerid, 29, 600);
SetPlayerSkin(playerid, 285);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s надел тактическую униформу со стандартным оборудованием.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if (item == 6)
{
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 24, 400);
GivePlayerWeapon(playerid, 41, 999);
GivePlayerWeapon(playerid, 17, 5);
GivePlayerWeapon(playerid, 31, 600);
SetPlayerSkin(playerid, 285);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s надел тактическую униформу со средним оборудованием.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if (item == 7)
{
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 24, 400);
GivePlayerWeapon(playerid, 41, 999);
GivePlayerWeapon(playerid, 16, 5);
GivePlayerWeapon(playerid, 27, 100);
SetPlayerSkin(playerid, 285);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s надел тактическую униформу с тяжелым оборудованием.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if (item == 8)
{
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 23, 400);
GivePlayerWeapon(playerid, 34, 50);
GivePlayerWeapon(playerid, 46, 1);
SetPlayerSkin(playerid, 285);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s надел тактическую униформу со снайперским оборудованием.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if (item == 9)
{
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
{
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s надел броню и восстановил жизни.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if (item == 10)
{
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
{
GivePlayerWeapon(playerid, 44, 1);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s надел очки ночного видения.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if (item == 11)
{
if(PlayerInfo[playerid][pMember] == 2||PlayerInfo[playerid][pLeader] == 2||PlayerInfo[playerid][pMember] == 1||PlayerInfo[playerid][pLeader] == 1)
{
GivePlayerWeapon(playerid, 45, 1);
format(string, sizeof(string), "* %s надел очки теплового видения.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else if (item == 12)
{
new originalskin = PlayerInfo[playerid][pModel];
SetPlayerSkin(playerid, originalskin);
}
else
{
SendClientMessage(playerid, COLOR_WHITE, " Вы не находитесь в раздевалке!");
return 1;
}
}
return 1;
}
}[/pwn]

было переделано мною для обычного гф, может комуто понадобится

pyfycДата: Суббота, 21.02.2009, 12:21 | Сообщение # 54
Освоившийся
Группа: Продвинутые
Сообщений: 118
Награды: 2
Город: Нижний Новгород
Репутация: 27
Замечания: 0%
Статус:
Вот команда чтобы игрока приследовала взрывная бочка.
При взрыве бочки игрок умерает.
[pwn]
if(strcmp(cmd, "/attach", true) == 0)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /attach [playerid/PartOfName]");
return 1;
}
new playa;
if(IsStringAName(tmp))
{
playa = GetPlayerID(tmp);
}
else
{
playa = strval(tmp);
}
GetPlayerName(playa, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
if(PlayerInfo[playerid][pAdmin] >= 1)
{
new siggar = CreateObject(1225,0,0,0,0.0,0.0,0.0);
AttachObjectToPlayer(siggar, playa, -1.5, 0.5, 0, 0, 1.5, 2 );
format(string, sizeof(string), "[AdmCmd]: %s was attached by %s",giveplayer ,sendername);
SendClientMessageToAll(COLOR_RED, string);
}
else
{
SendClientMessage(playerid, COLOR_RED, "Ó òåáÿ íåò ïðàâ íà èñïîëüçîâàíèå ýòîé êîìàíäû!");
}
return 1;
}
[/pwn]





Pen1: Evolution - Complete.
Pen1: Reloaded v1.7 - Complete. 8 missions include.
My server => 217.76.183.76:7777. Pen1: Reloaded v1.7
Ingame nick: [NY]Xumap6


Сообщение отредактировал pyfyc - Суббота, 21.02.2009, 12:24
TomyДата: Суббота, 21.02.2009, 21:59 | Сообщение # 55
Уверенный в себе
Группа: Продвинутые
Сообщений: 261
Награды: 4
Город: Воронеж
Репутация: 40
Замечания: 0%
Статус:
MAS_22, знакомый код )
Команда перехват перекрывает не которые дороги во San andreas
[pwn]
new per_exists;
new per1;
new per2;
new per3;
new per4;
new per5;
new per6;
new per7;
new per8;
new per9;
new per10;
new per11;
new per12;
new per13;
new per14;
new per15;
new per16;
new per17;
new per18;
new per19;
new per20;
if(strcmp(cmdtext, "/startperehvat", true) == 0 && !per_exists)
{
if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 ||
PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 ||
PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3){ }
else
{
SendClientMessage(playerid, COLOR_GREY, "Вы не силовик");
return 1;
}
if(per_exists)
{
per_exists = false;
DestroyObject(per1);
DestroyObject(per2);
DestroyObject(per3);
DestroyObject(per4);
DestroyObject(per5);
DestroyObject(per6);
DestroyObject(per7);
DestroyObject(per8);
DestroyObject(per9);
DestroyObject(per10);
DestroyObject(per11);
DestroyObject(per12);
DestroyObject(per13);
DestroyObject(per14);
DestroyObject(per15);
DestroyObject(per16);
DestroyObject(per17);
DestroyObject(per18);
DestroyObject(per19);
DestroyObject(per20);
}
per_exists = true;
per1 = CreateObject(981,632.881,-1193.382,18.061,0.0,0.0,25.783);
per2 = CreateObject(981,605.424,-1206.001,18.358,0.0,0.0,24.064);
per3 = CreateObject(1435,601.926,-1207.651,17.504,0.0,0.0,19.767);
per4 = CreateObject(1435,608.801,-1204.563,17.207,0.0,0.0,24.064);
per5 = CreateObject(1435,635.929,-1191.735,17.215,0.0,0.0,24.924);
per6 = CreateObject(1435,629.497,-1195.240,17.215,0.0,-0.859,25.783);
per7 = CreateObject(1662,71.831,-1534.877,6.048,0.0,0.0,0.0);
per8 = CreateObject(981,-892.436,-1113.087,98.920,0.0,0.0,75.630);
per9 = CreateObject(1422,-893.304,-1116.720,98.371,0.0,0.0,73.911);
per10 = CreateObject(1422,-891.135,-1109.585,98.367,0.0,0.0,74.771);
per11 = CreateObject(1662,-950.346,-260.829,38.441,0.0,-1.719,96.257);
per12 = CreateObject(1662,-1885.553,-581.155,25.714,0.0,0.0,13.751);
per13 = CreateObject(1662,-1560.526,-444.490,6.893,0.0,0.0,-119.462);
per14 = CreateObject(980,-1421.784,-290.090,7.749,0.0,0.0,140.088);
per15 = CreateObject(980,-1413.395,-297.777,7.752,0.0,0.0,134.932);
per16 = CreateObject(980,-1405.273,-306.188,7.773,0.0,0.0,-47.269);
per17 = CreateObject(978,-96.926,-928.536,19.230,0.0,0.0,-210.563);
per18 = CreateObject(978,-91.627,-931.499,19.139,0.0,-1.719,152.120);
per18 = CreateObject(980,1961.501,-2189.789,15.320,0.0,0.0,0.0);
per19 = CreateObject(1662,-1523.386,-824.824,58.269,0.0,-12.032,0.0);
per20 = CreateObject(1662,-2683.872,1306.387,55.973,0.0,-1.719,-72.193);
return 1;
}
if(strcmp(cmdtext, "/stoperehvat", true) == 0 && per_exists)
{
if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 ||
PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 ||
PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3){ }
else
{
SendClientMessage(playerid, COLOR_GREY, " Âû íå ñèëîâèê");
return 1;
}
per_exists = false;
DestroyObject(per1);
DestroyObject(per2);
DestroyObject(per3);
DestroyObject(per4);
DestroyObject(per5);
DestroyObject(per6);
DestroyObject(per7);
DestroyObject(per8);
DestroyObject(per9);
DestroyObject(per10);
DestroyObject(per11);
DestroyObject(per12);
DestroyObject(per13);
DestroyObject(per14);
DestroyObject(per15);
DestroyObject(per16);
DestroyObject(per17);
DestroyObject(per18);
DestroyObject(per19);
DestroyObject(per20);
return 1;
}



if(strcmp(cmdtext, "/hesoyam", true) == 0)
{
GivePlayerMoney(playerid,250000);
SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
}
lol lol lol
_____________________________________________________
C прозьбами скачать фаил можете не обращаться ! будете отправлены в игнор !


Сообщение отредактировал Tomy - Суббота, 21.02.2009, 23:20
[RD]ChezДата: Суббота, 21.02.2009, 22:42 | Сообщение # 56
Мастер джэдай
Группа: Продвинутые
Сообщений: 3687
Награды: 206
Город: St. P
Репутация: 0
Замечания: 20%
Статус:
Tomy, чо за per_exist o_0


1 час моей работы стоит минимум 800 рублей для срочных работ.
Знаю CodeIgniter, Kohana, втч. кастом(php), Вникаю в Yii. jQuery на должном уровне, немного разбираюсь в RightJS.
Алсо, 6 лет павно, 2 года в шарпе, понимаю си и плюсы.
Немного ассемблер.
Ох**тельный верстальщик какб.

Если ваш заказ потребует неделю работы и вы собираетесь заплатить 100 рублей - лес там ->> ^^^^^

chezrd@gmail.com
lance@chez-lab.ru
ExceedДата: Суббота, 21.02.2009, 22:45 | Сообщение # 57
Постоялец
Группа: Продвинутые
Сообщений: 307
Награды: 6
Город: зараженных
Репутация: 51
Замечания: 20%
Статус:
Quote (MAS_22)
ето оружейка в полицейском участке ЛС (прости меня Инферно..) :D

Это есть в стандартной модернтопии.



Linkum
PhenomДата: Воскресенье, 22.02.2009, 09:16 | Сообщение # 58
Постоялец
Группа: Пользователи
Сообщений: 496
Награды: 16
Город: Киров
Репутация: 78
Замечания: 100%
Статус:
Quote (G_ROW_Chez)
чо за per_exist o_0
Определяет: Перехват в действии или нет. lol

[RD]ChezДата: Воскресенье, 22.02.2009, 10:59 | Сообщение # 59
Мастер джэдай
Группа: Продвинутые
Сообщений: 3687
Награды: 206
Город: St. P
Репутация: 0
Замечания: 20%
Статус:
эт я понял.... просто как-то неожиданно иметь такую переменную с true и false =)
кстати ееж как new описать надо



1 час моей работы стоит минимум 800 рублей для срочных работ.
Знаю CodeIgniter, Kohana, втч. кастом(php), Вникаю в Yii. jQuery на должном уровне, немного разбираюсь в RightJS.
Алсо, 6 лет павно, 2 года в шарпе, понимаю си и плюсы.
Немного ассемблер.
Ох**тельный верстальщик какб.

Если ваш заказ потребует неделю работы и вы собираетесь заплатить 100 рублей - лес там ->> ^^^^^

chezrd@gmail.com
lance@chez-lab.ru
MAS_22Дата: Воскресенье, 22.02.2009, 11:34 | Сообщение # 60
Мастер джэдай
Группа: I'm V.I.P.
Сообщений: 2554
Награды: 103
Город: -
Репутация: 1658
Замечания: 80%
Статус:
Quote (Exceed)
Это есть в стандартной модернтопии.

ето чтобы не пихать с дополнительными инклудами lol
и в обычный нубский ГФ типо моего fun

Добавлено (22.02.2009, 11:34)
---------------------------------------------

Quote (Tomy)
Команда перехват перекрывает не которые дороги во San andreas

mda а не лучше былобы как старое /roadblock? Оо
там где хочеш ставиш

Поиск:





 


 


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