-
Posts
194 -
Joined
-
Last visited
Everything posted by Gothem
-
2. hace un timer que se repita cada cierto tiempo. en donde se vea el dinero del jugador, vea si es que cambia y lo ponga en el scoreboard. (Eso es lo que hace el recurso admin para ver el dinero de los jugadores) 3. function walktheprisoner(thecop, theprisoner) if (getElementData ( theprisoner, "currentstatus" ) == "underarrest") and (getPedOccupiedVehicle ( theprisoner ) == false ) then local copx, copy, copz = getElementPosition ( thecop ) local prisonerx, prisonery, prisonerz = getElementPosition ( theprisoner ) copangle = ( 360 - math.deg ( math.atan2 ( ( copx - prisonerx ), ( copy - prisonery ) ) ) ) % 360 setPedRotation ( theprisoner, copangle ) setCameraTarget ( theprisoner, theprisoner ) local dist = getDistanceBetweenPoints2D ( copx, copy, prisonerx, prisonery ) if ( dist > 35 ) then -- Aqui es cuando el jugador se aleja bastante setElementPosition( theprisoner, copx, copy+1, copz ) --Teletransportamos el jugador al lado del policia elseif ( dist > 17 ) then setControlState ( theprisoner, "sprint", true ) setControlState ( theprisoner, "walk", false ) setControlState ( theprisoner, "forwards", true ) local zombify = setTimer ( walktheprisoner, 500, 1, thecop, theprisoner ) elseif ( dist > 10 ) then setControlState ( theprisoner, "sprint", false ) setControlState ( theprisoner, "walk", false ) setControlState ( theprisoner, "forwards", true ) local zombify = setTimer ( walktheprisoner, 500, 1, thecop, theprisoner ) elseif ( dist > 5 ) then setControlState ( theprisoner, "sprint", false ) setControlState ( theprisoner, "walk", true ) setControlState ( theprisoner, "forwards", true ) local zombify = setTimer ( walktheprisoner, 500, 1, thecop, theprisoner ) elseif ( dist < 2 ) then setControlState ( theprisoner, "sprint", false ) setControlState ( theprisoner, "walk", false ) setControlState ( theprisoner, "forwards", false ) local zombify = setTimer ( walktheprisoner, 500, 1, thecop, theprisoner ) end end end Eso era lo que buscabas o no? o:
-
1. Para quitarle la función simplemente usas la función setPedAnimation(ped) y nada mas. 2. Eso es por hacerlo client-side. Si quieres hacer alguna modificación al scoreboard es preferible hacerlo desde el servidor. 3. Puedes explicar mejor cual era el problema?
-
Its better set the ped an animation of walking than using setPedControlState, so you can set the animation server-side too.
-
Yeah, it was because the machine was in maintenance :E thanks for the signatures Jason !
-
have you tried if it works when it gets damaged to?
-
when a player get the damage by fall, the weapon is 54 its described here Death reasons
-
www.clandestino.cl There you have south american game servers
-
it looks nice it would be cool if you could add this two ones
-
Server Guide just read the linux installation part
-
excellent idea... i tried to do it before but i found than the object limiter will prevent to do the gamemode.... hopefully i think you should find a solution to that if you want to continue working and if you havent resolved that yet.... btw.. good luck with your gamemode (if you want i can share my try of this gamemode. if you want, it is just debugging script )
-
another guy than just copied my script in the same day than i released it. my resource: https://community.multitheftauto.com/index.php?p=resources&s=details&id=1219 stealer: https://community.multitheftauto.com/index.php?p=resources&s=details&id=1220
-
i have tried disabling all firewalls and passing the computer directly to internet. nothing works
-
i have tried disabling all firewalls and passing the computer directly to internet. nothing works
-
it says "Master server list could not be retrieved" D:
-
it says "Master server list could not be retrieved" D:
-
i tried disabling the firewall and dont solved the problem. i like to solve the problem of the server list, i know the quick connect and the server list of game monitor but i like to solve the problem of the server browser itself.
-
i tried disabling the firewall and dont solved the problem. i like to solve the problem of the server list, i know the quick connect and the server list of game monitor but i like to solve the problem of the server browser itself.
-
Well that is, the server browser dont show any server. I have the mta 1.0.3 installed and im running in windows 7 64-bits i tried reinstalling, pressing refresh, restarting and restarting the system. if someone can solve my problem thanks
-
Well that is, the server browser dont show any server. I have the mta 1.0.3 installed and im running in windows 7 64-bits i tried reinstalling, pressing refresh, restarting and restarting the system. if someone can solve my problem thanks