Errors when compiling moving gate
#10

Not sure if any of you actually saw, but he is using ZCMD with STRCMP.

Just delete the #include <zcmd>
pawn Код:
#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT

//#include <zcmd>

new mcleod;
mcleod = Gate = CreateObject(969, 2464.1450195313, -1663.3859863281, 12.3046875, 0, 0, 87.912261962891); // Closed Gate

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/mcleodgateopen", cmdtext, true, 10) == 0)
    {
        MoveObject(mcleod,2463.7080078125,-1673.7354736327,12.3046875,2.00); // moving gate
        return 1;
    }
    if (strcmp("/mcleodgateclose", cmdtext, true, 10) == 0)
    {
        MoveObject(mcleod,2464.1450195313,-1663.3859863281,12.3046875,-2.00); // Same deal as before
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Errors when compiling moving gate - by reckst4r - 03.12.2011, 10:22
Re: Errors when compiling moving gate - by sleepysnowflake - 03.12.2011, 10:25
Re: Errors when compiling moving gate - by reckst4r - 03.12.2011, 10:31
AW: Errors when compiling moving gate - by Drebin - 03.12.2011, 10:57
Re: Errors when compiling moving gate - by Mike_Peterson - 03.12.2011, 10:58
Re: Errors when compiling moving gate - by Kostas' - 03.12.2011, 11:01
Re: Errors when compiling moving gate - by reckst4r - 03.12.2011, 11:03
Re: Errors when compiling moving gate - by Kostas' - 03.12.2011, 11:09
Re: Errors when compiling moving gate - by reckst4r - 03.12.2011, 11:11
Re: Errors when compiling moving gate - by sleepysnowflake - 03.12.2011, 11:11

Forum Jump:


Users browsing this thread: 1 Guest(s)