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

#1
Quote from: [R3V]Kelvin on May 11, 2025, 03:23 AM
Quote from: Luis_Labarca on May 10, 2025, 03:02 AMbefore used
player.Bleeding = true ;
player.DrunkVisuals = true ;
player.DrunkHandling = true ;
but it doesn't work for me anymore

and then add the plugin to the server.cfg folder
sqlatestfeatures04rel32
How come 'it doesn't work anymore'? By the way, while Player.Bleeding does expect and return a boolean, Player.DrunkVisuals and Player.DrunkHandling do not - they expect an integer. For instance:
player.Bleeding = true; // true/false (your code is correct for this one)
player.DrunkVisuals = 255; // 0-255
player.DrunkHandling = 8; // 0-4294967295
También hablo español si deseas expresarte mejor. :)
gracias bro  ;)
#2
Quote from: AdTec_224 on Jul 05, 2024, 09:15 PM
  • Added support for http downloads using server config option 'storeurl' followed by the url to the root of the store
  • Add player option for toggling bleeding peds
  • Added plugin call to kill player
  • Server will now randomly pick car colours if either colour is set to -1
  • Added support for turning the engine off
  • Added plugin call to open automobiles' bonnets
  • Added plugin call to pop open automobiles' boots
  • Added plugin calls for player 3D arrow blips
  • Implemented fine-grained drunk visuals and handling
  • Changes to module list (now includes a file hash)

Server downloads:
Windows Server (x64)
Windows Server (x86)
Linux Server (x64)
Linux Server (x86)

Plugin SDK header

Hello bro, greetings, I have a question

What plugin do I need to use these functions?

Add player option for toggling bleeding peds
Added plugin call to kill player
Server will now randomly pick car colours if either colour is set to -1
Added support for turning the engine off
Added plugin call to open automobiles' bonnets
Added plugin call to pop open automobiles' boots
Added plugin calls for player 3D arrow blips

before used
player.Bleeding = true ;
player.DrunkVisuals = true ;
player.DrunkHandling = true ;
but it doesn't work for me anymore

and then add the plugin to the server.cfg folder
sqlatestfeatures04rel32
#3

Hi friends, I had a problem where my client-side script wouldn't start. I didn't know why. I searched for the error here on the forum and couldn't find any information.
I transferred everything from my store to a blank server to see if it was a plugin error, but nothing happened.
I deleted all the . dff and . txd files and everything worked fine. I loaded the script. Then I went to transfer the files back to the store and after transferring a certain amount, it gave the same error. I said the error was in one of them, but the same thing didn't happen. I started wondering if those files had worked before without any problems. I started deleting the other folders like maps, objects, weapons, vehicles, sounds, and skins, but nothing happened.
The same thing happened until I deleted the sprites folder and everything worked again with all the dff and . txd files.

In my sprites folder, I have 150 files that weigh around 2 MB. I was able to solve it by compressing all those files into Sprites_unp.7z.

Now my question, my doubt: why does this happen? Does the store crash when loading all those files?
Because of new updates, or should they always be compressed? Because I always had them uncompressed and this error didn't occur.

- I'm sharing this in case anyone else has the same problem and has an idea what it could be.

- Or there is some error in these updates

Message Error
MSG: No main script file - not starting Squirrel VM.
#4
Map Showroom / Re: mod favelas v0.1
Dec 22, 2024, 04:09 AM
It is turned off friend, I already put the url of the files again, I had not realized that the link did not appear
#5
Quote from: HunTinG on Aug 12, 2024, 09:39 PMok, after tons and tons of testing, there's just a small oversight, servers should now manually force shotgun reload to be faster in order for the gun animation to display correctly and not feel confusing to the players

but this is hands down the best update yet, the sync is just incredible, good job so far, seems like laggers are the ones at disadvantage now, and wow, shotgun finally syncs like stubby,m4 and the rest of the guns, that's a big step up

got nothing to add, so yeah once again thanks for showing interest towards this nearly dead game, i personally appreciate it



That's right, friend, I came to comment on this. Before, it worked for me, I used it in some functions that were called at a certain time, but now it only works when getting in and out of a vehicle when shooting, I thought something had been done wrong and it is the update that does that.

The solution I was able to do was to use the ysc3839 timer system to send the client to the server and update a new one every so often.
#6
Quote from: Abbas_905 on Jul 14, 2024, 01:43 AMHello Everyone
I want your smalll help,
need adminmod,apark command for admins

Hello bro, I don't know if you are looking for a cmd to park vehicles.

I use this on my server, I adjust the vehicle to my liking, then I save, I hope it works for you, I tried it before passing it on and it works fine.


else if ( cmd == "apark"||  cmd == "setpark")
{
if ( !text ) MessagePlayer("Usage: /"+cmd+" [V/ID] ", player );
else {
local ve = GetVehicle( GetTok( text, " ", 1 ) );
if ( !ve ) MessagePlayer( "Vehicle id invalid.", player );
else {

local x = ve.Pos.x.tointeger(),y = ve.Pos.y.tointeger(),z = ve.Pos.z.tointeger();
ve.SpawnPos = Vector(x,y,z);
ve.EulerSpawnAngle = Vector(ve.EulerAngle.x,ve.EulerAngle.y,ve.EulerAngle.z)
MessagePlayer( "Vehicle Pos Saved : PosX "+ve.Pos.x+",PosY "+ve.Pos.y+",PosZ "+ve.Pos.z+", AngleX "+ve.EulerAngle.x+",AngleY "+ve.EulerAngle.y+",AngleZ "+ve.EulerAngle.z, player );

//These two lines are to save in the database but remember that you must modify it to your data for it to work
//QuerySQL( DatabaseVehicle, "UPDATE Vehicle SET PosX='"+x+"',PosY='"+y+"',PosZ='"+z+"' WHERE rowid LIKE '" + ve.ID + "'" );
///QuerySQL( DatabaseVehicle, "UPDATE Vehicle SET AngX='"+ve.EulerAngle.x+"',AngY='"+ve.EulerAngle.y+"',AngZ='"+ve.EulerAngle.z+"' WHERE rowid LIKE '" + ve.ID + "'" );
}
}
}




#7
Hello friends, greetings, here I bring you the interior of cafe under open with interior.

Add on server
function onScriptLoad()
{
SetBackfaceCullingDisabled( true );//to load the textures of the objects inside
///--Object id for cafeunder
RawHideMapObject(448,-9231,621,91)  //veg_palwee01
RawHideMapObject(1719,-9564,460,267)  //sjmbigsign01
RawHideMapObject(392,-9564,459,205)  //BillBd3
RawHideMapObject(1712,-8991,203,143)  //lhaitcut
RawHideMapObject(1644,-8991,203,143)  //LODitcut
RawHideMapObject(474,-9200,428,91)  //veg_palmbig14
//---

}

add in store > maps.xml

<?xml version="1.0" encoding="ASCII" ?>
<itemlist>
        <item model="6000" name="cafeunder">
            <position x="-899.193" y="20.3173" z="14.3973" />
            <rotation format="axisangle" x="0" y="0" z="0" angle="1" />
        </item>

    <item model="6001" name="LODcafeunder">
            <position x="-899.193" y="20.3173" z="14.3973" />
            <rotation format="axisangle" x="0" y="0" z="0" angle="1" />
        </item>
</itemlist>


[
color=black]add in store > objects.xml[/color]

<?xml version="1.0" encoding="ASCII"?>
<objectlist>
  <object id="0">
      <flags value="0" />
      <texture path="cafeunder.txd" />
      <collision path="cafeunder.col" />
      <model path="cafeunder.dff" distance="299" />
  </object>
  <object id="1">
      <flags value="0" />
      <texture path="cafeunder.txd" />
      <collision type="none" />
      <model path="LODcafeunder.dff" distance="20000" />
  </object>
</objectlist>


Link1 : CafeUnder_unp

link2: FolderStore




photos
1

2

3

4

5

6

7

8

9

10

11
#8
General Discussion / Re: doubt checkpoints
Nov 27, 2024, 11:44 AM
Quote from: PSL on Nov 27, 2024, 07:27 AMThis is a function that I made to create buildings and undo buildings, and redo buildings, and I created two lists to store created buildings and deleted buildings for recovery by command, and I think this is very similar to distance judgment, so you can add a timer, and when there is no one around 200 meters around the checkpoint, delete it and record, When there are people around 200 meters, recover through the list.

ok bro I'm going to test that function to make the system cleaner :D
#9
General Discussion / Re: doubt checkpoints
Nov 27, 2024, 11:43 AM
Quote from: habi2 on Nov 27, 2024, 06:41 AMThere won't be any delay.
Thanks bro ;)
#10
General Discussion / doubt checkpoints
Nov 26, 2024, 10:50 PM
Greetings friends, I have a question, I hope you can clarify it for me.

I have around 200 checkpoints in different locations in the city. The function says that if a player is about 20 meters away from a checkpoint, it deletes it and if he gets closer, it creates it again.
My question is that if this would affect the server with delays, what would be more recommended? leave them fixed or if this way I did it is good or open some other more recommended way.
[/color]



This is the function I use
//--Table server
CheckPoint1 <- array( GetMaxPlayers(), 0 );
CheckPoint2 <- array( GetMaxPlayers(), 0 );
CheckPoint3 <- array( GetMaxPlayers(), 0 );


//server Funtions
function onClientScriptData( player )
{
    local ReadString = Stream.ReadString();
    local ReadInt = Stream.ReadInt();


            if (  ReadString  == "CreateCheckPoints")
            {
            if ( player.IsSpawned )
{
             onPlayerCheckpint( player )
            }
            }
           
}


function onPlayerCheckpint( player )
{

//---------------------
if( CheckPoint1[ player.ID ] == 0 && DistanceFromPoint( player.Pos.x, player.Pos.y, 316.729, 11.0378 ) < 20 )
{
CheckPoint1[ player.ID ] = CreateCheckpoint( player, player.UniqueWorld, true, Vector( 316.729, 11.0378, 10.8006), RGB(255,255,255), 1 );
}
if( CheckPoint1[ player.ID ] != 0 && DistanceFromPoint( player.Pos.x, player.Pos.y, 316.729, 11.0378) > 20 )
{
CheckPoint1[ player.ID ].Remove(), CheckPoint1[ player.ID ] = 0;
}
//---------------------
if( CheckPoint2[ player.ID ] == 0 && DistanceFromPoint( player.Pos.x, player.Pos.y, 318.927, 41.5121 ) < 20 )
{
CheckPoint2[ player.ID ] = CreateCheckpoint( player, player.UniqueWorld, true, Vector(318.927, 41.5121, 500.942), RGB(255,255,255), 1 );
}
if( CheckPoint2[ player.ID ] != 0 && DistanceFromPoint( player.Pos.x, player.Pos.y, 318.927, 41.5121) > 20 )
{
CheckPoint2[ player.ID ].Remove(), CheckPoint2[ player.ID ] = 0;
}
//---------------------
if( CheckPoint3[ player.ID ] == 0 && DistanceFromPoint( player.Pos.x, player.Pos.y, 301.595, 17.9316 ) < 20 )
{
CheckPoint3[ player.ID ] = CreateCheckpoint( player, player.UniqueWorld, true, Vector(301.595, 17.9316, 11.7104), RGB(255,255,255), 1 );
}
if( CheckPoint3[ player.ID ] != 0 && DistanceFromPoint( player.Pos.x, player.Pos.y, 301.595, 17.9316) > 20 )
{
CheckPoint3[ player.ID ].Remove(), CheckPoint3[ player.ID ] = 0;
}
//---------------------
}





///Client Sever
TimerUpdateCheckPoint <- 200;

function Script::ScriptProcess()
{
    ::PantallaX = GUI.GetScreenSize().X;
    ::PantallaY = GUI.GetScreenSize().Y;


if ( TimerUpdateCheckPoint > 1 )::TimerUpdateCheckPoint -= 1;
if ( TimerUpdateCheckPoint < 50 )
{
::TimerUpdateCheckPoint = 200;
local plr = World.FindLocalPlayer();
if ( plr != null )
{
local Datos = Stream();
Datos.WriteString( "CreateCheckPoints" );
Server.SendData(Datos);
}
}

}

#11
Quote from: KAKAN on Jul 28, 2015, 03:05 PMSame problem happens with me in custom weps, when someone does /wep 116(custom) it kicks the player

Here is the log
[spoiler="Click here for the log"]Kicking player 'KAKAN' (0), acquired weapon 116.
Player 'KAKAN' ID 0 disconnected (kicked).
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.
Kicking player ID 0, no record of such connection ID exists.[/spoiler]

Hello bro, I have the same problem with a custom weapon when I walk and click, this error occurs to me, what would be the solution?
#12
hello friend link dead
#13
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
//-------------
 
https://drive.usercontent.google.com/download?id=1LgockMx0qWrzA7LaXpyvQu747_5e_Gwd&authuser=0
https://drive.usercontent.google.com/download?id=1SQ7F1sSHCMcJaC2IKeLAI8knG1wBGjAu&authuser=0
https://drive.usercontent.google.com/download?id=1fy2wDGv45lTEodT4MgPbQCIfF2VfAMPu&authuser=0
//---------------


Link mod : https://drive.google.com/file/d/18WwRvA4vjcKh7Dady6JOgMfzUN5Bq9Br/view?usp=sharing

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)
#14
Quote from: Mikimon on Jan 21, 2023, 10:38 PMmuy bueno, se siente la verdadera experiencia de un roleplay en vcmp :D :D :D
gracias  por tu comentario amigo ;D ;) se aceptan sugerencias
#15

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