17.10.2010, 00:17
pawn Код:
if(strcmp(cmd, "/pdel", true)) // elevator lspd
{
if(IsAPDMember(playerid) || IsAFreecop(playerid))
{
if(lspde == 1) { SendClientMessage(playerid, COLOR_GREY, "** Elevator is already up."); return 1; }
{
MoveDynamicObject(pdel,(983, 1570.812622, -1636.721558, 27.354481, 0.8);
SetTimer("GateClose4", 9000, 0);
lspde = 1;
SendClientMessage(playerid, COLOR_BLUE,"Elevator is going up now.");
format(string, sizeof(string), "* %s takes his/her remote and opens active the elevator", sendername);
ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
}
}
return 1;
}