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

#616
General Discussion / Re: Vc-flags
Jun 10, 2018, 11:38 AM
Quote from: vitogta on Jun 10, 2018, 11:34 AM
Quote from: MEGAMIND on Jun 10, 2018, 11:33 AM
Quote from: vitogta on Jun 10, 2018, 11:31 AM
Quote from: MEGAMIND on Jun 10, 2018, 11:21 AMthats for sure but the way how maxo did it , made alot easier so maxo deserves  it :P
how maxo did it? link?
scroll up and inspect element seehow the code works :P
I mean what that source where maxo did it
i found it in his download links in one of the gta forums
#617
General Discussion / Re: Vc-flags
Jun 10, 2018, 11:33 AM
Quote from: vitogta on Jun 10, 2018, 11:31 AM
Quote from: MEGAMIND on Jun 10, 2018, 11:21 AMthats for sure but the way how maxo did it , made alot easier so maxo deserves  it :P
how maxo did it? link?
scroll up and inspect element seehow the code works :P
#618
General Discussion / Re: Vc-flags
Jun 10, 2018, 11:21 AM
Quote from: rww on Jun 10, 2018, 11:20 AM
QuoteOriginal Author: Maxorator

this is from handling.cfg, so Author is R*, not maxo :D

; (ae) flags!!!  WARNING - Now written HEX for easier reading of flags
; 1st digit = 1: 1G_BOOST         2: 2G_BOOST       4: REV_BONNET    8: HANGING_BOOT
; 2nd digit = 1: NO_DOORS         2: IS_VAN       4: IS_BUS        8: IS_LOW
; 3rd digit = 1: DBL_EXHAUST     2: TAILGATE_BOOT  4: NOSWING_BOOT  8: NONPLAYER_STABILISER 
; 4th digit = 1: NEUTRALHANDLING  2: HAS_NO_ROOF    4: IS_BIG        8: HALOGEN_LIGHTS
; 5th digit = 1: IS_BIKE 2: IS_HELI        4: IS_PLANE      8: IS_BOAT
; 6th digit = 1: NO_EXHAUST 2: REARWHEEL_1ST  4: HANDBRAKE_TYRE8: SIT_IN_BOAT
; 7th digit = 1: FAT_REARW 2: NARROW_FRONTW  4: GOOD_INSAND
thats for sure but the way how maxo did it , made alot easier so maxo deserves  it :P
#619
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
#620
Support / Re: Multiple Flags
Jun 10, 2018, 10:05 AM
Quote from: vitogta on Jun 10, 2018, 09:59 AM200|40 == 232
nope that flag wasnt working
#621
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
#622
Support / Re: custom car weps?
Jun 10, 2018, 09:40 AM
*bump*

any body? with knowledge like Dooms have tried this stuff before?
#623
Support / Re: custom car weps MVL?
Jun 10, 2018, 09:29 AM
hmmm thats sad o well thanks
#624
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
#625
Servers / Re: [0.4]Top Down City Server
Jun 09, 2018, 06:47 PM
Added 3 Game modes
1. Hunter Madness
2. Dogem Cars
3. Street Racing ( 3 maps )

Note: Boost has been disabled on all race worlds, in order to play fair :)
Credits: Athanatos
#626
Support / Re: keybind
Jun 09, 2018, 01:32 PM
function onKeyDown(player,key)
{
if(player.World == 13){
I <- BindKey(true, 0x49, 0, 0);
}
}
this way..?

so true will execute in world 13 if false so it wont execute right?

so i have about 13 worlds so shall i do this to every world except world 1?
will it work?

i treid but in world one then bindkey i doesnot work
if(player.World == 13){
I <- BindKey(false, 0x49, 0, 0);
}
if(player.World == 12){
I <- BindKey(false, 0x49, 0, 0);
}
if(player.World == 11){
I <- BindKey(false, 0x49, 0, 0);
}
if(player.World == 10){
I <- BindKey(false, 0x49, 0, 0);
}
if(player.World == 9){
I <- BindKey(false, 0x49, 0, 0);
}
if(player.World == 8){
I <- BindKey(false, 0x49, 0, 0);
}
if(player.World == 7){
I <- BindKey(false, 0x49, 0, 0);
}
if(player.World == 6){
I <- BindKey(false, 0x49, 0, 0);
}
if(player.World == 5){
I <- BindKey(false, 0x49, 0, 0);
}
if(player.World == 4){
I <- BindKey(false, 0x49, 0, 0);
}
if(player.World == 3){
I <- BindKey(false, 0x49, 0, 0);
}
if(player.World == 2){
I <- BindKey(false, 0x49, 0, 0);
}
if(player.World == 1){
I <- BindKey(true, 0x49, 0, 0);
}
#627
Support / keybind
Jun 09, 2018, 12:58 PM
how can we stop a key binding in a specific world?
#628
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..
#629
yes i have senddatatoclient function
#630
like this ?
function onClientScriptData(player) {
    local type = Stream.ReadString();
if(type == "YES_fireman")
{
player.Skin = 6;
}
if(type == "NO_fireman")
{
Stream.StartWrite();
Stream.WriteString(type);
Stream.SendStream(player);
}
if(type == "YES_fireman")
{
Stream.StartWrite();
Stream.WriteString(type);
Stream.SendStream(player);
}
}

and i want to have this as a command

else if ( cmd == "fireman" )
  {
 SendDataToClient( player.ID, 1, "fireman" );
 } // idk if this is they way to do it to send it to cleint or what