
Plate
Members-
Posts
938 -
Joined
-
Last visited
Everything posted by Plate
-
pongo la ip FTP en el mtaserver y salta error blank, it will default to server's standard local IP address. --> <serverip>*********</serverip> <!-- SERVERIP SHOULD BE LEFT BLANK UNLESS YOU ARE SURE OF WHAT YOU ARE DOING -->
-
lastima que no tengo ni idea de como subirlos pongo la ip de eso y no funciona
-
tengo cuenta en nixiweb pero como subo los archivos perdoname pero me arias un tutorial
-
Hola abria una menera para hacer que a los players de mi server le carge mas rapido (sin tener que pagar host) me dirian como se hace (hasta qe tenga tiempo de pagar el host)
-
no , no funciona u.u no tendria que ser mas haci mira function teamsa ( thePlayer, playerName ) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) local pname = getPlayerFromName ( playerName ) local teams = getTeamFromName ( 'Umbrella') if isObjectInACLGroup ("user.".. accName, aclGetGroup ( "LiderUmbrella" ) ) and (pname) and ( teams ) then setPlayerTeam(playerName, teams, pname) end end addCommandHandler ( "quitarumbrella", teamsa )
-
seria el de agregar (este) function teams ( thePlayer, playerName ) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) local pname = getPlayerFromName ( playerName ) local teams = getTeamFromName ( 'Umbrella') if isObjectInACLGroup ("user.".. accName, aclGetGroup ( "LiderUmbrella" ) ) and (pname) and ( teams ) then setPlayerTeam(playerName, teams) end end addCommandHandler ( "agregarumbrella", teams ) no funciona pero haci (para sacar) si function teams ( thePlayer, playerName ) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) local pname = getPlayerFromName ( playerName ) local teams = getTeamFromName ( 'Umbrella') if isObjectInACLGroup ("user.".. accName, aclGetGroup ( "LiderUmbrella" ) ) and (pname) and ( teams ) then setPlayerTeam(playerName, nil) end end addCommandHandler ( "quitarumbrella", teams )
-
Si hay pero gracias igual esto me dice cuando lo inicio SCRIPT ERROR : team/teams.lua:5:"then" expected near ")" WARNING loading script failed : team/ teams.lua deja lo arregle no no anda los saca pero no los agrega
-
Genial solid muchas gracias por corregir el recurso ahora simplemente me falta usar getElementData, setElementData para que den experiencia por que esos zombies tienen level y segun su level son zombies rojos verdes o amarillos lo de los teams seria haci mira function teams ( sourcePlayer, playerName ) local accName = getAccountName ( getPlayerAccount ( sourcePlayer ) ) if isObjectInACLGroup ("user.".. accName, aclGetGroup ( "LiderUmbrella" ) ) then local pname = getPlayerFromName ( sourcePlayer, teams ) if (pname) then local teams = getTeamFromName ( 'Umbrella') if ( teams ) then setPlayerTeam(sourcePlayer, teams) end end end end addCommandHandler ( "agregarUmbrella", teams )
-
eso me dice cuando lo inicio que puedo hacer con eso del bot para que me funcione el extrahealth
-
D: no me anda el extrahealth cuando pongo que el bot spawnee en las posiciones esas(random) como podria hacer que ande???
-
Solid del recurso de bloquear los autos como seria para bloquear mas de uno
-
aparte de que el bot no spawnea por que solid yo quisiera poner posiciones y que el bot spawnee en una random como seria?
-
antes de seguir con el tema me dicen si esta bien esto? local randomSpawnTable = { { 1086.6645507813, 1076.1888427734, 10.838157653809,}, { -2086.9196777344, 173.74137878418, 35.0546875 }, { -2667.5134277344, 734.33197021484, 27.953125 }, { -2497.6953125, -697.30908203125, 139.3203125 }, { -2333.6032714844, -1621.1364746094, 483.71069335938 }, { 1862.423828125, 2624.6528320313, 13.8719085693 } } function Bot () local random = math.random ( #randomSpawnTable ) slothbot = exports["slothbot"]:spawnBot( unpack (randomSpawnTable [ random ] ), 90, math.random (300,303), 0, 0, Boss, 38, hunting, true ) exports.extrahealth:setElementExtraHealth(slothbot,5000) end addEventHandler("onResourceStart",getRootElement(),Bot)
-
es facil por skin lo de los autos esta arreglado vas a la wiki ponias nose que y te sale el script gracias por tu ayuda igual lo unico que me falta son los teams
-
hay va bien? function teams ( sourcePlayer ) local accName = getAccountName ( getPlayerAccount ( sourcePlayer ) ) if isObjectInACLGroup ("user.".. accName, aclGetGroup ( "LiderUmbrella" ) ) then local pname = getPlayerFromName ( sourcePlayer ) if (pname) then local teams = getTeamFromName ( 'Umbrella') if ( teams ) then setPlayerTeam ( sourcePlayer, teams ) end end end end addCommandHandler ( "agregarUmbrella", teams )
-
tendria que usar player o thePlayer no?
-
solid otro problema mas y no te jodo hasta como 1 semana (un milagro) esto tiene un problema por que yo pongo /quitarUmbrella EL_X y me saca a mi y pongo /agregarUmbrella EL_X y me agrega a mi function teams ( source ) local accName = getAccountName ( getPlayerAccount ( source ) ) if isObjectInACLGroup ("user.".. accName, aclGetGroup ( "LiderUmbrella" ) ) then local teams = getTeamFromName ( 'Umbrella') if ( teams ) then setPlayerTeam ( source, teams ) end end end addCommandHandler ( "agregarUmbrella", teams ) function teams ( source ) local accName = getAccountName ( getPlayerAccount ( source ) ) if isObjectInACLGroup ("user.".. accName, aclGetGroup ( "LiderUmbrella" ) ) then local teams = getTeamFromName ( 'Umbrella') if ( teams ) then setPlayerTeam ( source, nil ) end end end addCommandHandler ( "quitarUmbrella", teams )
-
Solid con el systema de reset tengo un problema cuando se desconnectan los players los pierden deve ser por que no le puse un getAccountData y un setAccountData
-
esos comandos me los pasaron cuando ElMota (que le agredesco)me paso un script
-
GRACIAS SOLID SOS EL MEJOR GRACIAS GRACIAS GRACIAS GRACIAS GRACIAS GRACIAS GRACIAS GRACIAS GRACIAS
-
emm eso espera auto = createVehicle ( 433, -2270, 2300.8999023438, 5.4000000953674, 0, 0, 270 ) function autos(thePlayer, seat) if seat ~= 0 and source == auto then local accountname = getAccountName (getPlayerAccount(thePlayer)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Umbrella" ) ) then return end cancelEvent() outputChatBox ( "solamente umbrella puede usar estos vehiculos", thePlayer, 255, 0, 0, true ) end end addEventHandler ( "onVehicleStartEnter", root, autos ) pero igual no funciona u.u
-
exelente solid muchas gracias pero tengo otro problema auto = createVehicle ( 433, -2270, 2300.8999023438, 5.4000000953674, 0, 0, 270 ) function autos(thePlayer, seat) if seat ~= 0 and source == auto then local accountname = getAccountName (getPlayerAccount(thePlayer)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "guest" ) ) then return end cancelEvent() outputChatBox ( "solamente umbrella puede usar estos vehiculos", thePlayer, 255, 0, 0, true ) end end addEventHandler ( "onVehicleStartEnter", root, autos ) no me funciona