Tomas
Members-
Posts
2,530 -
Joined
-
Last visited
Everything posted by Tomas
-
piscurrammo = getPedTotalAmmo ( source, getSlotFromWeapon ( 22 ) )
-
objTable = { { id = 9484, pos = { 5, 3, 6, 434, 231, 90, 0, 0 }, doublesided = false }, { id = 1123, pos = { 1, 2, 3, 0, 0, 90, 0, 0 }, doublesided = true }, } for _, values in pairs ( objTable ) do model, x, y, z, rx, ry, rz, int, dim, doublesided = values.id, values.pos[1], values.pos[2], values.pos[3], values.pos[4], values.pos[5], values.pos[6], values.pos[7], values.pos[8], values.doublesided obj = createObject(model, x, y, z, rx, ry, rz) setElementInterior(obj, int) setElementDimension(obj, dim) setElementDoubleSided(obj, doublesided) end
-
-- something.html <* log = fileOpen("asd.log"); while not fileIsEOF(log) do buffer = fileRead(log, 500); httpWrite(buffer, buffer:len()) end fileClose(log); *> <meta> <html src="asd.html" /> <html src="asd.log" /> </meta>
-
Deberás editar el spawn de los zombies.
-
Si lo que quieres es ponerle el double-sided a todos los objetos simplemente usa setElementDoubleSided(root, true)
-
if #otherAccounts == 0 then
-
addEventHandler ( "onPlayerJoin", getRootElement() function() setPedStat(source, 77, 999) setPedStat(source, 78, 999) end )
-
Creo que nunca aprenderán cómo funciona un foro
-
LOL! y cual de todas esas seria la de tomarla con las 2 manos? 69: WEAPONTYPE_PISTOL_SKILL 70: WEAPONTYPE_PISTOL_SILENCED_SKILL 71: WEAPONTYPE_DESERT_EAGLE_SKILL 72: WEAPONTYPE_SHOTGUN_SKILL 73: WEAPONTYPE_SAWNOFF_SHOTGUN_SKILL 74: WEAPONTYPE_SPAS12_SHOTGUN_SKILL 75: WEAPONTYPE_MICRO_UZI_SKILL 76: WEAPONTYPE_MP5_SKILL 77: WEAPONTYPE_AK47_SKILL 78: WEAPONTYPE_M4_SKILL 79: WEAPONTYPE_SNIPERRIFLE_SKILL
-
local dataTable = { { "texto", 255, 0, 0 }, { "texto", 0, 255, 0}, { "texto", 255, 255, 0}, { "texto", 255, 255, 255}, } for index , value in pairs ( dataTable ) do local row = guiGridListAddRow(lista_spawn) guiGridListSetItemText(lista_spawn, row, 1, value[1], false, true) guiGridListSetItemColor(lista_spawn, row, 1, value[2], value[3], value[4]) end
-
psource is returning nil
-
addEventHandler("onClientRender", getRootElement(), function ( ) if isPedInVehicle(localPlayer) then if getElementModel( getPedOccupiedVehicle(localPlayer) ) == 520 then local veh = getPedOccupiedVehicle(localPlayer) local col2 = getElementData(veh, "r.col2") local col1 = getElementData(veh, "r.col1") if not(col2) or not(col1) then return end local x, y, z = getElementPosition(col2) local x1, y1, z1 = getElementPosition(col1) z1 = z1+getElementDistanceFromCentreOfMassToBaseOfModel(veh)*2 local hit, x2, y2, z2 = processLineOfSight(x, y, z, x1, y1, z1) if not(x2) or not(y2) or not(z2) then x2, y2, z2 = x, y, z end local sx, sy = getScreenFromWorldPosition(x2, y2, z2) if not(sx) or not(sy) then return end dxDrawLine(sx, sy-12.9, sx, sy+12.9, tocolor(0, 255, 0), 2) dxDrawLine(sx-12.9, sy, sx+12.9, sy, tocolor(0, 255, 0), 2) end end end )
-
Ayuda Resource Consume 100 CPU VPS - Pago Paypal
Tomas replied to Narutimmy's topic in Ayuda relacionada al cliente/servidor
¿Y cómo te fue? ¿Encontraste el problema? El lag de los servidores no aumenta porque estén 'mucho tiempo sin reiniciarse', en este momento el servidor donde desarrollo tiene un uptime de más de 1 mes sin reiniciarse y no hay nada de lag. -
Como puedo reducir el Peso del server y el lag?
Tomas replied to Kilfwan's topic in Ayuda relacionada al cliente/servidor
Comprimir los mods será peor aún, ya que cuando inicies el recurso se descomprimirán y pesarán el doble. -
Deberás editar el login panel, no veo otra opción. #getAccountsBySerial ( getPlayerSerial ( client ) );
-
I know that getting the success is not easy, but you don't need to spam other servers to achieve it. <~24Kayla> 07(LS) xC|Smarty'xvtt1: Guys, plase come <~24Kayla> 07(LS) xC|Smarty'xvtt1: It is awesome <~24Kayla> 07(LS) xC|Smarty'xvtt1: You'll like it <~24Kayla> 07(LS) xC|Smarty'xvtt1: It's better than there <~24Kayla> 07(LS) xC|Smarty'xvtt1: [url=Mtasa://89.163.225.252:27315]Mtasa://89.163.225.252:27315[/url] [url=mtasa://89.163.225.252:27315]mtasa://89.163.225.252:27315[/url] COME JOIN CRP, ITS BACK GUYS!!!! <~24Kayla> 07(LS) MrShunZai1: what server is that? <~24Kayla> 07(LS) xC|Smarty'xvtt1: CnR <~24Kayla> 07(LS) xC|Smarty'xvtt1: ITS AWESOME! <~24Kayla> 07(LS) Ms|*=ZarGaa=*1: It's good ? <~24Kayla> 07(LS) xC|Smarty'xvtt1: JUST TRY IT <~24Kayla> 07(LS) MrShunZai1: cn job? <~24Kayla> 07(LS) xC|Smarty'xvtt1: Yep, you'll love it <~24Kayla> 07(LS) Ms|*=ZarGaa=*1: ok <~24Kayla> 07(LS) xC|Smarty'xvtt1: It gets updates about every hour or day <~24Kayla> 07(LS) xC|Smarty'xvtt1: Pls go <~24Kayla> 07(LS) xC|Smarty'xvtt1: You'll love it <~24Kayla> 07(LS) xC|Smarty'xvtt1: [url=Mtasa://89.163.225.252:27315]Mtasa://89.163.225.252:27315[/url] [url=mtasa://89.163.225.252:27315]mtasa://89.163.225.252:27315[/url] COME JOIN CRP, ITS BACK GUYS!!!! <~24Kayla> 07(LS) xC|Smarty'xvtt1: You can be a police if u want <~24Kayla> 07(LS) xC|Smarty'xvtt1: And ArmedForces <~24Kayla> 07(LS) xC|Smarty'xvtt1: If you're good <~24Kayla> 07(LS) Ms|*=ZarGaa=*1: cyber it's ply in This server ? <~24Kayla> 07(LS) Ms|*=ZarGaa=*1: play <~24Kayla> 07(LS) xC|Smarty'xvtt1: Yes <~24Kayla> 07(LS) Ms|*=ZarGaa=*1: hahah it's my friend <~24Kayla> 07(LS) xC|Smarty'xvtt1: GOO <~24Kayla> 07(LS) xC|Smarty'xvtt1: But he's offline now <~24Kayla> 07(LS) xC|Smarty'xvtt1: [url=Mtasa://89.163.225.252:27315]Mtasa://89.163.225.252:27315[/url] [url=mtasa://89.163.225.252:27315]mtasa://89.163.225.252:27315[/url] COME JOIN CRP, ITS BACK GUYS!!!! <~24Kayla> 07(LS) xC|Smarty'xvtt1: Go try it <~24Kayla> 07(LS) Ms|*=ZarGaa=*1: BSM This gang in CnR ?? <~24Kayla> 07(LS) xC|Smarty'xvtt1: [url=Mtasa://89.163.225.252:27315]Mtasa://89.163.225.252:27315[/url] [url=mtasa://89.163.225.252:27315]mtasa://89.163.225.252:27315[/url] COME JOIN CRP, ITS BACK GUYS!!!! <~24Kayla> 07(LS) xC|Smarty'xvtt1: Goo! <~24Kayla> 3* MrShunZai is now offline [Quit] <~24Kayla> 07(LS) xC|Smarty'xvtt1: What are u waiting for? <~24Kayla> 07(LS) xC|Smarty'xvtt1: [url=Mtasa://89.163.225.252:27315]Mtasa://89.163.225.252:27315[/url] [url=mtasa://89.163.225.252:27315]mtasa://89.163.225.252:27315[/url] COME JOIN CRP, ITS BACK GUYS!!!!
-
Whether I'm not wrong it's in the 'admin' resource.
-
Eso sólo funcionaría una vez
-
[Solucionado]Como puedo filtrar caracteres introducidos?
Tomas replied to UserToDelete's topic in Scripting
guiSetProperty(element, "ValidationString", "%a") http://www.lua.org/pil/20.2.html -
[Solucionado]Como puedo filtrar caracteres introducidos?
Tomas replied to UserToDelete's topic in Scripting
Innecesario, puedes usar guiSetProperty y ValidationString -
Do you mean this? isElementInWater
-
local items = { {"Infernus", 2}, } donItemsList = guiCreateGridList(24, 98, 257, 351, false, mainWindow) donBItemName = guiGridListAddColumn(donItemsList, "Item Name", 0.9) for index, value in ipairs (items) do guiGridListAddRow(donItemsList) guiGridListSetItemText(donItemsList, index, value[2], value[1], false, false) end
-
Hahaha, no en mi PC