-
Posts
1,027 -
Joined
-
Last visited
Posts posted by BorderLine
-
-
example
function onResourceStart() Sniper = engineLoadTXD ( "sniper.txd" ) engineImportTXD ( Sniper, 358 ) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart)
-
here in comunity can download this script
nice tool for make moovies
https://community.multitheftauto.com/index.php?p= ... ls&id=1872
-
but that will be show when download are finish
-
hi people
i have a quesition
how i can make to show some text in blackscreen while are downlading
please if someone can helpme
thank so much
and have a nice day and nice weekend
-
bueno que tal gente del foro
me gustaria saber, como es posible mostrar un texto en la pantalla negra mientras se realiza la descarga del servidor
kreo que me parece muy apto para mencionar de que trata el servidor.
algo para incentivar a las personas a aguantar la descarga
muchas gracias y tengan buen dia y buen findesemana
-
bueno, en cuanto a mis experiencias cuando tube un server dedicado no fue necesario abrir los puertos. aunque el modem era distinta marca. pero lo que influye y como señalas es el antiviruz. yo tengo el esset nod y tengo ke desactivarlo para que pueda ser publico. y otra cosa tengo claro es el wifi, que tambien algiunos modems apesar de abrir puertos no puede encender tu servidor. la consola no reconoze la IP
intenta desactivando el norton. quisas funcione y no sea necesario abrir puertos.
y en esa misma pagina que señala el video de Benxamix2 entra con la pass y user y cheka bien.
y otra cosa, espero que no confundas la IP publica cn la IP de red local..
suerte
-
and exist some fuction for freeze your health.
i mean.. if some player have 1 health
just he will be afk and his health will be 100 again .
i was searching but i found nothing
-
ah.. ok..
but if my health is for example
50 health
if i toogle AFK
my health will be 100 again?
-
hi all
well more than a code
i want know why when i active godmode
zombies can hitme and low my health
i mean he cause damage
i need other fuction? like canceldamage?
thanks so much
-
So, you steal scripts from other servers? are you f**** kidding me? we don't help people who steal scripts!
Yeah, played his server, got me bored 2 minutes of playing it, left it.
Just weapons + player skins from RE4. Absolutely no code is fully made by himself, as I can see.
And still cannot get why people like this server; it's really boring (not just because he stole scripts, it's SERIOUSLY boring). People is stupid
@Jaysds1: There is no need to say you are kinda pro (and you're not even "kinda", you're like medium-low )
you are right. but people that want
new things.. not same skin of gta , or same weapons.
close topic please.. this is offtopic
-
well if you say im stolen.. okey is good.. but people dont see if ur server have a great scripts
just wanna fun. and have a nice time
and i listen all sugestion
and make thiks aboout that
and sorry for stolen ur script castillo.. my bad.. dont was my intenccion
-
How did u manage to get 40 players in your server with that low scripting skills?
editing scripts from comunity
but no all is edited from comunity
and sorry for off topic.
i dont know why players want the server.. i guess is because have skin mods and other thinks
-
honestly i take from my clients resources
im not pro in script and just im learning editing some scripts
in this just i want show color, dont show code hex
and put the pricedown front
-
hi forum
well i was mading
a nametag for peds
but dont work
i dont know where is the error
debug dont show errors
local sx,sy = guiGetScreenSize() function drawPedTags() for i,v in ipairs(getElementsByType("ped")) do local name = getElementData(v,"name") if name then local x,y,z = getElementPosition(v) local cx,cy,cz = getCameraMatrix() local r,g,b = getPlayerNametagColor(attached) local nameLength = dxGetTextWidth(pname,textScale,textFont) if isLineOfSightClear(cx,cy,cz,x,y,z,true,true,false,true,false,true,false,v) then if getDistanceBetweenPoints3D(cx,cy,cz,x,y,z) <= 45 then local px,py = getScreenFromWorldPosition(x,y,z+0.3,0.06) if px then local hp = getElementHealth(v) if hp > 0 then local width = dxGetTextWidth(name,1,default) dxDrawColorText(name, px + 1, py + 1, px + 1, py + 1, tocolor(r,g,b,255), 1, "pricedown", "center", "center", false, false) dxDrawColorText(name, px, py, px, py, tocolor(r,g,b,255), 1, "pricedown", "center", "center", false, false) end end end end end end end addEventHandler("onClientRender",getRootElement(),drawPedTags)
thanks so much
-
something is wrong? :
function openMyGate ( ) local account = getPlayerAccount () if isObjectInACLGroup( 'user.'..getAccountName( account ), aclGetGroup( 'STARS' ) ) then moveObject ( myGate, 3000, -1508.2679443359, 497.58953857422, 2.1646394729614 ) else outputChatBox ("Denied Access.") end end addCommandHandler("abrirstars",openMyGate)
-
i understand.. thanks
-
hi forum
well i have a little problem
i dont know if i can ask in this forum.
i want show acl group in scoreboard
it is possible?
i dont know if i wrong but
i need get account for show in scoreboard.
or i need specific team= getplayer account?
serverside..
local account = getPlayerAccount(thePlayer) addEventHandler("onResourceStart",getResourceRootElement(getThisResource()), function() call(getResourceFromName("BHZ_Scoreboard"),"addScoreboardColumn","Team") end )
thanks very much
-
ke tontera .. siempre me pasa, eso me pasa por escribirlo apurado
bueno muchas gracias solid se te agradese una vez mas
-
mira, intente esto solo para que la gente de ese grupo de acl pueda abrir el panel,
ahora intento hacerlo pero no abre debugscript no detecta errores, nose si hay algo malo
function showPanel(thePlayer) local account = getPlayerAccount(theplayer) if isObjectInACLGroup( 'user.'..getAccountName( account ), aclGetGroup( 'Admin' ) ) then triggerClientEvent(thePlayer, "openWindow1", getRootElement()) else outputChatBox ("¡Acesso Denegado!", thePlayer, 255, 0, 0) end end addCommandHandler("usspanel", showPanel)
-
Buenas a todos la gente que visita el foro
necesito una puequeña manito.
resulta que estaba editando un script. el script consiste en darle un panel a cada lider de clanes
para agregar miembros o removerlos a un grupo acl
el script debe estar agregado a la acl de admin claro.
pero tengo un problema
yo quiero que los lideres abran este panel sin necesidad de ser adm.
bueno les mostrare el script
clientside
function unfuck(text) return string.gsub(text, "(#%x%x%x%x%x%x)", function(colorString) return "" end) end function onModeratorButtonClick() local row, col = guiGridListGetSelectedItem(playerList) if row == -1 or col == -1 then return end local name = guiGridListGetItemText(playerList, row, col) local target = getPlayerFromName(name) if target then triggerServerEvent("switchPlayerToGroup", getLocalPlayer(), target, "USS") end end function onSuperModeratorButtonClick() local row, col = guiGridListGetSelectedItem(playerList) if row == -1 or col == -1 then return end local name = guiGridListGetItemText(playerList, row, col) local target = getPlayerFromName(name) if target then triggerServerEvent("switchPlayerToGroup", getLocalPlayer(), target, "SuperModerator") end end addEventHandler("onClientResourceStart",resourceRoot, function() GUIEditor_Grid = {} Window1 = guiCreateWindow(207,287,400,300,"Sistema de Clanes USS",false) Moderator = guiCreateButton(18,32,83,37,"Add/remove",false,Window1) guiSetFont(Moderator,"default-bold-small") addEventHandler("onClientGUIClick", Moderator, onModeratorButtonClick, true ) --SuperModerator = guiCreateButton(18,94,86,40,"S.Moderador",false,Window1) guiSetFont(SuperModerator,"default-bold-small") addEventHandler("onClientGUIClick", SuperModerator, onSuperModeratorButtonClick, true ) playerList = guiCreateGridList ( 112, 35, 290, 200, false,Window1 ) local column = guiGridListAddColumn( playerList, "Jugadores", 0.9 ) for id, player in ipairs(getElementsByType("player")) do local row = guiGridListAddRow ( playerList ) guiGridListSetItemText ( playerList, row, column, unfuck(getPlayerName(player)), false, false ) guiGridListSetItemColor ( playerList, row, column, 35, 107, 142, 255 ) end guiCreateStaticImage( 15,175, 100, 100, "data/logo.png", false,Window1 ) fechar = guiCreateButton(300,250,100,35,"Cerrar",false,Window1) guiSetVisible(Window1, false) addEventHandler("onClientGUIClick", fechar, function() guiSetVisible( Window1, false) showCursor( false) end, false ) end) addEvent("openWindow1",true) function openWindow1() guiSetVisible(Window1, true) showCursor(true) end addEventHandler("openWindow1", getRootElement(), openWindow1) function atualizarlista() guiGridListClear(playerList) for id, players in ipairs (getElementsByType("player")) do local row = guiGridListAddRow(playerList) guiGridListSetItemText(playerList, row, 1, unfuck(getPlayerName(players)), false, false) guiGridListSetItemColor ( playerList, row, 1, 0, 250, 154, 255 ) end end addEventHandler("onClientPlayerJoin", getRootElement(), atualizarlista) addEventHandler("onClientPlayerQuit", getRootElement(), atualizarlista) addEventHandler("onClientPlayerChangeNick", getRootElement(), atualizarlista)
creo que no tiene tanta importancia. es mas lo grafico o algo
--serverside
addEvent("switchPlayerToGroup",true) function switchPlayerToGroup(player, groupname) local account = getPlayerAccount(player) if ( not isGuestAccount ( account ) ) then local group = aclGetGroup ( groupname ) if ( group ) then local isInACLGroup = isObjectInACLGroup ( "user." .. getAccountName ( account ), group) if ( not isInACLGroup ) then aclGroupAddObject ( group, "user."..getAccountName ( account ) ) outputChatBox ( "* " .. getPlayerName(player) .. " fue agregado a USS " .. groupname .. ".", source, 0, 255 ,0 ) elseif ( isInACLGroup ) then aclGroupRemoveObject ( group, "user."..getAccountName ( account ) ) outputChatBox ( "* " .. getPlayerName(player) .. " fue removido de USS " .. groupname .. ".", source, 255, 255 ,0 ) end else outputChatBox ( "* " .. groupname .. " no existe.", source, 255, 0 ,0 ) end else outputChatBox ( "Jugador no esta registrado/logeado.", source, 255, 100 ,100 ) end end addEventHandler("switchPlayerToGroup", getRootElement(), switchPlayerToGroup) function showPanel(thePlayer) if ( hasObjectPermissionTo (thePlayer, "command.shutdown", true) ) then triggerClientEvent(thePlayer, "openWindow1", getRootElement()) else outputChatBox ("Acesso Negado", thePlayer, 193, 13, 13) end end addCommandHandler("usspanel", showPanel)
en breve resumen al parecer este es el codigo
function showPanel(thePlayer) if ( hasObjectPermissionTo (thePlayer, "command.shutdown", true) ) then triggerClientEvent(thePlayer, "openWindow1", getRootElement()) else outputChatBox ("Acesso Negado", thePlayer, 193, 13, 13) end end addCommandHandler("usspanel", showPanel)
espero que puedan ayudarme, cree este post aqui porque los buenos scripter que me han ayudado asta ahora hablan español
muchas gracias por su atencion
-
https://community.multitheftauto.com/index.php?p= ... ls&id=2730
chek that link..
just need replace the images if you want other kind of map
-
CLIENT.
addEvent("Zomb_STFU",true) addEventHandler("Zomb_STFU",root, function ( zomb ) triggerServerEvent ( "onZombieSpawned", zomb ) end)
SERVER:
local weaponsTable = {2, 3, 4, 5, 6, 7, 8, 9, 15 } addEvent("onZombieSpawned",true) addEventHandler("onZombieSpawned",root, function ( ) giveWeapon ( source, math.random(#weaponsTable), 1, true ) end)
nice better than random.. now i can choise the weapons thx solid
-
Nobody ever pays me in kisses... *points head down and cries*
kisses for you too :* haha
always someone have a first time
-
awwwwww you are the best.
kisses from valparaiso
thanks a loot man..
Replace of the sniper crosshair
in Scripting
Posted
inside from sniper.txd have the crosshair
there need change and replace texture from sniper
must be open with txd workshop
chek this
and sorry for my english
i hoope you can understand me