SA-MP Forums Archive
[Map] Vinewood Admin Gates - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Maps (https://sampforum.blast.hk/forumdisplay.php?fid=64)
+---- Thread: [Map] Vinewood Admin Gates (/showthread.php?tid=349993)



Vinewood Admin Gates - Rg-Gaming.Info - 10.06.2012

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;
}



Re: Vinewood Admin Gates - Rg-Gaming.Info - 10.06.2012

Damn posted in wrong section.... requesting topic move.


Re: Vinewood Admin Gates - Mark Shade - 11.06.2012

Good work.


Re: Vinewood Admin Gates - Rg-Gaming.Info - 11.06.2012

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


Re: Vinewood Admin Gates - iMaster - 11.06.2012

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


Re: Vinewood Admin Gates - Rg-Gaming.Info - 11.06.2012

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


Re: Vinewood Admin Gates - Lorenzo* - 24.06.2012

haha...i needed this so bad ..now its my house


Re: Vinewood Admin Gates - seeeca - 24.06.2012

epic fail \o


Re: Vinewood Admin Gates - [MM]18240[FMB] - 12.07.2012

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:


Re: Vinewood Admin Gates - Rg-Gaming.Info - 02.08.2012

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.