-
Posts
1,027 -
Joined
-
Last visited
Everything posted by BorderLine
-
i did too, but still same error
-
really cool..!! first time i see something like this. im gonna visit it .. nice video
-
hi everyone. Well i have a problem and i dont know why i have this function zomb(cplayer) x,y,z = getElementPosition(cplayer) exports [ "slothBot" ]:spawnBot ( x,y,z, 0, 10, 0, 0, Zombies, 0, "hunting", true ) end addEventHandler ( "onPlayerSpawn", getRootElement(), zomb) The problem is, error in argument of getElementPosition. say nill argument. I try many ways but doesnt work. Thanks for your time
-
mira este script.quisas pueda ayudarte de guia https://community.multitheftauto.com/index.php?p= ... ls&id=1967
-
tendras que hacer un trigger para pasar el nombre del map desde el serverside (getMapName) hasta clientside (dxDrawText)
-
sacame una duda tu. en tu script en ocaciones usaste atacker, source y player if (attackerweapon == 0) and getElementData(attacker,"zombie") then if not getElementData (source,"zombie") then getPlayerMoney ( attacker, 100 ) setElementData ( source, "zombie", true ) setPlayerTeam ( source, teamzombie ) setTimer(setElementModel,300000,1,player,25)
-
te refieres a que, no quieres que aparesca por chat? quieres que aparesca por un texto?
-
setTimer ( destroyElement, 10800000, 0, slothBot)
-
eso lo isiste tu? intenta asi teamzombie = createTeam ( "Zombie", 255, 0 , 0 )-- Crear Team-- function rewardOnWasted ( attacker, attackerweapon, bodypart, loss ) if (attackerweapon == 0) and getElementData(attacker,"zombie") then if not getElementData (source,"zombie") then getPlayerMoney ( attacker, 100 ) setElementData ( source, "zombie", true ) setPlayerTeam ( source, teamzombie ) setTimer(setElementModel,300000,1,source,25) end end end addEventHandler ( "onPlayerDamage", getRootElement(), rewarOnWasted ) prueba y di si hay errores en el debugscript
-
cambia el getRootElement de onClientPlayerJoin por getLocalPlayer()
-
Ayuda con GameMode [Race]
BorderLine replied to lSwl's topic in Ayuda relacionada al cliente/servidor
me parece que deberias agregarle un map tambien, Porq si carga el race, pero no mapas para jugar -
dentro del script de zombies en serverside me parece, busca donde esta la funcion que quita health al golpearte setElementHealth( player , health - 5 ) algo asi creo que es, hay mismo podrias usar lo que dise Alexs y lo demas ya es facil.
-
no uses onResourceStart. Intenta esto, Nose si funcione function auhs() local vehh = getPedOccupiedVehicle(source) if vehh and isPedInVehicle(source) then setVehicleDamageProof(veh, false) end end addEventHandler("onVehicleEnter", getRootElement(), auhs) function lc() local veh = getPedOccupiedVehicle(source) setVehicleDamageProof(veh,true) end addEventHandler("onVehicleExit", getRootElement(), lc)
-
function checkaccounts(thePlayer) local account = getPlayerAccount ( thePlayer ) if getAccountName(account) == "-[KMZ]-LANS" then setTimer(setElementModel,1000,1,thePlayer, 120 ) elseif getAccountName(account) == "-[KMZ]-Byronsk8" then setTimer(setElementModel,1000,1,thePlayer, 250 ) end end addEventHandler("onPlayerSpawn",getRootElement(),checkaccounts) prueba eso
-
que gamemode estas usando?
-
the problem is, only make more big the image, but i want try to make more big the rows to see beter the rank
-
The last question. Anyone know how i can edit the scoreboar to make more high the lines look the ranks is one over the another. I dont know how explain the img
-
Its fixed, thanks tapl, jay and anderl
-
still problem this is the line of the error in debugscript elseif column.name == "Rank" then dxDrawImage( topX+theX, y+s(1), 30, 30, content, 0, 0, 0, cWhite, drawOverGUI ) i dont think this can be the problem. if show one image why not another? can be a problem the resolution of image? Dios.png is 256zx256 and Civil.png is 64x64
-
Hi everyone, well im here cus i have a little problem. Im adding images rank as same Level so, i have a problem function ranks() local account = getPlayerAccount(source) local zombiekills = getAccountData(account,"play.kill") if (zombiekills >= 0) and (zombiekills <= 500) then setAccountData ( account, "Rango", "Civil" ) setElementData ( source , " Rank", "Civil.png") elseif (zombiekills >= 300000) then setAccountData ( account, "Rango", "Dios" ) setElementData ( source, "Rank", "Dios.png" ) end end the problem is. If i have more than 300,000 kills then my image rank is showed on scoreboard. But if some player have less than 500 then dont show the image. and debug say can't load image (scoreboard) meta is good. path is good. what should be the problem?
-
Entiendo, pero en mi ideologia creo que en un servidor, mas de 2 scripters es un tremendo problema. Digo esto porq seguro alguno quierra hacer algo, al otro no le gustara, o otro no estara conforme con el script del otro, y esto se torna para discuciones. En mi server soy el unico scripter, no acepto ayuda por lo mismo. Mira yo tengo uno ke otro script de race. Hace unos meses scriptie el server COB. Puedo dartelos, pero son cosas sencillas. Algo que sea distinto al ojo del usuario. Contactame a [email protected] y quisas te gusten
-
Poner recurso por defecto.
BorderLine replied to ShamanHero's topic in Ayuda relacionada al cliente/servidor
Con respecto a lo primero en el archivo mtaserver.conf, al final del listado salen todos los scripts que se activaran al iniciar el server. Le vas agregando tu login y tu velocimetro o etc. En cuanto a lo segundo. Me parece que toma un tiempo (digo horas, no dias) que salga en la lista. Podrias invitar a tus amigos dandoles la IP y ya con jugadores me parece que aparece en la lista. Eso era suerte -
--save getPlayerMoney getElementPosition setAccountData onPlayerLogout --load getAccountData setElementPosition setPlayerMoney onPlayerLogin
-
creo que independiente de que sea un buen race, lo primordial seria buenos maps, y actualizados. Y la verdad empezar de 0 cuesta bastante para llegar a igualara a TG o FFS. La cantidad de servers Race en MTA es muy alta y la competencia es dura. La verdad hasta donde e leído aquí en el foro español de mta, todos están ocupados con sus propios proyectos. No creo que alguno pueda aportar, y si aporta sera con algo pequeño, no con algo grande como es lo que quieres. Al menos si quieres motivar a los scripters latinos puedes mostrar algún avance. Suerte