Jump to content

Instable ping.


IIYAMA

Recommended Posts

  • Moderators

Can "get/is" server functions cause instable ping? Possible :( ?

Because I use "3" t/m "5" get/is functions: (2 players, hitelement is also player) player and attacker

  
  
isPedInVehicle ( attacker ) 
  
getElementPosition(attacker) 
  
getElementPosition(hitElement); 
  
getElementRotation ( attacker ) 
  
( getControlState ( attacker,"fire" ) ) 
  
getElementType(attacker)=="player" 
  
getElementType(hitElement) =="player" 
  
isPedChoking ( hitElement ) 
  
getPedRotation(hitElement) 
  
getPlayerPing(hitElement) 
  
isPedDucked ( hitElement )  
  
isElement(player) 
  
-- not always 
  
getPedContactElement ( player )-- not always 
  
getPlayerTeam(attacker) -- not always 
  
getPlayerTeam(player)--  not always 
  
getPedArmor(player) -- not always 
  
  

Do they cause client lagg? :shock:

Note: the script that use these functions get executed very much.

at last a set function:

setElementHealth()

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...