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.

Messages - vitogta
1
Support / Re: VC:MP Installer detected as a virus
« on August 22nd, 2018, 08:50 AM »
no solution.
2
Support / Re: Updating a custom HUD's text somehow.
« on August 19th, 2018, 07:49 PM »
Quote from KuRuMi^ on August 19th, 2018, 07:20 PM
Well, my only option I can do is make a workaround with Player::PlayerShoot function.
Good luck.
Getting current player's weapon.
Without data from server with a lag.
Getting ammo in magazine.
Without data from server with a lag.
Getting shoot event for shotguns.
Without data from server with a lag.
3
Support / Re: Updating a custom HUD's text somehow.
« on August 19th, 2018, 05:10 PM »
It's better to wait when all those methods of player's instance will became clientside than sending tons of data between server and client just for gui.

don't forget about lag of client->server->client will be bad with fast switch (one of basic vc-mp game mechanics).
4
Support / Re: Updating a custom HUD's text somehow.
« on August 19th, 2018, 09:14 AM »
However clientside shoot event won't work with shotguns.
5
General Discussion / Re: Make VCMP Great Again
« on August 18th, 2018, 01:12 PM »
Quote from umar4911 on August 18th, 2018, 01:03 PM
Are we here to discuss LW or whole VCMP development?
This topic is a joke if you did not noted.
6
Support / Re: Skins Ifp.
« on August 15th, 2018, 12:20 AM »
no.
7
Off-Topic General / Re: unban appeal
« on August 10th, 2018, 03:19 PM »
IQ test failed.
denied.
8
Off-Topic General / Re: unban appeal
« on August 9th, 2018, 09:40 PM »
Quote from Ninja on August 9th, 2018, 09:35 PM
Quote from kingfahadking on August 9th, 2018, 09:26 PM
nickname:-kingfahadking
reason:-ban evade
ADMIN WHO BANNED ME:-shadow jack
notes:- hi bro my windows was corrupted due to a viru and i installed windows 7 to 10 my friend said me when we reinstall windows we r unbanned from all banned server after i reinstalled windows i was unbanned from little whiteys and vks server but rajput admin of lw said how u playing i said i reinstalled windows coz it ws corrupted he said dont play in lw till ur unban date i said ok .bro please unban me i didnt know that we unbans after we reinstall windows.please unban me i also can use vpn or reinstall windows but im not rule breaker bro itwill not happen again please unban me
This is not LW server, you should make unban applications is LW forum not in VCMP forum!
besides shadow jack is not LW admin
9
General Discussion / Re: Javascript plugin
« on August 9th, 2018, 07:00 PM »
If plugin is done I suggest to write a blank script with few examples inside, then we all could to test it and decide to move on it or no.
The example blank script should include main kill-features of plugin.
10
for sure - no, only tons of raytrace could find grenade but its bad method.
11
Scripting and Server Management / Re: help with PutPlayerToVeh
« on August 8th, 2018, 11:50 AM »
player.Vehicle = ::CreateVehicle(217, 0, player.Pos.x, player.Pos.y, player.Pos.z+1, player.Angle, 1, 1);
12
Quote from KuRuMi^ on August 7th, 2018, 04:58 PM
Quote from ! on August 7th, 2018, 09:51 AM
Quote from KuRuMi^ on August 7th, 2018, 06:03 AM
Bump.
Code: [Select]
CPlayers <- [ "Bob", "Jerry", "Tom", "TotalNoob" ];
CPlayers2 <- [ "Mary", "Bryan", "Billy", "Michael" ];

function Script::ScriptLoad() {
Console.Print( returnString( CPlayers ) );
Label <- GUILabel( VectorScreen( 0, 0 ), Colour( 255, 255, 255 ), returnString( CPlayers ) );
}

function returnString( arr ) {
local str = null;
foreach( iStr in arr ) {
( !str ? ( str = iStr ) : ( str += ", "+iStr ) );
}

return str;
}
Is it not possible to indent the text due to the GUILabel's associativity? I'd like to have a vertical list of players.
players <- {};
players.rawset("noob", 123); // writes 123
players.rawget("noob"); // returns 123
https://developer.electricimp.com/squirrel/table
table.clear() — Removes all of the items from a table
table.getdelegate() — Returns a table’s delegate
table.len() — Returns the number of slots in a table
table.rawdelete() — Deletes a key-value pair from a table without employing delegation
table.rawget() — Retrieves the value of the specified key without employing delegation
table.rawin() — Checks for the presence of the specified key in the table without employing delegation
table.rawset() — Sets the value of the specified key without employing delegation
table.setdelegate() — Specifies a table’s delegate
13
General Discussion / Re: Javascript plugin
« on August 7th, 2018, 03:20 PM »
Can you write a simple example, I want to get player's position and some other player's data (from instance), then I want to make some heavy calculation with this data in another theread (without blocking main theread) then (when calculations are done) I want to call a function with the result of those calculations as an argument in main theread (to interact player's instance by this function).

ps also is it possible to interact with another plugins like database or hashing in another (not-main) theread?
14
General Discussion / Re: Javascript plugin
« on August 6th, 2018, 08:26 PM »
Quote from Thijn on August 6th, 2018, 08:23 PM
Quote from vitogta on August 6th, 2018, 11:42 AM
So if this plugin will work with 004 I will use that.
Obviously not
Then not intresting.
15
Off-Topic General / Re: for jobs
« on August 6th, 2018, 03:59 PM »