open gate cmd -_-
#1

pawn Код:
#define FILTERSCRIPT

#include <a_samp>
#include <zcmd>
#include <sscanf2>
#include <YSI\y_ini>

public OnFilterScriptInit()
{
   CreateObject(987,-1033.30004883,-588.29998779,31.00000000,0.00000000,0.00000000,178.00000000); //object(elecfence_bar)


    print("\n--------------------------------------");
    print(" ***************************************");
    print(" * Admin Filterscript by thefatshizms  *");
    print(" ***************************************");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}
public OnPlayerConnect(playerid)
{
    return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
    return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
    return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{

    return 1;
}
CMD:open(playerid, params[])
{
    new swatgate;
    swatgate = CreateObject(987,-1033.30004883,-588.29998779,31.00000000,0.00000000,0.00000000,178.00000000); //object(elecfence_bar)
    MoveObject(swatgate, -1033.30004883,-588.29998779,24.48999977, 1, 0, 0);
    return 1;
}
with this there are 2 gates and if i remove one of the gate codes (onflterscriptinit) there wont be any gates
Reply


Messages In This Thread
open gate cmd -_- - by thefatshizms - 06.06.2012, 22:28
Re: open gate cmd -_- - by ViniBorn - 07.06.2012, 01:28

Forum Jump:


Users browsing this thread: 1 Guest(s)