Problems With Moving Gates
#6

Код:
#include <a_samp>
#include <streamer>
#define FILTERSCRIPT
new LSPDGate;

public OnFilterScriptInit()
{
    LSPDGate = CreateDynamicObject(980,1588.09997559,-1638.00000000,15.19999981,0.00000000,0.00000000,0.00000000); //object(airportgate) (1)
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/ogate", true)){
        if(IsPlayerInRangeOfPoint(playerid, 285,1561.4171,-1693.9485,5.8906,177.2525)){
            MoveDynamicObject(LSPDGate, 1588.09997559,-1638.00000000,15.19999981,3.0);
            return 1;
        }
    }
    else if(strcmp(cmdtext, "/cgate", true)){
        if(IsPlayerInRangeOfPoint(playerid, 285, 1561.4171, -1693.9485 ,5.8906, 177.2525)){
            MoveDynamicObject(LSPDGate, 1588.09997559,-1638.00000000,45.19999981,3.0);
            return 1;
        }
    }
    return 0;
}
public OnFilterScriptExit()
{
    return 1;
}
Add this
Then download streamer include from here
join this in pwno/includes
http://www.mediafire.com/?oepsj98dk6cbwudhttp://

then download streamer plugins here
Join this file to your plugins
http://www.mediafire.com/?9usd5new3rbirdghttp://
then compile this filter script
Reply


Messages In This Thread
Problems With Moving Gates - by Mustang[GTS] - 27.06.2012, 09:34
Re: Problems With Moving Gates - by God'Z War - 27.06.2012, 09:56
Re: Problems With Moving Gates - by Mustang[GTS] - 27.06.2012, 09:59
Re: Problems With Moving Gates - by God'Z War - 27.06.2012, 10:01
Re: Problems With Moving Gates - by Mustang[GTS] - 27.06.2012, 10:03
Re: Problems With Moving Gates - by God'Z War - 27.06.2012, 10:08
Re: Problems With Moving Gates - by Mustang[GTS] - 27.06.2012, 10:09
Re: Problems With Moving Gates - by God'Z War - 27.06.2012, 10:13
Re: Problems With Moving Gates - by Mustang[GTS] - 27.06.2012, 10:16
Re: Problems With Moving Gates - by God'Z War - 27.06.2012, 10:30

Forum Jump:


Users browsing this thread: 1 Guest(s)