Please register at our new forums, this forum is no longer in use. http://mczombie.enjin.com/

Latest topics

» The new forum, for those left behind.
Sat Jun 16, 2012 5:57 pm by King

» SAMP & MTA Server Progress
Tue Dec 06, 2011 8:06 pm by King

» Starting Over.
Tue Dec 06, 2011 1:07 am by David_Belle

» Today is my Birthday
Sun Sep 25, 2011 1:59 pm by Jose Cardoso

» The Community (Information & Organization)
Sat Sep 24, 2011 5:37 pm by marinov

» Tomorrow is my Birthday
Thu Sep 22, 2011 8:28 am by Vitor_Matheus

» Server Up again
Sat Sep 17, 2011 12:43 am by marinov

» My contact for emergency
Tue Sep 13, 2011 1:38 pm by Jose Cardoso

» cant enter
Mon Sep 12, 2011 1:51 pm by marinov

Poll

Statistics

Our users have posted a total of 1646 messages in 495 subjects

We have 178 registered users

The newest registered user is xXSp3cialXx


    Faceless Assasins HQ

    Share

    Blue
    Survivor
    Survivor

    Posts : 21
    Join date : 2010-12-22

    Faceless Assasins HQ

    Post  Blue on Tue Jan 18, 2011 2:23 am

    The script for Faceless Assassin HQ:

    Variable:

    new FacelessGate;
    new infoduty;
    new floor1;
    new floor10;

    Object, Pickup and Vechicle:

    SetGameModeText("Blank Script");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    CreateObject(13645, 2094.3918457031, 2368.7358398438, 60.549999237061, 0, 0, 179.75, 300);
    CreateObject(13645, 2097.0927734375, 2368.76953125, 60.549999237061, 0, 0, 179.24194335938, 300);
    CreateObject(13645, 2099.8203125, 2368.8056640625, 60.549999237061, 0, 0, 179.23645019531, 300);
    CreateObject(5152, 2118.9208984375, 2403.94921875, 58.421619415283, 0, 344.99816894531, 179.99450683594, 300);
    FacelessGate = CreateObject(985, 2071.9499511719, 2437.7219238281, 47.900001525879, 0, 0, 0, 300);//Gate
    CreateObject(2475, 2100.3356933594, 2402.5170898438, 59.81689453125, 0, 0, 0, 300);
    CreateObject(356, 2100.4602050781, 2402.5168457031, 60.06689453125, 0, 0, 4, 300);
    CreateObject(358, 2100.4521484375, 2402.5056152344, 60.718391418457, 0, 0, 4.75, 300);
    CreateObject(348, 2100.3986816406, 2402.5305175781, 61.397392272949, 0, 0, 0, 300);
    CreateObject(335, 2100.8845214844, 2402.4558105469, 61.446807861328, 0, 0, 0, 300);
    CreateVehicle(451, 2124.7729492188, 2404.2473144531, 58.162811279297, 269.99963378906, 1, 1, 1000);
    CreateVehicle(522, 2099.2631835938, 2387.2163085938, 60.477272033691, 179.99450683594, 1, 1, 1000);
    CreateVehicle(522, 2100.5178222656, 2387.4787597656, 60.477272033691, 180.74157714844, 1, 1, 1000);
    CreateVehicle(559, 2097.2836914063, 2389.0305175781, 60.570957183838, 180, 1, 1, 1000);
    CreateVehicle(559, 2094.0837402344, 2389.03515625, 60.570957183838, 180, 1, 1, 1000);
    CreateVehicle(563, 2089.4572753906, 2414.8532714844, 75.038612365723, 90, 1, 1, 1000);
    CreatePickup(371, 2, 2115.8950195313, 2368.1604003906, 60.81689453125, 0);
    infoduty = CreatePickup(1239,1,2100.7188,2401.3010,60.8169,-1);
    floor1 = CreatePickup(1239,1,2118.4026,2416.6379,10.8203,-1);
    floor10 = CreatePickup(1239,1,2118.2305,2416.6018,49.5234,-1);
    SetTimer("CheckGate",1000,true);

    Script for the Gate

    forward CheckGate(); //Could you add "IF" so it would only open if it's Faceless Assassin member, It is a automatic gate
    public CheckGate()
    {
    new FacelessGate_status;
    for(new i;i<MAX_PLAYERS;i++)
    {
    if(!IsPlayerConnected(i)) continue;
    if(IsPlayerInRangeOfPoint(i,10.0,2071.9499511719, 2437.7219238281, 47.900001525879))FacelessGate_status=1;
    }
    if(FacelessGate_status)MoveObject(FacelessGate, 2064.7, 2437.7219238281, 47.900001525879, 2 );
    else MoveObject(FacelessGate, 2071.9499511719, 2437.7219238281, 47.900001525879, 2 );
    }

    PS: You can add it anywhere

    Commands:

    if (strcmp("/duty", cmdtext, true, 5) == 0) //Could you add the "IF" so the /duty will only work for FA member
    {

    if(IsPlayerInRangeOfPoint(playerid,10,2100.7188,2401.3010,60.8169))
    {
    GivePlayerWeapon(playerid, 4, 1);
    GivePlayerWeapon(playerid, 34, 500);
    GivePlayerWeapon(playerid, 31, 2000);
    GivePlayerWeapon(playerid, 24, 2250);
    return 1;
    }
    }
    if (strcmp("/up", cmdtext, true, 6) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid,10,2118.4026,2416.6379,10.8203))
    {
    SetPlayerPos(playerid,2118.2305,2416.6018,49.5234);
    return 1;
    }
    }
    if (strcmp("/down", cmdtext, true, 6) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid,10, 2118.2305,2416.6018,49.5234))
    {
    SetPlayerPos(playerid, 2118.4026,2416.6379,10.8203);
    return 1;
    }
    }
    return 0;
    }


    OnPlayerPickupPickup script


    if(pickupid == infoduty)
    {
    GameTextForPlayer(playerid,"/duty",3000,1);
    }
    if(pickupid == floor1)
    {
    GameTextForPlayer(playerid,"/up",3000,1);
    }
    if(pickupid == floor10)
    {
    GameTextForPlayer(playerid,"/down",3000,1);
    }

    //Could you make /mask commands


    Faceless Assasin HQ


    I make a elevator, which if you write /up, it will make you to floor 10 and /down will make you back to floor 1


    Automatic gate, it will open if you are infront of it

    King
    Admin
    Admin

    Posts : 248
    Join date : 2010-12-05

    Re: Faceless Assasins HQ

    Post  King on Tue Jan 18, 2011 8:33 pm

    I like the location. Lol, lucky for you Jerry And Marino are good scripters. So, did you make this script yourself? And one question. How do the Cars and bikes get down on the roof area?

    Nice Faction BTW Very Happy Very Happy Very Happy


    _________________



    "Nothing is impossible"




    "Our Business Is Life Itself"

    Blue
    Survivor
    Survivor

    Posts : 21
    Join date : 2010-12-22

    Yes

    Post  Blue on Tue Jan 18, 2011 8:35 pm

    Yes, i script it my self... For the car and bike to go down, you just need to move forward and boom... Your down Razz

    King
    Admin
    Admin

    Posts : 248
    Join date : 2010-12-05

    Re: Faceless Assasins HQ

    Post  King on Tue Jan 18, 2011 8:37 pm

    Nice, I would like to learn how to script myself but for some reason I just don't have the motivation. Razz I find most Tutorials hard to follow, especially the written ones. I was told a good way to start is to make mini-games for servers, so that's what ill do if I can get motivated Very Happy


    _________________



    "Nothing is impossible"




    "Our Business Is Life Itself"

    Blue
    Survivor
    Survivor

    Posts : 21
    Join date : 2010-12-22

    -

    Post  Blue on Tue Jan 18, 2011 8:47 pm

    I want to start a server but im to lazy...

    Sponsored content

    Re: Faceless Assasins HQ

    Post  Sponsored content Today at 10:08 am


      Current date/time is Tue Dec 06, 2016 10:08 am