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 - Luis_Labarca

#1
Map Showroom / mod favelas v0.1
Oct 15, 2023, 07:08 PM
Hello, here I want to share a small modification of map Akinahill to Brazilian style favelas v0.1

Credits to the creators

(BEWARE I am not the creator of the objects but I did modify and convert them)

this mod modified by my Luis_Labarca
The base mod was akina, credits to its creators.
mod taken from the vcmp forum - (https://forum.vc-mp.org/index.php?topic=6956.msg48971#msg48971)
I was in charge of modifying some things (houses, objects, textures, etc.)

Models extracted from the mod
- Favelas Pack V1.8 Rebuild By NATAN Gameron
- extracted models barracos.dff , barracos.txd, barracos.col,barracos2.dff , barracos2.txd, barracos2.col


Monument taken from the mod
- Favela City of God
Authors: KOHDYKTOP, JooJ, Razor


screeshots
//-------------
 



//---------------


Link mod :

To install them, drag everything to your store folder (be careful if you have objects installed you must change the id so that there are no conflicts with your previous objects)
#2

Good friends, I bring you the improved RP server again


The server has two languages ​​Spanish and English
I accept suggestions to improve the server

-You can enter the server with any name


Name : ..:[RPG]:Vice-City::..::Real-Life:[RPG]::.
IP : 51.222.28.159:8194
Game Mode : RPG Free
Manger : Luis_Labarca
Slot : 0/100
v0.1


Server Details



- Vehicle system
*You can buy your vehicle (Boats, Motorcycles, Helicopters, Cars)
*You can pay a renter

- Vehicle damage system
*If the motor is damaged you must request a mechanic or go to sunchine
*If you do not add oil to the engine you can damage it, it is bought in stores

- Gasoline system
*The vehicle may run out of gasoline
*You can go to the nearest gas station
*If you didn't have time to get to the gas station, you can buy a jerry can (in stores)

- bank system
* You want a bank account you can ask for your credit card at the bank
*You can save your money in your bank account
*You can make transfers to other accounts
*There are ATMs throughout the city.

- Parking system
* For your vehicle to be safe you must park it in a legal parking lot
*This way you avoid fines or damage to the vehicle, parking has its fee

- Job system
*There are different jobs in the city such as
* Trucker - Responsible for transporting merchandise
* Fisherman - In charge of looking for fish and selling them
*Basurero - Responsible for collecting garbage throughout the city
* Taxi - In charge of transporting person
*Gas Trucker -In charge of looking for gasoline for gas stations
*Pizzero - In charge of delivering pizzas throughout the city

- Faction system
*There are different factions like
*Police
*Fireman
*Military man
*Gangster

- Inventory system
* to open the inventory you must press the Y Key
*The inventory allows you to see a series of ITMS that you can use as
* drugs, drum can, food, c4, money ETC

- ITMS system lying on the ground
* to be able to take the one from the ground you must stop above it and press ( N )
*to throw it to the ground you must open the inventory
*you can throw weapons

- Properties system
*You can buy, sell your property
* You can decorate your custom interiors
*You can save your ITMS
* You can close the doors of your property
*Shop system
*You can buy food

- Garbage container system
*You can loot containers by pressing ( N )
*You can find ITMS as weapons Etc..

- Hospital System
* when fainting you can wait for a doctor or be transported to the hospital

-Black market system
* you can buy drugs, weapons, clothes etc..
#3
General Discussion / vehicle question xml
Nov 16, 2022, 03:51 AM
I added a custom vehicle to my server so far so good.

The vehicle that I added is a lantern. but sometimes it spawns without the tank? (on chassis) is there a way to get the tank out whenever I want with setparts?



I have opened the vehicle with Zmodeler and the object says Extras1

should I stick it to the chassis_hi?
or can someone give me the id of extras1 in setpart(id,id)?
#4
 hosting Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-47-generic x86_64)


how to solve this error and check the name of the plugins and they are the same as in the .cfg configuration?


Console


Vice City Multiplayer Server
 -------------------------------
 v0.4, (c) 2007-2014 VC:MP Team

Loaded plugin: squirrel04rel64

Loaded plugin: xmlconf04rel64

Loaded plugin: announce04rel64

Loaded plugin: sockets04rel64

Loaded plugin: hashing04rel64

Loaded plugin: sqlite04rel64

.so: cannot open shared object file: No such file or directory
Failed to load plugin: mysql04rel64

[WEAPONS] No custom weapons to load.
[VEHICLEMODELS] No custom vehicle models to load.
** Started VC:MP 0.4 Server **
 Port: 8194
 Max players: 100


[MODULE] Loaded SqVCMP 0.4 frontend by Stormeus. (v1.0)
'WARNING] Could not load script 'scripts/main.nut
[WARNING] cannot open the file
[ERROR] No Squirrel gamemode was specified.
[MODULE] Loaded server.conf Loader for 0.4 by Stormeus
[MODULE]    >> Loaded server.conf for parsing
[MODULE]    >> Applied settings
[WARNING] Please define a colour for your class. (See docs)
[MODULE]    >> Loaded classes
[WARNING] Please define a world for your vehicle. (See docs)
[MODULE]    >> Loaded vehicles
[MODULE]    >> Loaded pickups
[MODULE] Loaded server.conf successfully
announcer: Ready to announce to masterlist(s)

[MODULE] Loaded sq_sockets for VC:MP by the LU Dev Team (ported by Stormeus).

[MODULE] Loaded SQLite3 for VC:MP by Stormeus.



I tried giving permission 0777 to them and nothing does not work
if i remove plugin: squirrel04rel64 from .cfg
it says that the announce04rel64 plugin has the same error


what is the problem


winSCP images
1

2

https://ibb.co/5Lzf4Qt
3

https://ibb.co/tBMtBHq
4

https://ibb.co/8850Wvh
5

https://ibb.co/gRyWKb0




#5
General Discussion / weapon sound doubt
Jun 05, 2020, 08:20 AM
 :D
good night friend I need the id of the sound of the weapon when it is empty I know that there is a list of the sounds of the original game but I can't find it I don't know how to look for them :'(



friend and another question because the damage value you do not want to eliminate continues to cause damage?

function onScriptLoad()
{
 SetWeaponDataValue( 14, 6, 0 )
}
#6
Support / Linux plugin error
Apr 27, 2020, 03:02 AM

Vice City Multiplayer Server
 -------------------------------
 v0.4, (c) 2007-2014 VC:MP Team

Loaded plugin: sqlite04rel64

Loaded plugin: squirrel04rel64

Loaded plugin: announce04rel64

Plugin error >> dlopen() 'plugins/ini04rel64
.so' failed: plugins/ini04rel64
.so: cannot open shared object file: No such file or directory
Failed to load plugin: ini04rel64


[VEHICLEMODELS] No custom vehicle models to load.
** Started VC:MP 0.4 Server **
 Port: 9998
 Max players: 100


[MODULE] Loaded SQLite3 for VC:MP by Stormeus.

[MODULE] Loaded SqVCMP 0.4 frontend by Stormeus. (v1.0)
[SCRIPT] ----------------------
[SCRIPT] Servidor estilo CS 1.6
[SCRIPT] Creado por: Luis_Labarca
[SCRIPT] Version : V0.1
[SCRIPT] Actualizacion : 22/4/2020
[SCRIPT] ----------------------
[SCRIPT] == Mapa : DE_SURVIVOR Cargado ==
Player 'Luis_Labarca' ID 0 connected.

#7
Servers / Server style cs 1.6
Apr 27, 2020, 12:07 AM
good evening bring you my server counter.striker style version o.1
activated for the first time thanks to the community

Host Free

Server Name :  .::[Counter - Striker 1.6]::.
Server IP : 49.12.15.63:9998
Game Mode : Style CS 1.6
Creator : Luis_Labarca

I will try to improve it every day more

Info Server

* Rounds system
* CS style chat system
* CS-style kill system
* Planting and deactivating pump system
* Hostage Rescue System

Videos

[spoiler]https://youtu.be/n_pga5fD-40

https://youtu.be/MxvSUVaypao

https://youtu.be/8mJxbAXZ07I

https://youtu.be/TGSz2cB46c8
[/spoiler]



#8
Client Scripting / Mod Hud Weapon Wheel
Apr 14, 2020, 09:30 PM
Good, here I bring you this little mod for vcmp

=== MOD HUD WEAPON WHEEL V0.1 ===

! Credits¡
Creator Luis_Labarca
Icons version 0.1 (Gtaall.com).

== Version 0.2 ==
Text how much ammunition.- Ready
open the wheel of weapons with the mause - Ready
new icons

Version 0.2
[spoiler]

[/spoiler]

Link Mod v0.2



Version 0.1
[spoiler]To open the menu press the  key ( E )



Add server/Script
[noae][noae][noae][noae][noae][noae][noae][noae][noae][noae][noae]function onScriptLoad()
{
KeyOpenWheelWeapons<- BindKey(true,0x45,0,0);
HUD <- array( GetMaxPlayers(), false );
HUDSLOT1 <- array( GetMaxPlayers(), "" );
HUDSLOT2 <- array( GetMaxPlayers(), "" );
HUDSLOT3 <- array( GetMaxPlayers(), "" );
HUDSLOT4 <- array( GetMaxPlayers(), "" );
HUDSLOT5 <- array( GetMaxPlayers(), "" );
HUDSLOT6 <- array( GetMaxPlayers(), "" );
HUDSLOT7 <- array( GetMaxPlayers(), "" );
HUDSLOT8 <- array( GetMaxPlayers(), "" );
}
function onPlayerSpawn( player )
{
player.SetWeapon(5,100)
player.SetWeapon(17,500)
player.SetWeapon(15,500)
player.SetWeapon(19,500)
player.SetWeapon(22,500)
player.SetWeapon(26,500)
player.SetWeapon(29,500)
player.SetWeapon(30,500)
}
function onKeyDown( player, key )
{
if ( key == KeyOpenWheelWeapons  && HUD[ player.ID ] == false)
{
HUD[ player.ID ] = true;
local Wep="";
for(local slot = 0; slot != 12; slot++)
{
local w_id = player.GetWeaponAtSlot(slot),w_ammo=player.GetAmmoAtSlot(slot),w_name=GetWeaponName(w_id);
if(w_id !=  0 && w_ammo != 0)
{
Wep +=" "+w_id+" "+w_ammo;
}
}
HUDSLOT1[player.ID] = GetTok( Wep, " ", 1 )+" "+GetTok( Wep, " ", 2 );
HUDSLOT2[player.ID] = GetTok( Wep, " ", 3 )+" "+GetTok( Wep, " ", 4 );
HUDSLOT3[player.ID] = GetTok( Wep, " ", 5 )+" "+GetTok( Wep, " ", 6 );
HUDSLOT4[player.ID] = GetTok( Wep, " ", 7 )+" "+GetTok( Wep, " ", 8 );
HUDSLOT5[player.ID] = GetTok( Wep, " ", 9 )+" "+GetTok( Wep, " ", 10 );
HUDSLOT6[player.ID] = GetTok( Wep, " ", 11 )+" "+GetTok( Wep, " ", 12 );
HUDSLOT7[player.ID] = GetTok( Wep, " ", 13 )+" "+GetTok( Wep, " ", 14 );
HUDSLOT8[player.ID] = GetTok( Wep, " ", 15 )+" "+GetTok( Wep, " ", 16 );
Stream.StartWrite()
Stream.WriteString("OpenMenuWheel"+Wep)
Stream.SendStream(player)
}
}
function onClientScriptData(player)
{
local ReadString = Stream.ReadString();
local ReadInt = Stream.ReadInt();
if(ReadString == "HudOff")
{
Stream.StartWrite()
Stream.WriteString("CloseMenuWheel")
Stream.SendStream(player)
HUD[ player.ID ] = false;
}
if(ReadString == "SelectSlot1")
{
Stream.StartWrite()
Stream.WriteString("CloseMenuWheel")
Stream.SendStream(player)
HUD[ player.ID ] = false;
player.SetWeapon(GetTok( HUDSLOT1[player.ID], " ", 1 ).tointeger(),GetTok( HUDSLOT1[player.ID], " ", 2 ).tointeger())
}
if(ReadString == "SelectSlot2")
{
Stream.StartWrite()
Stream.WriteString("CloseMenuWheel")
Stream.SendStream(player)
HUD[ player.ID ] = false;
player.SetWeapon(GetTok( HUDSLOT2[player.ID], " ", 1 ).tointeger(),GetTok( HUDSLOT2[player.ID], " ", 2 ).tointeger())
}
if(ReadString == "SelectSlot3")
{
Stream.StartWrite()
Stream.WriteString("CloseMenuWheel")
Stream.SendStream(player)
HUD[ player.ID ] = false;
player.SetWeapon(GetTok( HUDSLOT3[player.ID], " ", 1 ).tointeger(),GetTok( HUDSLOT3[player.ID], " ", 2 ).tointeger())
}
if(ReadString == "SelectSlot4")
{
Stream.StartWrite()
Stream.WriteString("CloseMenuWheel")
Stream.SendStream(player)
HUD[ player.ID ] = false;
player.SetWeapon(GetTok( HUDSLOT4[player.ID], " ", 1 ).tointeger(),GetTok( HUDSLOT4[player.ID], " ", 2 ).tointeger())
}
if(ReadString == "SelectSlot5")
{
Stream.StartWrite()
Stream.WriteString("CloseMenuWheel")
Stream.SendStream(player)
HUD[ player.ID ] = false;
player.SetWeapon(GetTok( HUDSLOT5[player.ID], " ", 1 ).tointeger(),GetTok( HUDSLOT5[player.ID], " ", 2 ).tointeger())
}
if(ReadString == "SelectSlot6")
{
Stream.StartWrite()
Stream.WriteString("CloseMenuWheel")
Stream.SendStream(player)
HUD[ player.ID ] = false;
player.SetWeapon(GetTok( HUDSLOT6[player.ID], " ", 1 ).tointeger(),GetTok( HUDSLOT6[player.ID], " ", 2 ).tointeger())
}
if(ReadString == "SelectSlot7")
{
Stream.StartWrite()
Stream.WriteString("CloseMenuWheel")
Stream.SendStream(player)
HUD[ player.ID ] = false;
player.SetWeapon(GetTok( HUDSLOT7[player.ID], " ", 1 ).tointeger(),GetTok( HUDSLOT7[player.ID], " ", 2 ).tointeger())
}
if(ReadString == "SelectSlot8")
{
Stream.StartWrite()
Stream.WriteString("CloseMenuWheel")
Stream.SendStream(player)
HUD[ player.ID ] = false;
player.SetWeapon(GetTok( HUDSLOT8[player.ID], " ", 1 ).tointeger(),GetTok( HUDSLOT8[player.ID], " ", 2 ).tointeger())
}
}



function GetTok(string, separator, n, ...)
{
local m = vargv.len() > 0 ? vargv[0] : n,
tokenized = split(string, separator),
text = "";
if (n > tokenized.len() || n < 1) return null;
for (; n <= m; n++)
{
text += text == "" ? tokenized[n-1] : separator + tokenized[n-1];
}
return text;
}
[/noae][/noae][/noae][/noae][/noae][/noae][/noae][/noae][/noae][/noae][/noae]

Add from Client -Side

[noae][noae][noae][noae][noae][noae][noae][noae][noae][noae][noae]//Add from Client - Side

ScreenX <- GUI.GetScreenSize().X;
ScreenY <- GUI.GetScreenSize().Y;
ScreenSize <- ScreenY / 40;


///=== VARIABLES
WheelWeapons <- {
 ButtonActivated1 = false,
 ButtonActivated2 = false,
 ButtonActivated3 = false,
 ButtonActivated4 = false,
 ButtonActivated5 = false,
 ButtonActivated6 = false,
 ButtonActivated7 = false,
 ButtonActivated8 = false,
 ButtonActivated9 = false,
 ButtonActivated10 = false,
//-----
 Circle = null,
 Wep1 = null,
 Wep2 = null,
 Wep3 = null,
 Wep4 = null,
 Wep5 = null,
 Wep6 = null,
 Wep7 = null,
 Wep8 = null,
//-----
 Button1 = null,
 Button2 = null,
 Button3 = null,
 Button4 = null,
 Button5 = null,
 Button6 = null,
 Button7 = null,
 Button8 = null,
//-----
 Text1 = null,
 Text2 = null,
 Text3 = null,
 Text4 = null,
 Text5 = null,
 Text6 = null,
 Text7 = null,
 Text8 = null,
//-----
 OptionButton1 = null,
 OptionButton2 = null,
 OptionButton3 = null,
 OptionButton4 = null,
 OptionButton5 = null,
 OptionButton6 = null,
 OptionButton7 = null,
 OptionButton8 = null,
 HudOff = null
 }
///===================================




function Script::ScriptProcess()
{
::ScreenX = GUI.GetScreenSize().X;
::ScreenY = GUI.GetScreenSize().Y;
if( ::WheelWeapons.Circle )
{
::WheelWeapons.Circle.Position = ::VectorScreen(( ScreenX * 0.30 ) - ( ScreenY / ScreenSize), ScreenY * 0.20)
}
}

function GUI::ElementClick(element, mouseX, mouseY)
{
if(element==::WheelWeapons.Wep1)
{
local Datos = Stream();
Datos.WriteString("SelectSlot1");
Server.SendData(Datos);
}
if(element==::WheelWeapons.Wep2)
{
local Datos = Stream();
Datos.WriteString("SelectSlot2");
Server.SendData(Datos);
}
if(element==::WheelWeapons.Wep3)
{
local Datos = Stream();
Datos.WriteString("SelectSlot3");
Server.SendData(Datos);
}
if(element==::WheelWeapons.Wep4)
{
local Datos = Stream();
Datos.WriteString("SelectSlot4");
Server.SendData(Datos);
}
if(element==::WheelWeapons.Wep5)
{
local Datos = Stream();
Datos.WriteString("SelectSlot5");
Server.SendData(Datos);
}
if(element==::WheelWeapons.Wep6)
{
local Datos = Stream();
Datos.WriteString("SelectSlot6");
Server.SendData(Datos);
}
if(element==::WheelWeapons.Wep7)
{
local Datos = Stream();
Datos.WriteString("SelectSlot7");
Server.SendData(Datos);
}
if(element==::WheelWeapons.Wep8)
{
local Datos = Stream();
Datos.WriteString("SelectSlot8");
Server.SendData(Datos);
}
if(element==::WheelWeapons.HudOff)
{
local Datos = Stream();
Datos.WriteString("HudOff");
Server.SendData(Datos);
}
}

function Server::ServerData(stream)
{
local ReadString = stream.ReadString(),ReadInt = stream.ReadInt(),ReadFloat=stream.ReadFloat();

if(GetTok( ReadString, " ", 1 ) == "OpenMenuWheel")
{
local Slot1 = null,Ammo1 = 0,Slot2 = null,Ammo2 = 0,Slot3 = null,Ammo3 = 0,Slot4 = null,Ammo4 = 0,Slot5 = null,Ammo5 = 0,Slot6 = null,Ammo6 = 0,Slot7 = null,Ammo7 = 0,Slot8 = null,Ammo8 = 0;
  Slot1=GetTok( ReadString, " ", 2 );
  Ammo1=GetTok( ReadString, " ", 3 );
  Slot2=GetTok( ReadString, " ", 4 );
  Ammo2=GetTok( ReadString, " ", 5 );
  Slot3=GetTok( ReadString, " ", 6 );
  Ammo3=GetTok( ReadString, " ", 7 );
  Slot4=GetTok( ReadString, " ", 8 );
  Ammo4=GetTok( ReadString, " ", 9 );
  Slot5=GetTok( ReadString, " ", 10 );
  Ammo5=GetTok( ReadString, " ", 11 );
  Slot6=GetTok( ReadString, " ", 12 );
  Ammo6=GetTok( ReadString, " ", 13 );
  Slot7=GetTok( ReadString, " ", 14 );
  Ammo7=GetTok( ReadString, " ", 15 );
  Slot8=GetTok( ReadString, " ", 16 );
  Ammo8=GetTok( ReadString, " ", 17 );
 ::GUI.SetMouseEnabled(true);
 ::WheelWeapons.Circle <- GUISprite("Wheel.png", VectorScreen(0, 0));
 ::WheelWeapons.Circle.Size = VectorScreen(400, 300);
 ::WheelWeapons.Circle.AddFlags(GUI_FLAG_MOUSECTRL);
 ::WheelWeapons.Circle.Alpha=150;
 ::WheelWeapons.HudOff <- GUIButton(VectorScreen(120,270), VectorScreen(140, 22), Colour(20, 20, 20), "Cerrar", GUI_FLAG_BORDER | GUI_FLAG_VISIBLE);
 ::WheelWeapons.HudOff.TextColour = Colour(255, 255, 255);
 ::WheelWeapons.HudOff.FontName = Colour(75,75,75);
 ::WheelWeapons.HudOff.FontSize = 11;
 ::WheelWeapons.HudOff.Alpha = 150;
 ::WheelWeapons.Circle.AddChild(WheelWeapons.HudOff);
if(Slot1 != null)
{
 ::WheelWeapons.Wep1 <- GUISprite("Wep"+Slot1+".png", VectorScreen(110, 55));
 ::WheelWeapons.Wep1.Size = VectorScreen(80, 38);
 ::WheelWeapons.Wep1.AddFlags(GUI_FLAG_MOUSECTRL);
 ::WheelWeapons.Wep1.Alpha=150;
 ::WheelWeapons.OptionButton1 = Slot1;
 ::WheelWeapons.Circle.AddChild(WheelWeapons.Wep1);
}
if(Slot2 != null)
{
 ::WheelWeapons.Wep2 <- GUISprite("Wep"+Slot2+".png", VectorScreen(180, 55));
 ::WheelWeapons.Wep2.Size = VectorScreen(80, 38);
 ::WheelWeapons.Wep2.AddFlags(GUI_FLAG_MOUSECTRL);
 ::WheelWeapons.Wep2.Alpha=150;
 ::WheelWeapons.OptionButton2 = Slot2;
 ::WheelWeapons.Circle.AddChild(WheelWeapons.Wep2);
}
if(Slot3 != null)
{
 ::WheelWeapons.Wep3 <- GUISprite("Wep"+Slot3+".png", VectorScreen(250, 110));
 ::WheelWeapons.Wep3.Size = VectorScreen(80, 38);
 ::WheelWeapons.Wep3.AddFlags(GUI_FLAG_MOUSECTRL);
 ::WheelWeapons.Wep3.Alpha=150;
 ::WheelWeapons.OptionButton3 = Slot3;
 ::WheelWeapons.Circle.AddChild(WheelWeapons.Wep3);
}
if(Slot4 != null)
{
 ::WheelWeapons.Wep4 <- GUISprite("Wep"+Slot4+".png", VectorScreen(250, 170));
 ::WheelWeapons.Wep4.Size = VectorScreen(80, 38);
 ::WheelWeapons.Wep4.AddFlags(GUI_FLAG_MOUSECTRL);
 ::WheelWeapons.Wep4.Alpha=150;
 ::WheelWeapons.OptionButton4 = Slot4;
 ::WheelWeapons.Circle.AddChild(WheelWeapons.Wep4);
}
if(Slot5 != null)
{
 ::WheelWeapons.Wep5 <- GUISprite("Wep"+Slot5+".png", VectorScreen(190, 215));
 ::WheelWeapons.Wep5.Size = VectorScreen(80, 38);
 ::WheelWeapons.Wep5.AddFlags(GUI_FLAG_MOUSECTRL);
 ::WheelWeapons.Wep5.Alpha=150;
 ::WheelWeapons.OptionButton5 = Slot5;
 ::WheelWeapons.Circle.AddChild(WheelWeapons.Wep5);
}
if(Slot6 != null)
{
 ::WheelWeapons.Wep6 <- GUISprite("Wep"+Slot6+".png", VectorScreen(110, 215));
 ::WheelWeapons.Wep6.Size = VectorScreen(80, 38);
 ::WheelWeapons.Wep6.AddFlags(GUI_FLAG_MOUSECTRL);
 ::WheelWeapons.Wep6.Alpha=150;
 ::WheelWeapons.OptionButton6 = Slot6;
 ::WheelWeapons.Circle.AddChild(WheelWeapons.Wep6);
}
if(Slot7 != null)
{
 ::WheelWeapons.Wep7 <- GUISprite("Wep"+Slot7+".png", VectorScreen(55, 170));
 ::WheelWeapons.Wep7.Size = VectorScreen(80, 38);
 ::WheelWeapons.Wep7.AddFlags(GUI_FLAG_MOUSECTRL);
 ::WheelWeapons.Wep7.Alpha=150;
 ::WheelWeapons.OptionButton7 = Slot7;
 ::WheelWeapons.Circle.AddChild(WheelWeapons.Wep7);
}
if(Slot8 != null)
{
 ::WheelWeapons.Wep8 <- GUISprite("Wep"+Slot8+".png", VectorScreen(55, 110));
 ::WheelWeapons.Wep8.Size = VectorScreen(80, 38);
 ::WheelWeapons.Wep8.AddFlags(GUI_FLAG_MOUSECTRL);
 ::WheelWeapons.Wep8.Alpha=150;
 ::WheelWeapons.OptionButton8 = Slot8;
 ::WheelWeapons.Circle.AddChild(WheelWeapons.Wep8);
}
}
if(ReadString=="CloseMenuWheel")
{
 ::GUI.SetMouseEnabled(false);
 ::WheelWeapons.ButtonActivated1 = false;
 ::WheelWeapons.ButtonActivated2 = false;
 ::WheelWeapons.ButtonActivated3 = false;
 ::WheelWeapons.ButtonActivated4 = false;
 ::WheelWeapons.ButtonActivated5 = false;
 ::WheelWeapons.ButtonActivated6 = false;
 ::WheelWeapons.ButtonActivated7 = false;
 ::WheelWeapons.ButtonActivated8 = false;
 ::WheelWeapons.ButtonActivated9 = false;
 ::WheelWeapons.ButtonActivated10 = false;
//-----
 ::WheelWeapons.Circle = null;
 ::WheelWeapons.Wep1 = null;
 ::WheelWeapons.Wep2 = null;
 ::WheelWeapons.Wep3 = null;
 ::WheelWeapons.Wep4 = null;
 ::WheelWeapons.Wep5 = null;
 ::WheelWeapons.Wep6 = null;
 ::WheelWeapons.Wep7 = null;
 ::WheelWeapons.Wep8 = null;
//-----
 ::WheelWeapons.Button1 = null;
 ::WheelWeapons.Button2 = null;
 ::WheelWeapons.Button3 = null;
 ::WheelWeapons.Button4 = null;
 ::WheelWeapons.Button5 = null;
 ::WheelWeapons.Button6 = null;
 ::WheelWeapons.Button7 = null;
 ::WheelWeapons.Button8 = null;
//-----
 ::WheelWeapons.Text1 = null;
 ::WheelWeapons.Text2 = null;
 ::WheelWeapons.Text3 = null;
 ::WheelWeapons.Text4 = null;
 ::WheelWeapons.Text5 = null;
 ::WheelWeapons.Text6 = null;
 ::WheelWeapons.Text7 = null;
 ::WheelWeapons.Text8 = null;
//-----
 ::WheelWeapons.OptionButton1 = null;
 ::WheelWeapons.OptionButton2 = null;
 ::WheelWeapons.OptionButton3 = null;
 ::WheelWeapons.OptionButton4 = null;
 ::WheelWeapons.OptionButton5 = null;
 ::WheelWeapons.OptionButton6 = null;
 ::WheelWeapons.OptionButton7 = null;
 ::WheelWeapons.OptionButton8 = null;
 ::WheelWeapons.HudOff = null;
}
}

function GUI::ElementHoverOver(element)
{
if(element == WheelWeapons.Wep1  &&  WheelWeapons.OptionButton1 != null )
{
 ::WheelWeapons.Button1 <- GUISprite("Button1.png", VectorScreen(0, 0));
 ::WheelWeapons.Button1.Size = VectorScreen(400, 300);
 ::WheelWeapons.Button1.AddFlags(GUI_FLAG_BACKGROUND);
 ::WheelWeapons.Button1.Alpha=150;
 ::WheelWeapons.ButtonActivated1 = true
  if(::WheelWeapons.Circle != null)::WheelWeapons.Circle.AddChild(WheelWeapons.Button1);
}
if(element == WheelWeapons.Wep2  &&  WheelWeapons.OptionButton2 != null)
{
 ::WheelWeapons.Button2 <- GUISprite("Button2.png", VectorScreen(0, 0));
 ::WheelWeapons.Button2.Size = VectorScreen(400, 300);
 ::WheelWeapons.Button2.AddFlags(GUI_FLAG_BACKGROUND);
 ::WheelWeapons.Button2.Alpha=150;
 ::WheelWeapons.ButtonActivated2 = true
 if(::WheelWeapons.Circle != null)::WheelWeapons.Circle.AddChild(WheelWeapons.Button2);
}
if(element == WheelWeapons.Wep3  &&  WheelWeapons.OptionButton3 != null)
{
 ::WheelWeapons.Button3 <- GUISprite("Button3.png", VectorScreen(0, 0));
 ::WheelWeapons.Button3.Size = VectorScreen(400, 300);
 ::WheelWeapons.Button3.AddFlags(GUI_FLAG_BACKGROUND);
 ::WheelWeapons.Button3.Alpha=150;
 ::WheelWeapons.ButtonActivated3 = true
 if(::WheelWeapons.Circle != null)::WheelWeapons.Circle.AddChild(WheelWeapons.Button3);
}
if(element == WheelWeapons.Wep4  &&  WheelWeapons.OptionButton4 != null)
{
 ::WheelWeapons.Button4 <- GUISprite("Button4.png", VectorScreen(0, 0));
 ::WheelWeapons.Button4.Size = VectorScreen(400, 300);
 ::WheelWeapons.Button4.AddFlags(GUI_FLAG_BACKGROUND);
 ::WheelWeapons.Button4.Alpha=150;
 ::WheelWeapons.ButtonActivated4 = true
 if(::WheelWeapons.Circle != null)::WheelWeapons.Circle.AddChild(WheelWeapons.Button4);
}
if(element == WheelWeapons.Wep5  &&  WheelWeapons.OptionButton5 != null)
{
 ::WheelWeapons.Button5 <- GUISprite("Button5.png", VectorScreen(0, 0));
 ::WheelWeapons.Button5.Size = VectorScreen(400, 300);
 ::WheelWeapons.Button5.AddFlags(GUI_FLAG_BACKGROUND);
 ::WheelWeapons.Button5.Alpha=150;
 ::WheelWeapons.ButtonActivated5 = true
 if(::WheelWeapons.Circle != null)::WheelWeapons.Circle.AddChild(WheelWeapons.Button5);
}
if(element == WheelWeapons.Wep6  &&  WheelWeapons.OptionButton6 != null)
{
 ::WheelWeapons.Button6 <- GUISprite("Button6.png", VectorScreen(0, 0));
 ::WheelWeapons.Button6.Size = VectorScreen(400, 300);
 ::WheelWeapons.Button6.AddFlags(GUI_FLAG_BACKGROUND);
 ::WheelWeapons.Button6.Alpha=150;
 ::WheelWeapons.ButtonActivated6 = true
 if(::WheelWeapons.Circle != null)::WheelWeapons.Circle.AddChild(WheelWeapons.Button6);
}
if(element == WheelWeapons.Wep7  &&  WheelWeapons.OptionButton7 != null)
{
 ::WheelWeapons.Button7 <- GUISprite("Button7.png", VectorScreen(0, 0));
 ::WheelWeapons.Button7.Size = VectorScreen(400, 300);
 ::WheelWeapons.Button7.AddFlags(GUI_FLAG_BACKGROUND);
 ::WheelWeapons.Button7.Alpha=150;
 ::WheelWeapons.ButtonActivated7 = true
 if(::WheelWeapons.Circle != null)::WheelWeapons.Circle.AddChild(WheelWeapons.Button7);
}
if(element == WheelWeapons.Wep8  &&  WheelWeapons.OptionButton8 != null)
{
 ::WheelWeapons.Button8 <- GUISprite("Button8.png", VectorScreen(0, 0));
 ::WheelWeapons.Button8.Size = VectorScreen(400, 300);
 ::WheelWeapons.Button8.AddFlags(GUI_FLAG_BACKGROUND);
 ::WheelWeapons.Button8.Alpha=150;
 ::WheelWeapons.ButtonActivated8 = true
 if(::WheelWeapons.Circle != null)::WheelWeapons.Circle.AddChild(WheelWeapons.Button8);
}
}
function GUI::ElementHoverOut(element)
{
if(element == WheelWeapons.Wep1  &&  WheelWeapons.ButtonActivated1 == true )
{
::WheelWeapons.ButtonActivated1 = false
::WheelWeapons.Button1 <- null;
}
if(element == WheelWeapons.Wep2  && WheelWeapons.ButtonActivated2 == true )
{
::WheelWeapons.ButtonActivated2 = false
::WheelWeapons.Button2 <- null;
}
if(element == WheelWeapons.Wep3  && WheelWeapons.ButtonActivated3 == true )
{
::WheelWeapons.ButtonActivated3 = false
::WheelWeapons.Button3 <- null;
}
if(element == WheelWeapons.Wep4  && WheelWeapons.ButtonActivated4 == true )
{
::WheelWeapons.ButtonActivated4 = false
::WheelWeapons.Button4 <- null;
}
if(element == WheelWeapons.Wep5  && WheelWeapons.ButtonActivated5 == true )
{
::WheelWeapons.ButtonActivated5 = false
::WheelWeapons.Button5 <- null;
}
if(element == WheelWeapons.Wep6  && WheelWeapons.ButtonActivated6 == true )
{
::WheelWeapons.ButtonActivated6 = false
::WheelWeapons.Button6 <- null;
}
if(element == WheelWeapons.Wep7  && WheelWeapons.ButtonActivated7 == true )
{
::WheelWeapons.ButtonActivated7 = false
::WheelWeapons.Button7 <- null;
}
if(element == WheelWeapons.Wep8  && WheelWeapons.ButtonActivated8 == true )
{
::WheelWeapons.ButtonActivated8 = false
::WheelWeapons.Button8 <- null;
}
}


function GetTok(string, separator, n, ...)
{
local m = vargv.len() > 0 ? vargv[0] : n,
tokenized = split(string, separator),
text = "";
if (n > tokenized.len() || n < 1) return null;
for (; n <= m; n++)
{
text += text == "" ? tokenized[n-1] : separator + tokenized[n-1];
}
return text;
}

[/noae][/noae][/noae][/noae][/noae][/noae][/noae][/noae][/noae][/noae]




Link icons : https://drive.google.com/open?id=1CirPBuEPT4-AsczI17NBQGN3jWSCmYX9 <--Add Server/Sotore/Sprites
Link ModComplete :link


Screeshots
[/spoiler]
#9
General Discussion / connection server failed
Nov 03, 2019, 05:08 AM
what is the mistake
-






#10
For some time now I have been thinking about creating a Counter-Striker 1.6 style server
The server will be available soon


Systems

Unique systems
Ground Weapons System
Random Map System
Voting map selection system
Hostage map system and c4
Menu system styles cs 1.6
Planting system, deactivate c4 style cs 1.6
1.6 cs hud system
Weapons and weapons collection system
Rounds System
Cs 1.6 style chat system
Cs 1.6 Style Death and Murder Message System
System to buy equipment style cs 1.6
System of name and health of a player in 3D Text
C4 map and hostage system
When you lower your health, the red screen effect will be activated
When you raise your health, the green screen effect will be activated

and much more.........

Videos
[spoiler]Video #1
Video #2
Video #3
Video #4[/spoiler]
Screenshots
[spoiler]

[/spoiler]
#11
General Discussion / Doubt Health
Aug 22, 2019, 05:53 AM
:o :o
good night friend is there any way to know what amount of health i lost? example I have health at 100 and I fall from a height and it reduces me% 10 health how can I get the result that I lost that %10?

Well, I want to see in a message that I lost 10 health
??? ??? ::)
#12
Script and Content Requests / help - Sprint
Jun 25, 2019, 12:11 AM

there is some way to prevent them from using sprints that can not be run on the server that when trying to run just walk ??? ???
#13
Script and Content Requests / 3d text?
Feb 17, 2019, 07:27 PM
the 3d text of gta samp you can create several lines example




my doubt is that if vcmp can create a 3d text with several lines as it appears in the image I could only create a text with a line
#14
Hi friends, as I have a problem, I would like to close the server to save the data, I use this example to save

function onServerStop()
{
for (local i=0; i<10; i++)
{
WriteIniString( "Datos.ini", "Objectos", i+"","2 3 4 5 6" );
}
}

and it does not work for me I try on onServerStart and it works



that's how it works
function onServerStart()
{
for (local i=0; i<10; i++)
{
WriteIniString( "Datos.ini", "Objectos", i+"","2 3 4 5 6" );
}
}

what is the problem?? :-[
#15

--------------- Modes ----------------

#1  CAPTURE THE FLAGS -ES/EN
#2  SURVIVAL ZOMBIE -ES/EN
#3  DEATHMACTH -EN
#4  PLANT C4  -ES/EN
#5  ROLEPLAY -ES/EN
#6  COPS AND ROBBERS -ES/EN
#7  GUNGAME -ES/EN
-------------  Server Info  -------------
Ip : None
Irc: None
TS3: None
GameMode: MultiModes V0.2
Version : 004rel04
Ping : 100
Files :  5.61MB
Forum : None
Future mode

Race
Protect the president
Attack-Defend
Derby
Cage


|--------------------------------------------------------------------------------------|
Server Information
-This server has different modes
-Dreams server Luis_Labarca and KripTon
-Use /lang to change your language
-Use /lobby to return to the mode selection menu
-Use /players to see the players in the modes or you can see it from the mode selection menu
-ScoreID 1/0 In Lobby
-ScoreID 2 In CAPTURE THE FLAGS
-ScoreID 3 In SURVIVAL ZOMBIE
-ScoreID 4 In DEATHMACTH
-ScoreID 5 In PLANT C4
-ScoreID 6 In ROLEPLAY
-ScoreID 7 In COPS AND ROBBERS

Screenshots - Server
[spoiler]


[/spoiler]
|--------------------------------------------------------------------------------------|
Information Mode - RP
-This mode is about simulating real life
-The chat this way is like talking in real life
If you say something they will not see it (they will hear) all the players closest to you
-If you scream only the people who are in the radius of 30 meters will hear your screams
-If you do not eat or drink a drink you will start to get dizzy
-If you run and jump a long time you get tired
-If you die, you will return to appear where you died fainting.
Doctors come and if you do not want eparar just use /kill
-If you leave the engine of a vehicle on, the fuel
-If you turn off the engine of the vehicle at high speed you suffer injuries
-If a vehicle is badly damaged the vehicle will not ignite
-If a vehicle is on and has no oil, it will damage the engine (this function is not yet set)
-You can throw/pick up weapons and objects
-To have the bar of hunger after% 50 will give you dizziness as well with thirst
-Having a very low life will make you dizzy
--- For more information on this use /help ----

Screenshots Mode - RP
[spoiler]






[/spoiler]
|--------------------------------------------------------------------------------------|

Information Mode - Capture The Flags
-This mode is about capturing the enemy flag of your team and taking it to your base
And not let your flag catch
-Price B to buy weapons and equipment
-Pretends M to change equipment
-This mode is based on the game Counter-Strike
-Use /commands for more information

Screenshots Mode - Capture The Flags
[spoiler]














[/spoiler]


|--------------------------------------------------------------------------------------|



Server Update Log

[spoiler]
Update - [ on February 15th, 02:48 AM,Year 2016 ]

Such as bug fixes in modes
Registration system
And some other things
I will continue to make improvements to the server
If they see some bug in the server tell me to solve it.

Update - [ on February 22nd, 01:28 AM,Year 2016 ]

New aggregate mode
Type of mode (RP) language ES/EN
Rp mode has
Inventory system v0.1
System of extinguishing or extinguishing of vehicles
Property system v0.1
System of legal and illegal factions
Work system
Hunger, thirst and energy system
Gasoline system in vehicles
Vehicle system damaged when damaged a mechanic must repair
Speed marker system, oil and gasoline
System of filling drums to throw to the vehicles left by gasoline
System to die and appear in hospital
ATM system
Interior of hospital ,Police department
 and interiors for properties
Toll system
You have unique models and many more things ..

Update - [ on March 13th, 07:05 AM,Year 2016 ]

Mode cops and robbers open
This mode has 4 classes
1-Civilian
2-Police
3-Medic
4-Trafficker
This mode is a little RP
Has Pay N Spray system
Has robbery system
Has system properties
You can buy weapons in the armory or you can buy a dealer
And has many more things


Update - [ on March 14th, 10:36 PM,Year 2016 ]

Added GunGame mode
Dellatalles of the mode
Randon map
Randon skin
Time Round 2Min
Gui who won the round
To be able to play in the mode you must see two or more players

Update - [ on March 15th, 10:07 PM,Year 2016 ]

Hello guys I finished RP mode now it's English and Spanish now available
I'll give you a few details of the way the mode is a %100
When speaking by chat only that message will be seen by the people closest to you
You can use /g to shout /b or /oc to talk out of play
To know more information use /help [animations/vehicle/server/license/phone/faction/factions/managefa/forum/jobs]
There are jobs you can open the inventory by pressing the key Y
To get work they should look for ic (within the game)
To register the server gives you $5,000
You can rent motorbikes
And there is much more I invite you to find out for yourself

"Rules - Summary"
"* No DeathMach - Killing people for no reason"
"* No PowerGaming - Do not do impossible things in the game"
"* Do not disconnect in a situation of RolePlay."


Update - [ on March 22nd, 08:20 AM,Year 2016 ]

Added new class to cops and robbers mode
Class is Hitman people can use /reward [Name/ID] [reward money] and then hitman take care of those people
Rp mode inventatio bugs fixed
Bugs solved in other ways
New mode selection menu


Update - [ on Ago 23nd, 09:00 AM,Year 2016 ]

Server

1-Added an anti-bug when selecting a mode
The anti-bug is that if you are lag and click in a mode
And you will not enter the mode will kick the server
2-Fixed some bugs
3-Added the antiping when passing the ping of 700 dara kick the server

Cops and Robbers

1-Now the icons on the radar will not disturb you now if you are very far from a
Icon disappears and being close appears

Roleplay

1-Fixed some bugs
2-Added ITMS to inventory
[/spoiler]
#16
Player

Write functions

.SetAnim
.SetCameraPos
.SetWantedLevel
Hud.SetPos(HUD_FLAG_CASH,VectorScreen( 0,0 ) )
Hud.SetPos(HUD_FLAG_CLOCK,VectorScreen( 0,0 ) )
Hud.SetPos(HUD_FLAG_HEALTH,VectorScreen( 0,0 ) )
Hud.SetPos(HUD_FLAG_WEAPON,VectorScreen( 0,0 ) )
Hud.SetPos(HUD_FLAG_WANTED ,VectorScreen( 0,0 ) )
Hud.SetPos(HUD_FLAG_RADAR,VectorScreen( 0,0 ) )
Othes Funtions Player
Player::EnterVehicle
Player::ExitVehicle
Player::VehicleMove
Player::WeaponChange

Functions to read

.Cash
.WantedLevel
.World

Global Player

function Player::PlayerDeath( player , reason )
Object

Functions to read
World::FindObject(id)
.Model
.Pos
.Rotation
.World

Write functions
.MoveTo
.Pos
.Rotation
#17
How can I make a time system as function
GetTimer ()
{
Local a = time () - Start_time;
Return a;
}
Function onScriptLoad ()
{
Start_time <- time ();
}
On the client side

Try it on the side of the client-side replacing a little things but does not work gives the time in large numbers
Start_time <-0;
GetSeconds ()
{
Local a = Script.GetTicks()- Start_time;
Return a;
}
function Script::ScriptProcess()
{
Start_time = Script.GetTicks();
Console.Print(GetSeconds())
}
function Script::ScriptLoad()
{
Start_time <- Script.GetTicks();
}
#18
Client Scripting / How to color a guilabel
Jun 18, 2017, 12:50 AM
ColourRed<-"[#FF0000]"
ColourGreen<-"[#32CD32]"
GuiLabelTest <-null;

function Script::ScriptLoad()
{
::GuiLabelTest <- GUILabel(VectorScreen(0, 0), Colour(255, 255, 255),ColourRed+" TEXT "+ColourGreen+"TESTED " );
::GuiLabelTest.FontSize = 12;
::GuiLabelTest.FontName = "Lucida Console";
}

Hi how can i add color to a GuiLabel probe this code and salts is [#FF0000]TEXT [#32CD32]TESTED

I want it to come out like this TEXT  TESTED
#19
General Discussion / Disable Console
Jun 09, 2017, 12:32 AM
I have a doubt is there any way to disable the console example I want to put in my server that when I press the T key do not open the console bar Can it be disabled from a server? That is my doubt