Elevator all times errors ..
#5

You are also using strcmp wrong. You are checking if the command entered is not equivalent to "/pdel".

pawn Код:
if (!strcmp(cmd, "/pdel", true)) // elevator lspd
{
    if (IsAPDMember(playerid) || IsAFreecop(playerid))
    {
        if (lspde == 1) return SendClientMessage(playerid, COLOR_GREY, "** Elevator is already up.");
        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;
}
Reply


Messages In This Thread
Elevator all times errors .. - by Dennis_Sanchez - 17.10.2010, 00:12
Re: Elevator all times errors .. - by Ritchie999 - 17.10.2010, 00:17
Re: Elevator all times errors .. - by [Lsrcr]Rafa - 17.10.2010, 00:17
Re: Elevator all times errors .. - by Hal - 17.10.2010, 00:18
Re: Elevator all times errors .. - by bigcomfycouch - 17.10.2010, 01:27

Forum Jump:


Users browsing this thread: 3 Guest(s)