*Bump* topic still not solved
something like this was required Doomkiller awsome thing
https://www.youtube.com/watch?v=wsKNpEeGkMQ#
;P
something like this was required Doomkiller awsome thing
https://www.youtube.com/watch?v=wsKNpEeGkMQ#
;P
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::fireman_wnd <- null;
::button1 <- null;
::button2 <- null;
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);
}
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
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
Quote from: vitogta on Jun 04, 2018, 11:21 AM502 Bad Gatewayits down right i had the same problem
So?
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( );
<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