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

#31
Same problem in desktop with small size of browser's window
#32
Servers / Re: [0.4] Argonath RPG 3.0
Apr 01, 2017, 04:50 PM
Quote from: Kessu on Apr 01, 2017, 03:42 PMYou 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.
#34
Servers / Re: [0.4] Argonath RPG 3.0
Apr 01, 2017, 12:19 PM
Quote from: Kessu on Apr 01, 2017, 09:18 AMkeep 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 Apr 01, 2017, 08: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
Awesome, I hope devs will made in next update option to hide native GUI.
#39
where is 3d?
#40
Off-Topic General / Re: Doubt animation
Mar 25, 2017, 07:16 AM
You can use .ifp animation as weapon (I use this in my server for sex) or as vehicle only.
#41
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
Mar 24, 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
Mar 24, 2017, 07:56 AM
Good tip: check if player laying on ground to prevent shotgun-push "evade".
} 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
Please read this page before client side coding: http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Client_Functions

QuotePlayer
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:
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]);