Plate
Members-
Posts
938 -
Joined
-
Last visited
Everything posted by Plate
-
Pusistes local pMoney = getPlayerMoney(source) if pMoney >= elprecio then
-
Podes modificar los "chatbox_ads" https://community.multitheftauto.com/index.php?p=resources&s=details&id=186
-
ya lo arregle gracias man jaja pero el tema es que dispara 1 sola vez y que el misil no explota
-
No da error pero tampoco se crea el projectil
-
Hola tengo un problema con este script que me da error en el "createProjectile" y getElementPosition Client: function rocket(boss) x, y, z = getElementPosition(boss) if not (createProjectile(boss, 19, x, y, z, 100, player)) then end end addEvent("onBOSSFire", true) addEventHandler("onBOSSFire", getRootElement(), rocket) Server: function spawnboss() boss = exports.zombies:createZombie(241.96803283691, 1393.2790527344, 10.5859375, 90, math.random(300, 304), 0, 0, 200, 10000, true) giveWeapon(boss, 36, 300) triggerClientEvent("onBOSSFire", boss) end addCommandHandler("b", spawnboss)
-
el bindkey lo tenes que poner dentro del script del marker creo
-
https://community.multitheftauto.com/index.php?p=resources&s=details&id=6725 https://community.multitheftauto.com/index.php?p=resources&s=details&id=6724 https://community.multitheftauto.com/index.php?p=resources&s=details&id=6726 DONE
-
Hola bueno quise intentar usar el guiGetScreenSize por primera vez (nunca lo use) y no aparece el texto el codigo sin screen: dxDrawText(tostring(theExp),910.0,173.0,961.0,189.0,tocolor(255,255,255,255),1.0,"default-bold","left","top",false,false,false) dxDrawText(tostring(theLevel),797.0,170.0,848.0,186.0,tocolor(255,255,255,255),1.0,"default-bold","left","top",false,false,false) el codigo con size local sWidth, sHeight = guiGetScreenSize() dxDrawText(tostring(theExp),sWidth*888,sHeight*288,sWidth*938,sHeight*315,tocolor(255,255,255,255),1.0,"default-bold","left","top",false,false,false) dxDrawText(tostring(theLevel),sWidth*778,sHeight*283,sWidth*828,sHeight*31,tocolor(255,255,255,255),1.0,"default-bold","left","top",false,false,false) Lo hize con la resolucion 1024x600x16
-
Marker = createMarker ( 1294.7626953125, -1379.625, 13.486034584045, "corona",1.5,90,253,70,163) function comprar (thePlayer) outputChatBox ("Preciona Z para comprar Armor!", getRootElement(), 8, 224, 13 ) bindKety("z", "down", funcion) -- donde dice "funcion" va la funcion que quieras que ocurra cuando el jugador toque z end addEventHandler ( "onMarkerHit", Marker, money )
-
bindKey onMarkerHit createMarker outputChatBox
-
https://community.multitheftauto.com/index.php?p=resources&s=details&id=6706 original https://community.multitheftauto.com/index.php?p=resources&s=details&id=2801 DONE
-
Mostra el script o Proba en la scoreboard agrega esto y mata zombies exports.scoreboard:addScoreColumn("Exp") -- "Exp" creo que es no solid? Fijate si te sube la exp de esa score column
-
Te falto la ammo despues del tonumber(weapon)
-
for i, v in ipairs(getElementsByType("player")) do
-
Nop dijo un for-loop
-
giveWeapon (getRootElement(),weapon) dijo que uses un for-loop de getElementsByType
-
giveWeapon getPlayerFromName --Para eso de /dararma julian mp5
-
esta mal triggerServerEvent("iniciar", localPlayer, elPlayer)
-
el "openWindow" lo puse para dar ejemplo nose como se llamara el trigger para abrir la ventana(si es que tiene)
-
isObjectInACLGroup es serverside solamente function (thePlayer) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then triggerClientEvent(thePlayer, "openWindow", thePlayer)
-
isObjectInACLGroup
-
function getTheData() if getElementData(localPlayer, "Sniper Rifle") then local row1 = guiGridListAddRow(itemGrid) guiGridListSetItemText(itemGrid, row1, 1, "Sniper Rifle", false, false) elseif getElementData(localPlayer, "M4") then local row2 = guiGridListAddRow(itemGrid) guiGridListSetItemText(itemGrid, row2, 1, "M4", false, false) elseif getElementData(localPlayer, "MP5") then local row3 = guiGridListAddRow(itemGrid) guiGridListSetItemText(itemGrid, row3, 1, "MP5", false, false) elseif getElementData(localPlayer, "Rocket Launcher") then local row4 = guiGridListAddRow(itemGrid) guiGridListSetItemText(itemGrid, row4, 1, "Rocket Launcher", false, false) end end
