[Map] Vinewood Admin Gates
#1

Hello guys i want to release my simple map that i use for my server. The script is called "adming" which stays for Admin Gates. I use this for my admin house at vinewood. The script does require streamer plugin. Enjoy !


pawn Код:
#include <a_samp>
#include <streamer>

new agate[2];

public OnFilterScriptInit()
{
    CreateDynamicObject(987,1508.59997559,-699.75000000,94.40000153,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (8)
    CreateDynamicObject(987,1519.30004883,-699.75000000,94.40000153,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (9)
    CreateDynamicObject(987,1531.19995117,-699.79998779,94.40000153,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (10)
    CreateDynamicObject(987,1531.19995117,-687.79998779,94.40000153,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (11)
    CreateDynamicObject(987,1531.19995117,-675.79998779,94.40000153,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (12)
    CreateDynamicObject(987,1531.19995117,-668.79998779,94.40000153,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (13)
    CreateDynamicObject(987,1531.19995117,-657.00000000,94.40000153,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (14)
    CreateDynamicObject(987,1519.19995117,-657.00000000,94.40000153,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (15)
    CreateDynamicObject(987,1507.19995117,-657.00000000,94.40000153,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (16)
    CreateDynamicObject(987,1495.19995117,-657.00000000,94.40000153,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (17)
    CreateDynamicObject(987,1483.19995117,-657.00000000,94.40000153,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (18)
    CreateDynamicObject(987,1471.19995117,-657.00000000,94.40000153,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (19)
    CreateDynamicObject(987,1468.40002441,-657.00000000,94.40000153,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (20)
    CreateDynamicObject(987,1456.50000000,-657.00000000,94.40000153,0.00000000,0.00000000,270.00000000); //object(elecfence_bar) (21)
    CreateDynamicObject(987,1456.50000000,-669.00000000,94.40000153,0.00000000,0.00000000,270.00000000); //object(elecfence_bar) (22)
    CreateDynamicObject(987,1456.50000000,-681.00000000,94.40000153,0.00000000,0.00000000,270.00000000); //object(elecfence_bar) (23)
    CreateDynamicObject(987,1456.50000000,-682.00000000,94.40000153,0.00000000,0.00000000,270.00000000); //object(elecfence_bar) (24)
    CreateDynamicObject(987,1456.40002441,-694.00000000,94.40000153,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (25)
    CreateDynamicObject(987,1468.40002441,-694.00000000,94.40000153,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (26)
    agate[0] = CreateDynamicObject(987,1496.59997559,-699.75000000,93.80000305,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) gate
    agate[1] = CreateDynamicObject(987,1484.59997559,-699.75000000,93.80000305,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) gate
    CreateDynamicObject(987,1474.69995117,-694.09997559,93.40000153,0.00000000,0.00000000,333.00000000); //object(elecfence_bar)
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{

    if(!strcmp(cmdtext, "/ao"))
     {
     MoveDynamicObject(agate[0], 1496.59997559,-699.75000000,86.80000305, 1);
     MoveDynamicObject(agate[1], 1484.59997559,-699.75000000,86.80000305, 1);
     return 1;
     }

    if(!strcmp(cmdtext, "/ac", true))
     {
     MoveDynamicObject(agate[0], 1496.59997559,-699.75000000,93.40000153, 2);
     MoveDynamicObject(agate[1], 1484.59997559,-699.75000000,93.40000153, 2);
     return 1;
     }
    return 0;
}
Reply
#2

Damn posted in wrong section.... requesting topic move.
Reply
#3

Good work.
Reply
#4

Quote:
Originally Posted by Mark Shade
Посмотреть сообщение
Good work.
Thank you.
Reply
#5

Hey it is nice but you need to put some effort on this map -.- like add Heli it need lot of things man !
for me 5/10
Reply
#6

Quote:
Originally Posted by iMaster
Посмотреть сообщение
Hey it is nice but you need to put some effort on this map -.- like add Heli it need lot of things man !
for me 5/10
Yeah i could add some thing to it. Thanks
Reply
#7

haha...i needed this so bad ..now its my house
Reply
#8

epic fail \o
Reply
#9

Props on this map, moving gates and all. But, it could have like hydra's and rhino's and shit too. Aswell as making /ao and /ac IsPlayerAdmin. But this can easily be adapted to ANY admin system. So, props to you! :cheers:
Reply
#10

Quote:
Originally Posted by [MM]18240[FMB]
Посмотреть сообщение
Props on this map, moving gates and all. But, it could have like hydra's and rhino's and shit too. Aswell as making /ao and /ac IsPlayerAdmin. But this can easily be adapted to ANY admin system. So, props to you! :cheers:
Yeah i know. Soon i'm going to release a admin system.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)