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 - vito
31
Support / Re: Issues with private message UI of this forum
« on April 2nd, 2017, 07:23 AM »
Same problem in desktop with small size of browser's window
32
Servers / [0.4] Re: Argonath RPG 3.0
« on April 1st, 2017, 05:50 PM »
Quote from Kessu on April 1st, 2017, 04:42 PM
You saying that I do not know the definition of deathmatching is ridiculous at best.
But this fact is not so ridiculous. Deathmatch means getting scores by deaths of enemy. Not just killing/exploding people. However vc-mp is full of silly terms like as 'deathevade' so you're not the first in the that list.
33
Quote from Doom_Kill3R on April 1st, 2017, 03:19 PM
whats so "hard coded" there?
Resolution value.
34
Servers / [0.4] Re: Argonath RPG 3.0
« on April 1st, 2017, 01:19 PM »
Quote from Kessu on April 1st, 2017, 10:18 AM
keep exploding vehicles in populated areas
What kind of terrorist will explode car in non-populated area ;D
Whatever you call 'pathetic mass-deathmatching' you don't know correct definition of deathmatch. I've enjoyed it regardless any bans.
35
Quote from Doom_Kill3R on April 1st, 2017, 09:20 AM
(1280/1280)/2 * clientX => 0.5 * clientX

Wasn't my post enough?
No, hardcoding resolution is a bad idea for 'ultimate Relative positioning'
36
Use position ratio as Anik used here http://forum.vc-mp.org/?topic=4443.0
for example screen_size.X * 0.5, screen_size.Y * 0.5 - dot in center
to put element in the center make offset -50% of element width and -50% of element height
37
Client Scripting / [Release] Re: GUI Health & Armour Bar
« on March 29th, 2017, 11:57 AM »
Awesome, I hope devs will made in next update option to hide native GUI.
38
Off-Topic General / Re: Doubt animation
« on March 25th, 2017, 05:32 PM »
Quote from zeus on March 25th, 2017, 05:28 PM
8) :o :D server name
But i don't have a partner :( >:(
https://forum.vc-mp.org/?topic=4383.0
39
Client Scripting / [Release] Re: 3D Animated Announcement
« on March 25th, 2017, 11:53 AM »
where is 3d?
40
Off-Topic General / Re: Doubt animation
« on March 25th, 2017, 07:16 AM »
You can use .ifp animation as weapon (I use this in my server for sex) or as vehicle only.
41
Bugs and Crashes / Re: List of bugs and suggestions
« on March 24th, 2017, 11:37 AM »
Suggestions:
1) Let server to read interior ID of player to detect so-called "wallhack".
2) Clientside function to rotate 2d object
3) Clientside player.Angle (at least for read-only) its very useful for alot of things.
4) Clientside radar markers
5) Since we have a nice clientside gui is it possible to add option to hide native gui (radar, health, weapon, wanted level and so on)

Bugs:
1) Using custom radar disc with opening map in the pause menu make game crash after back to game.
2) Client's memory is not cleaning after reconnect and all unpacked /store/ files will be added to client's memory again and again up to overlimit of application after each reconnection
42
General Discussion / Re: Cloudwards hosting
« on March 24th, 2017, 09:41 AM »
Guys it's a free hosting, don't blame them for anything. Be happy to use this as it or go pay for your own one.
43
Off-Topic General / Re: Doubt animation
« on March 24th, 2017, 07:56 AM »
Good tip: check if player laying on ground to prevent shotgun-push "evade".
Code: [Select]
} else if(("dance" == cmd)||("damce" == cmd)){
if((42 == player.Action)||(43 == player.Action)){
MessagePlayer("[#cccccc]* You can't dance laying on ground.", player);
} else {
if("1" == text){
player.SetAnim(28,226);
} else if("2" == text){
player.SetAnim(28,227);
} else if("3" == text){
player.SetAnim(28,228);
} else if("4" == text){
player.SetAnim(28,229);
} else if("5" == text){
player.SetAnim(28,230);
} else if("6" == text){
player.SetAnim(28,231);
} else if("7" == text){
player.SetAnim(28,232);
} else {
player.SetAnim(28,226);
}
}
}
44
General Discussion / Re: World ID all Players Client-Side
« on March 22nd, 2017, 09:23 AM »
Please read this page before client side coding: http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Client_Functions
Quote
Player
Property Type (read-only)
Type: int
The type of this entity, always OBJ_PLAYER.
Property ID (read-only)
Type: int
Property Local (read-only)
Type: bool
Whether this is the local player.
Property Name (read-only)
Type: string
Property Health (read-only)
Type: float
Property Armour (read-only)
Type: float
Property Position (bound)
Type: Vector
As you can see, no 'World' listed here. So you need to get it from server.
45
dunno what problems is, but there is just an example:
Code: [Select]
a <- {};
for(local i = 0; i < 100; i++){
local b = {};
for(local j = 0; j < 100; j++){
b.rawset(j, "i="+i+" j="+j);
}
::a.rawset(i, b);
}
print(::a[3][10]);
print(::a[69][33]);