Narutimmy Posted October 27, 2013 Posted October 27, 2013 Hola bueno la idea es crear un script, si tienes mas de 400 ping te congele y no resivas daño, ademas de eso aparesca una imagen arriba de ti, apenas lelbo esto pero creo no funciona me ayudan por favor? function checkPing(thePlayer) ping = getPlayerPing(thePlayer) if ( ping > 400 ) then setElementFrozen ( thePlayer, true ) elseif ( ping < 400 ) then setElementFrozen ( thePlayer, false ) end end function onResourceStart(thisResource) setTimer ( checkPing, 3000, 0 ) end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), onResourceStart ) mtasa://66.85.14.178:22003 Ts3: thezombiworld.com:7777
Castillo Posted October 27, 2013 Posted October 27, 2013 Eso no tiene sentido. Hacelo todo client side. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Narutimmy Posted October 30, 2013 Author Posted October 30, 2013 Eso no tiene sentido.Hacelo todo client side. porque no tiene sentido? y porque va en cliente? (PRegunto porque nose .__.) mtasa://66.85.14.178:22003 Ts3: thezombiworld.com:7777
Castillo Posted October 30, 2013 Posted October 30, 2013 'thePlayer' no esta definido. Hacelo client side porque sera mas eficiente. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts