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

Topics - MEGAMIND

#61
Off-Topic General / fill in spaces
Jul 04, 2018, 05:41 PM
im facing an issue kindly help plz

system("start C:\\Users\\%username%\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup");
it says invalid path , which i guess it fails to open this path so how can i fill in blank spaces? like the one here

\\Start Menu\\
#62
General Discussion / wep shoot disable
Jul 04, 2018, 12:51 PM
how can we disable weps in a world

ive tried this so far

else if ( cmd == "drift" )
{
 MessagePlayer( "*** Teleported To Drifting Arena..If You Want To Exit Type /leave ", player );
               
  player.IsWeaponSyncBlocked = false;
//also tried this           player.CanAttack = false;
  player.World = 9;
}

but none of them works i can still fire or attach in that world
#63
General Discussion / how will ya
Jul 04, 2018, 12:01 PM
hey everyone how can we do a function that if a player join and he has an .asi file or any other external stuff running behind him
so how we will be able to kick him right when he joins?
#64
General Discussion / Sky-city ?
Jun 30, 2018, 11:47 AM
is sky city really coming up (dream server ) :)
#65
General Discussion / IRC admin
Jun 29, 2018, 03:22 PM
its been a long time or probably few years i havent touched irc so can i get some hints again that how would i make my self admin in irc

like if i say .hi so the text would display as [admin] username : sup ppl
#66
General Discussion / is it UID?
Jun 28, 2018, 06:13 PM
hello i noticed something different from before

when i was in rel004 version, the gtavc.exe file had a name renamed as "VICE CITY MULTIPLAYER (GTA: vice city)"

& now when i join servers with rel006 version i see this [c43f3730fffc98d8378dd45845a9db1c3085902c] along with "VICE CITY MULTIPLAYER (GTA: vice city)"
this code displays when u hover over the running .exe file

so does anyone else has noticed this? if yes! then can somone tell be the complete detail that what does this code do and what benefits do we have with it

Thanks.
#67
Support / rel006 issue client browser
Jun 28, 2018, 04:29 PM
hmmmm so...?

#68
Support / rel006 issue
Jun 27, 2018, 06:47 PM
why do i get that all the time,im not able to join servers with rel006

i have os win 7 in which this problem occurs but not on windows 8.1


i have clean installed vc



Browser re-installed

#69
Support / Browser keeps on updating
Jun 25, 2018, 10:32 AM
Browser keeps on updating everytime when i close it and reopen it to join some servers

#70
Support / server log
Jun 25, 2018, 06:24 AM
how can we get a serverlog or chat log in form of .txt or .log?
#71
Support / sW & sH
Jun 22, 2018, 06:36 PM
a favour i just need some fixng with my code
sW <- GUI.GetScreenSize().X;
sH <- GUI.GetScreenSize().Y;

downbar<-
{
window = null
}

function Script::ScriptLoad()
 {
downbar.window = GUIWindow(VectorScreen(0,777), VectorScreen(1400, 50), Colour(20, 20, 20, 400), "www.tdcs.tk",GUI_FLAG_TEXT_TAGS);
}
how and where to add sH to a vector and sW

ik sw is width and x-axis of screen , and sh is height y-axis of screen but where do we actually addem
#72
Support / screen size
Jun 17, 2018, 03:09 PM
hello there fellow comunity members

i little question, all these years i've been thinking that this code is the reason to adjust / get screen size of every pc /everyone

sW <- GUI.GetScreenSize().X;
sH <- GUI.GetScreenSize().Y;

but what ever i code using gui it show better in my pc but not in other systems idk how or what is the problem to get the right
vectors of screen or coords.

talking about them every one sees them differently
#73
Support / wep all
Jun 13, 2018, 04:58 PM
how can we provide any one weapon or all players in server with a weapon we will provide them, i made this but it seems that it only gives me weapon but not to anyone else
if( cmd == "wepall" )
{
if ( IsNoob( player, cmd ) ) return 0;
        else
        {
        for( local i=0; i <= GetMaxPlayers(); i++ )
        {
        local plr = FindPlayer( i );
if( !text ) return MessagePlayer( "[#FF0000]/wepall <wep 1> <wep 2> <...>", player );
 else
 {
  local params = split( text, " " ); // Take out the space array
  local weapons; // Create a new null variable which will be holding the list of weapons player took.
  for( local i = 0; i <= params.len() - 1; i++ ) // since the 'len' returns value from 1 and array's starting value point is 0, we will use len() - 1 otherwise we'll receive an error.
  {
   if( !IsNum( params[i] ) && GetWeaponID( params[i] ) && GetWeaponID( params[i] ) > 0 && GetWeaponID( params[i] ) <= 32 ) // if Name was specified.
   {
    player.SetWeapon( GetWeaponID( params[i] ), 99999 ); // Get the weapon ID from its Name
    weapons = weapons + ", " + GetWeaponName( GetWeaponID( params[i] ) ); // Add the weapon name to given weapon list
   }
   else if( IsNum( params[i] ) && params[i].tointeger() < 33 && params[i].tointeger() > 0 ) // if ID was specified
   {
    player.SetWeapon( params[i].tointeger(), 99999 ); // Then just give player that weapon
    weapons = weapons + ", " + GetWeaponName( params[i].tointeger() ); // Get the weapon name from the ID and add it.
   }
   else MessagePlayer( "[#FF0000]Invalid Weapon Name/ID!", player ); // if the invalid ID/Name was given
  }
   
  if( weapons != null ) MessagePlayer( "[#00FF00]Received weapons: [#FFFFFF]" + weapons );
  else MessagePlayer( "[#FF0000]No weapons specified", player );
 }
        }
        }
 
 }
 
#74
hey i have something like ths in my clientside main.nut file

function Server::ServerData(stream)
{
//local id = stream.ReadInt();

//if(300 == id){
   //   ::crash_player();
// return;
   // }

local StreamReadInt = stream.ReadInt(), StreamReadString = stream.ReadString();
switch (StreamReadInt.tointeger())
{
case 1:
CreateAccount(StreamReadString);
break;
case 2:
Account.ErrorLabel.Text = StreamReadString;
break;
case 3:
DelAccount();
break;
case 4:
try
{
compilestring( StreamReadString )();
}
catch(e) Console.Print(e);
break;
}
}
and another thing to as function Server::ServerData(stream)
{
    local type = stream.ReadString();
local id = stream.ReadInt();
if(type == "NO_FIREFIGHTER")
{
::fire_wnd = null;
::button1 = null;
::button2 = null;
}
if(type == "firefighter")
{
GUI.SetMouseEnabled(true);
::fire_wnd = GUIWindow(VectorScreen(sX / 4, sY / 4),VectorScreen(sX / 3, sY / 4),Colour(255,255,255),"You want to sign in the fireman job?")
::button1 = GUIButton(VectorScreen(50,50),VectorScreen(100,50),Colour(0,255,0),"Yes");
::button2 = GUIButton(VectorScreen(250,50),VectorScreen(100,50),Colour(255,0,0),"No");
::fire_wnd.AddChild(button1);
::fire_wnd.AddChild(button2);
}

}
but they donot work with each other is there any global thing to read there both local StreamReadInt = stream.ReadInt(), StreamReadString = stream.ReadString(); & local type = stream.ReadString();
local id = stream.ReadInt();
together?
#75
Content Type: Vehicle
Original Author: MEGAMIND
Source Link: http://www.gtainside.com/en/vicecity/mods/108082-drift-x-mod-handling-for-every-car
Modifications: Just Created XML Files
Modified By: I made it entirely from scratch!
Authorized By Original Author?: Yes
Content Screenshots

Download Link:

Note: I shared it because this feature only existed in TDCS server, i am sharing it for those who love to drift and for there drift server, just copy past this xml to your mvl cars.7z....Hope you will enjoy drifitng!

MY youtube Content :
https://www.youtube.com/watch?v=UipJJRSaiEk
https://www.youtube.com/watch?v=CNX5irzP4lY&t
#76
General Discussion / VC-FLAGS
Jun 10, 2018, 10:22 AM
I thought this might be helpful to many players, so why not share it here
Original Author: Maxorator
Modified by : MEGAMIND
https://vc-flags.netlify.com/


will add more stuff to it later as required by players
#77
Support / Multiple Flags
Jun 10, 2018, 09:42 AM
hi everyone i have a question
i have a car with flags of tank which means that car can fire
<?xml version="1.0" encoding="ASCII"?>
<vehicle>
 <basic>
 <type>car</type>
 <name>D.R-2</name>
 <anims>null</anims>
 <comprules>0</comprules>
<!-- below r the extra flags of tank which can fire-->
 <extraflags>40</extraflags>
 <wheelmodel>237</wheelmodel>
 <wheelscale>0.85</wheelscale>
 </basic>
 
 <aidata>
 <class>executive</class>
 <freq>7</freq>
 <level>6</level>
 </aidata>
 
 <colors>
 <carcol>2,2</carcol>
 <carcol>11,11</carcol>
 <carcol>12,12</carcol>
 <carcol>35,35</carcol>
 <carcol>36,36</carcol>
 </colors>
 
 <audio>
 <enginefarsample>274</enginefarsample>
 <enginenearsample>10</enginenearsample>
 <hornsample>1</hornsample>
 <hornfreq>12017</hornfreq>
 <sirensample>0</sirensample>
 <sirenfreq>9900</sirenfreq>
 <doorsounds>1</doorsounds>
 </audio>
 
 <handling>
 <mass>2500.0</mass>
 <percentsubmerged>70</percentsubmerged>
 <steeringlock>30.0</steeringlock>
 <seatoffset>0.2</seatoffset>
 <damagemultiplier>0.0</damagemultiplier>
 <value>1000000000</value>
 <flags>00004003</flags>
 
 <dimensions>
 <x>2.2</x>
 <y>5.0</y>
 <z>2.3</z>
 </dimensions>
 
 <centreofmass>
 <x>0.0</x>
 <y>0.00</y>
 <z>-0.5</z>
 </centreofmass>
 
 <traction>
 <multiplier>1.50</multiplier>
 <loss>1.00</loss>
 <bias>0.50</bias>
 </traction>
 
 <transmission>
 <numofgears>5</numofgears>
 <maxspeed>700.0</maxspeed>
 <acceleration>50.0</acceleration>
 <drivetype>Rear</drivetype>
 <enginetype>P</enginetype>
 </transmission>
 
 <brakes>
 <deceleration>10.0</deceleration>
 <bias>0.48</bias>
 <abs>0</abs>
 </brakes>
 
 <suspension>
 <forcelevel>2.3</forcelevel>
 <dampening>0.13</dampening>
 <upperlimit>0.25</upperlimit>
 <lowerlimit>-0.18</lowerlimit>
 <bias>0.5</bias>
 <antidive>0.0</antidive>
 </suspension>
 
 <lights>
 <front>1</front>
 <rear>1</rear>
 </lights>
 </handling>

</vehicle>
so can we add other flags too like
<extraflags>40</extraflags><extraflags>2000</extraflags> // flags of taxi jumpi also tried combining them like this
<extraflags>20040</extraflags>but they donot work only one of em will work like if value 200 is added first before 40 so taxi boost jump will work, if 40 is added before 200 so tank cannon will work , os is there any other possible way to load both flags together

thanks,
regards
#78
Support / custom car weps MVL?
Jun 10, 2018, 08:09 AM
does vcmp supports this
[noae]<?xml version="1.0" encoding="ASCII"?>
<vehicle>
<basic>
<type>car</type>
<name>Super Police</name>
<anims>null</anims>
<comprules>0</comprules>
<extraflags>0101</extraflags>
<wheelmodel>251</wheelmodel>
<wheelscale>0.700000</wheelscale>
<immunity>0</immunity>
</basic>

<aidata>
<class>ignore</class>
<freq>10</freq>
<level>7</level>
</aidata>

<colors>
<carcol>46,1</carcol>
</colors>

<audio>
<enginefarsample>271</enginefarsample>
<enginenearsample>7</enginenearsample>
<hornsample>1</hornsample>
<hornfreq>10706</hornfreq>
<sirensample>27</sirensample>
<sirenfreq>10511</sirenfreq>
<doorsounds>1</doorsounds>
</audio>

<handling>
<mass>1600.000000</mass>
<percentsubmerged>75</percentsubmerged>
<steeringlock>35.000000</steeringlock>
<seatoffset>0.200000</seatoffset>
<damagemultiplier>0.240000</damagemultiplier>
<value>25000</value>
<flags>00009002</flags>

<dimensions>
<x>2.100000</x>
<y>5.000000</y>
<z>1.600000</z>
</dimensions>

<centreofmass>
<x>0.000000</x>
<y>0.000000</y>
<z>0.150000</z>
</centreofmass>

<traction>
<multiplier>1.050000</multiplier>
<loss>0.780000</loss>
<bias>0.520000</bias>
</traction>

<transmission>
<numofgears>5</numofgears>
<maxspeed>200.000000</maxspeed>
<acceleration>28.000000</acceleration>
<drivetype>4</drivetype>
<enginetype>P</enginetype>
</transmission>

<brakes>
<deceleration>11.100000</deceleration>
<bias>0.530000</bias>
<abs>0</abs>
</brakes>

<suspension>
<forcelevel>2.000000</forcelevel>
<dampening>0.120000</dampening>
<upperlimit>0.280000</upperlimit>
<lowerlimit>-0.170000</lowerlimit>
<bias>0.500000</bias>
<antidive>0.000000</antidive>
</suspension>

<lights>
<front>0</front>
<rear>1</rear>
</lights>
</handling>

<weaponlist>
<weapon>
<type>missile</type>
<model>custom1</model>

<hotkeys>
<dockkey>16,53,53</dockkey>
<moveupkey>16,90,90</moveupkey>
<movedownkey>16,88,88</movedownkey>
<restorekey>16,67,67</restorekey>
<shootkey>16,17,17</shootkey>
</hotkeys>

<missileinfo>
<gravity>off</gravity>
<timeout>500</timeout>
</missileinfo>

<fireoffset>
<x>1.0</x>
<y>0.0</y>
<z>0.2</z>
</fireoffset>

<dockedinfo>
<dockspeed>500</dockspeed>

<position>
<x>0.90</x>
<y>-1.20</y>
<z>-0.05</z>
</position>

<rotation>
<x>3.14</x>
<y>0.00</y>
<z>1.57</z>
</rotation>
</dockedinfo>

<armedinfo>
<movespeed>2000</movespeed>
<middlepos>0.5</middlepos>

<minpos>
<x>1.05</x>
<y>-1.20</y>
<z>0.10</z>
</minpos>

<minrot>
<x>1.57</x>
<y>0.00</y>
<z>2.27</z>
</minrot>

<maxpos>
<x>1.05</x>
<y>-1.20</y>
<z>0.10</z>
</maxpos>

<maxrot>
<x>1.57</x>
<y>0.00</y>
<z>0.87</z>
</maxrot>
</armedinfo>
</weapon>

<weapon>
<type>missile</type>
<model>custom1</model>

<hotkeys>
<dockkey>16,53,53</dockkey>
<moveupkey>16,90,90</moveupkey>
<movedownkey>16,88,88</movedownkey>
<restorekey>16,67,67</restorekey>
<shootkey>16,17,17</shootkey>
</hotkeys>

<missileinfo>
<gravity>off</gravity>
<timeout>500</timeout>
</missileinfo>

<fireoffset>
<x>1.0</x>
<y>0.0</y>
<z>0.2</z>
</fireoffset>

<dockedinfo>
<dockspeed>500</dockspeed>

<position>
<x>-0.90</x>
<y>-1.20</y>
<z>-0.05</z>
</position>

<rotation>
<x>3.14</x>
<y>0.0</y>
<z>1.57</z>
</rotation>
</dockedinfo>

<armedinfo>
<movespeed>2000</movespeed>
<middlepos>0.5</middlepos>

<minpos>
<x>-1.05</x>
<y>-1.20</y>
<z>0.10</z>
</minpos>

<minrot>
<x>-1.57</x>
<y>0.00</y>
<z>0.87</z>
</minrot>

<maxpos>
<x>-1.05</x>
<y>-1.20</y>
<z>0.10</z>
</maxpos>

<maxrot>
<x>-1.57</x>
<y>0.00</y>
<z>2.27</z>
</maxrot>
</armedinfo>
</weapon>

<weapon>
<type>machinegun</type>
<model>m4</model>

<hotkeys>
<dockkey>0,0,0</dockkey>
<moveupkey>0,0,0</moveupkey>
<movedownkey>0,0,0</movedownkey>
<restorekey>0,0,0</restorekey>
<shootkey>17,90,90</shootkey>
</hotkeys>

<fireoffset>
<x>0.5</x>
<y>0.0</y>
<z>0.2</z>
</fireoffset>

<armedinfo>
<movespeed>0</movespeed>
<middlepos>0.5</middlepos>

<minpos>
<x>-0.7</x>
<y>1.5</y>
<z>0.05</z>
</minpos>

<minrot>
<x>-1.57</x>
<y>0.0</y>
<z>1.57</z>
</minrot>
</armedinfo>
</weapon>

<weapon>
<type>machinegun</type>
<model>m4</model>

<hotkeys>
<dockkey>0,0,0</dockkey>
<moveupkey>0,0,0</moveupkey>
<movedownkey>0,0,0</movedownkey>
<restorekey>0,0,0</restorekey>
<shootkey>17,90,90</shootkey>
</hotkeys>

<fireoffset>
<x>0.5</x>
<y>0.0</y>
<z>0.2</z>
</fireoffset>

<armedinfo>
<movespeed>0</movespeed>
<middlepos>0.5</middlepos>

<minpos>
<x>0.7</x>
<y>1.5</y>
<z>0.05</z>
</minpos>

<minrot>
<x>1.57</x>
<y>0.0</y>
<z>1.57</z>
</minrot>
</armedinfo>
</weapon>
</weaponlist>

<specials>
<emlights>
<alwayson>false</alwayson>
<colourone>255,0,0</colourone>
<colourtwo>0,0,255</colourtwo>

<posleft>
<x>-0.7</x>
<y>-0.4</y>
<z>1.0</z>
</posleft>

<posright>
<x>0.7</x>
<y>-0.4</y>
<z>1.0</z>
</posright>
</emlights>
</specials>

</vehicle>
[/noae] bcz i founded it here https://www.gtagarage.com/mods/show.php?id=23159
#79
Support / keybind
Jun 09, 2018, 12:58 PM
how can we stop a key binding in a specific world?
#80
Support / Anticheat?
Jun 07, 2018, 09:54 PM
http://forum.vc-mp.org/?topic=5391.msg38446#msg38446

hey evryone how r u guyss i was just roaming around the forum and found this supicious thing

what does this do in server.cfg

anticheat 0 // as in disable vcmp built-in antihacks system or?
anticheat 1 // as in enables vcmp built-in antihacks system or?

hoping for +ve replies..