GoldenRump
Умник
Создал интерьер, какой секрет и решил объект сделать двигающимся. На то что я задал ему команду 0 эмоций.
Мод:Skrilax-Rp v1.5
Вот сам код.
+ дам
Мод:Skrilax-Rp v1.5
Вот сам код.
PHP:
new zanaves;
case 22812:
{
if(response)
{
switch(listitem)
{
case 0: SendClientMessage(playerid, COLOR_YELLOW,""),MoveObject(zanaves,1427.28, -1032.91, 1153.93, 0.00),SetTimer("openzanaves",10000,0);
case 1: SendClientMessage(playerid, COLOR_YELLOW,""),SetTimer("closezanaves",10000,0);
case 2: SendClientMessage(playerid, COLOR_YELLOW,"");
case 3: SendClientMessage(playerid, COLOR_YELLOW,"");
case 4: SendClientMessage(playerid, COLOR_YELLOW,"");
case 5: SendClientMessage(playerid, COLOR_YELLOW,"");
case 6: SendClientMessage(playerid, COLOR_YELLOW,"");
case 7: SendClientMessage(playerid, COLOR_YELLOW,"");
case 8: SendClientMessage(playerid, COLOR_YELLOW,"");
case 9: SendClientMessage(playerid, COLOR_YELLOW,"");
case 10: SendClientMessage(playerid, COLOR_YELLOW,"");
case 11: SendClientMessage(playerid, COLOR_YELLOW,"");
case 12: SendClientMessage(playerid, COLOR_YELLOW,"");
case 13: SendClientMessage(playerid, COLOR_YELLOW,"");
case 14: SendClientMessage(playerid, COLOR_YELLOW,"");
case 15: SendClientMessage(playerid, COLOR_YELLOW,"");
case 16: SendClientMessage(playerid, COLOR_YELLOW,"");
}
}
}
if (strcmp(cmd, "/tmenu", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pMember] == 16 )
{
ShowPlayerDialog(playerid,22812,DIALOG_STYLE_LIST,"Концертный зал","Поднять занавес\nОпустить занавес\nБелое\nКрасное\nЗелёное\nСинее\nЖёлтое\nРозовое\nГолубое\nФон 1\nФон 2\nФон 3\nФон 4\nФон 5\nПоднять блок\nОпустить блок","Выбрать","Закрыть");
}
return true;
}
zanaves = CreateObject(3113, 1427.28, -1032.91, 1144.65, 0.00, 195.99, 270.00);
SetObjectMaterial(zanaves,0,8497,"vgseland","triadcarpet2",0);
forward openzanaves();
public openzanaves() return MoveObject (zanaves,1427.28, -1032.91, 1144.65, 0.00);
forward closezanaves();
public closezanaves() return MoveObject (zanaves,1427.28, -1032.91, 1153.93, 0.00);
Последнее редактирование:
