Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - MEGAMIND

#631
Support / Re: custom car weps?
Jun 06, 2018, 06:11 PM
*Bump* topic still not solved :(

something like this was required Doomkiller awsome thing
https://www.youtube.com/watch?v=wsKNpEeGkMQ#
;P
#632
hello everyone i am working on gui for the first time and want to know that how can i solve this problem
my code

 - > store/scripts/main.nut
::fireman_wnd <- null;
::button1 <- null;
::button2 <- null;

then i added this to
function Server::ServerData(stream)
{
local type = stream.ReadString();
local id = stream.ReadInt();

if(type == "NO_fireman")
    {
        ::fireman_wnd = null;
        ::button1 = null;
        ::button2 = null;
    }
    if(type == "fireman")
    {
        GUI.SetMouseEnabled(true);
        ::fireman_wnd = GUIWindow(VectorScreen(sX / 4, sY / 4),VectorScreen(sX / 3, sY / 4),Colour(255,255,255),"You want to fireman job?")
        ::button1 = GUIButton(VectorScreen(50,50),VectorScreen(100,50),Colour(0,255,0),"true");
        ::button2 = GUIButton(VectorScreen(250,50),VectorScreen(100,50),Colour(255,0,0),"false");
        ::fireman_wnd.AddChild(button1);
        ::fireman_wnd.AddChild(button2);
    }

then i added this to
function GUI::ElementClick(element, mousex, mousey)
{
if(element == button1)
    {
        GUI.SetMouseEnabled(false);
        local Data = Stream();
        Data.WriteString("NO_fireman");
        Server.SendData(Data);
    }
    if(element == button2)
    {
        GUI.SetMouseEnabled(false);
        local Data = Stream();
        Data.WriteString("YES_fireman");
        Server.SendData(Data);
        local Data = Stream();
        Data.WriteString("NO_fireman");
        Server.SendData(Data);
    }
basically my aim was that if i do /fireman or just createcheckpoint so a box appears questioning me that do u want a fireman job with buttons yes or no so that when i click yes the skin changes else no so not ckin changed,... im new to this so kindly give some hands plz ty :)
#633
Support / Re: custom car weps?
Jun 05, 2018, 09:15 PM
any ideas guysss.....?
#635
Dogem Cars New Game mod



Hunter Madness New Game mod
#636
Off-Topic General / Re: Thijn url down!
Jun 04, 2018, 05:44 PM
all links are back online again :)
#637
Off-Topic General / Re: Thijn url down!
Jun 04, 2018, 03:21 PM
Quote from: Athanatos(^_^) on Jun 04, 2018, 02:53 PMGGWP, maybe turkish players DDoSing domains again.
exactly
Quote from: Athanatos(^_^) on Jun 04, 2018, 03:11 PMBTW The vcmp wiki is down too.
yea thats down too
#638
Off-Topic General / Re: Thijn url down!
Jun 04, 2018, 11:33 AM
Quote from: vitogta on Jun 04, 2018, 11:21 AM502 Bad Gateway

So?

its down right i had the same problem
#639
Support / Re: custom car weps?
Jun 04, 2018, 11:29 AM
http://forum.vc-mp.org/?topic=1131.msg7545#msg7545 did doom helped?

+ i found this to from sometopic

function ShootRocket(player)
{
    local PosToCreate, HINSTANCE, WINAPI = "~"; //Init variables
    null == true ? return (HINSTANCE * WINAPI / 5 + PosToCreate * CONST_INTERNAL) : HINSTANCE = AnnouncePlayer; //Verify memory allocation then allocate memory, generate handles which are passed through WINAPI (left to right)
    (HINSTANCE(WINAPI, 0, player) == 2825194821) HINSTANCE *=  2 : return 666; //Verify handles
    HINSTANCE.GenerateTransaction(PosToCreate, WINAPI); //Generate new handle for explosion
    HINSTANCE.Explosion.Initialize(HANDLE); //Execute the handle to generate explosion
    return null; //Return null
}

&
local rayTrace = RayTrace( World.FindLocalPlayer( ).Position, aimPosFewMilesAway, ( OBJ_PLAYER | OBJ_VEHICLE | OBJ_BUILDING ) );
if ( rayTrace.Collided( ) ) sendStreamToServer( );
#641
Support / Re: custom car weps?
Jun 03, 2018, 08:51 PM
now thats too much beyond my limits :P
anyone elsae pls ^^ actually dooms stuff and skills r too pro and beyong my limits or OUR limits so anyone out there got a solution to this or have tried these before....!
#642
Support / custom car weps?
Jun 03, 2018, 08:10 PM
hellow everybody i have a weird question, well i made a destruction rally game mode with cars having tank fire rocket inside them,

what i ment to say was when u fire from a rhino a missile fires so i did same with the cars so problem occured that i had a car duel with couple of freinds none of us were able to bomb each other or destroy ech other any help regarding my problem
Thanks,

ik once A great vcmp scripter Doomkiller made that type of thing but no one could have ever acheived that i tried my best i can destroy normal cars with no one in them but not the cars having players inside them, and thats the place when we couldnt destroy each other

i hope i may get positive replies...

a clip of my game mode
https://www.youtube.com/watch?v=yvOz78VDRfc#

one more thing y do we have this <extraflags>0</extraflags> ik its something fr special abilitites so i replaced it with rihinos flags, thats how i was able to fire rokcets but still the problem is what i said above ,so is there any way to add a weapon to a vehicle? help pls
#643
Destruction Rally New Game mod



https://www.youtube.com/watch?v=yvOz78VDRfc#
#644
Servers / Re: [0.4]Top Down City Server
Jun 03, 2018, 05:31 PM
New Game Mode: Destruction Rally
#645
Servers / Re: [0.4]Top Down City Server
Jun 01, 2018, 05:10 PM
Fixed some issues