Jump to content

FraN-724

Members
  • Posts

    438
  • Joined

  • Last visited

Everything posted by FraN-724

  1. Es un panel que puede dar permisos para asignar smod, mod, adm. Pero tú lo puedes modificar poniendo las acl del clan asignado ejemplo LMDM, y lo puedes reclutar como también expulsar. Aquí te dejo el link de descarga https://community.multitheftauto.com/index.php?p=resources&s=details&id=3878
  2. Podrías usar el gpp ó crear un Autoteam.
  3. Intenta cambiándole el nombre, aveces eso funciona o revisa el meta
  4. Ok, ayudalo tú, ya que no puedo yo, no estoy en mi casa y no sé si esta bien o mal el script.
  5. Es que no lo estoy testeando, ya que no estoy en mi casa. local time = 3 --In seconds, time, when player is frozen function onParalyzed() local team = getPlayerTeam(player) if (team and getTeamName(team) == "Policia") then setPedFrozen (player, true ) setPedAnimation(player, "ped", "FLOOR_hit_f") setTimer(setPedFrozen, time * 1000, 1, player, false) setTimer(setPedAnimation, time * 1000, 1, player) end end addEvent("onParalyze", true) addEventHandler("onParalyze", getRootElement(), onParalyzed)
  6. Intenta así server local time = 3 --In seconds, time, when player is frozen function onParalyzed() local team = getPlayerTeam() if (team and getTeamName(team) == "Policia") then setPedFrozen ( source, true ) setPedAnimation( source, "ped", "FLOOR_hit_f") setTimer(setPedFrozen, time * 1000, 1, source, false) setTimer(setPedAnimation, time * 1000, 1, source) end end addEvent("onParalyze", true) addEventHandler("onParalyze", getRootElement(), onParalyzed)
  7. Utiliza. getPlayerTeam getTeamName
  8. Sí, pero piensa, si él no sabe mucho sobre el tema la hubiese puesto así y le hubiera dado un error grande
  9. En este tutorial muestra lo mismo que estas haciendo tu, quizás te ayude en algo.
  10. Para que no te desaparezcan tienes que ir nuevamente al editor y crear la pickups pero ahora donde dice respawn pones 0.
  11. En archivo .lua o si te refieres al directorio: C:\Program Files\MTA San Andreas 1.3\server\mods\deathmatch\resources.
  12. Corrijo tu error Yakuza function showMoney( thePlayer ) outputChatBox("Tienes $" .. exports.global:formatMoney( exports.global:getMoney( thePlayer ) ).. 'para gastar', thePlayer) end addCommandHandler("dinero", showMoney, false, false)
  13. FraN-724

    Script

    and so, remember no tested function antyRelogWindow = guiCreateWindow(0.35, 0.03, 0.30, 0.10, "Powiadomienie", true) guiWindowSetMovable(antyRelogWindow, false) guiWindowSetSizable(antyRelogWindow, false) text1AR = guiCreateLabel(0.08, 0.29, 0.87, 0.17, "UWAGA! Doznales obrazen, przez co nie mozesz opuscic serwera, dopóki to", true, antyRelogWindow) text2AR = guiCreateLabel(0.07, 0.57, 0.93, 0.20, "okienko nie zniknie! W przeciwnym razie, twoja postac zostanie usmiercona", true, antyRelogWindow) setTimer (antyRelogWindow, 10000, 1) guiSetVisible (antyRelogWindow,false) end function wlaczOkienko() guiSetVisible (antyRelogWindow,true) end addEvent("wlaczInfo",true) addEventHandler ("wlaczInfo", getRootElement(), wlaczOkienko) function wylaczOkienko() guiSetVisible (antyRelogWindow,false) end addEvent("wylaczInfo",true) addEventHandler ("wylaczInfo", getRootElement(), wylaczOkienko)
  14. FraN-724

    Script

    Try now. function antyRelogWindow = guiCreateWindow(0.35, 0.03, 0.30, 0.10, "Powiadomienie", true) guiWindowSetMovable(antyRelogWindow, false) guiWindowSetSizable(antyRelogWindow, false) text1AR = guiCreateLabel(0.08, 0.29, 0.87, 0.17, "UWAGA! Doznałeś obrażeń, przez co nie możesz opuścić serwera, dopóki to", true, antyRelogWindow) text2AR = guiCreateLabel(0.07, 0.57, 0.93, 0.20, "okienko nie zniknie! W przeciwnym razie, twoja postać zostanie uśmiercona", true, antyRelogWindow) guiSetVisible (antyRelogWindow,false) end function wlaczOkienko() guiSetVisible (antyRelogWindow,true) end addEvent("wlaczInfo",true) addEventHandler ("wlaczInfo", getRootElement(), wlaczOkienko) function wylaczOkienko() setTimer (antyRelogWindow, 10000, 1) guiSetVisible (antyRelogWindow,false) end addEvent("wylaczInfo",true) addEventHandler ("wylaczInfo", getRootElement(), wylaczOkienko)
×
×
  • Create New...