Jump to content

Xperia

Members
  • Posts

    297
  • Joined

  • Last visited

Everything posted by Xperia

  1. Xperia

    crear spawn

    Dime lo que te sale en el debug.
  2. Xperia

    crear spawn

    No claro que no me molesta, si esta ahi es para compartirlo con los demas.
  3. Xperia

    crear spawn

    Porque no usaste: spawnPlayer PD: Y si no me equivoco, lo copiaste de mi reciente post.
  4. Con el comando lo incia pero si lo vuelves a poner no lo quita.
  5. Xperia

    weather

    setSkyGradient( 255, 0, 0, 255, 0, 255)
  6. Si no me equivoco, eso solo lo inicia, pero no lo quita.Creo que es mejor ponerle un evento.
  7. Xperia

    crear spawn

    ¿Has creado "ventana"?
  8. Inicia el recurso del extra-health y despues el slothbot y despues el que hiciste tu.
  9. Xperia

    Error con team

    Exacto. PD: Luego lo testeo.
  10. Xperia

    crear spawn

    Client: --Para escoger grupos y skins y armas o lo que quieras guiGridListGetSelectedItem guiGridListGetItemText --ID's, ammo, etc. triggerServerEvent --Poner la camara al player cuando spawnee setCameraTarget fadeCamera Server: createTeam getTeamFromName setPlayerTeam PD: No se si las puse todas pero si tienes dudas o algo me avisas, porque hace poco hice mi propio spawn.
  11. Pues tengo eso, el team creado en server-side, y al pasar por la linea aunque seas Army, pues mueres: function laser(thePlayer) dxDrawLine3D ( 226.80000305176, 1874, 13.39999961853, 226.80000305176, 1870.8000488281, 13.39999961853, tocolor(250,0,0,150) ) detector = processLineOfSight( 226.80000305176, 1874, 13.39999961853, 226.80000305176, 1870.8000488281, 13.39999961853, false, false, true) if getPlayerTeam(thePlayer)~=getTeamFromName("Army") then if detector then createExplosion( 226.80000305176, 1874, 13.39999961853, 6 ) end end end addEventHandler("onClientRender",getRootElement(),laser)
  12. Mientras abres el tab pulsa F7.
  13. En settings pon: Restore Defaults
  14. De nada, espero que te sirva.
  15. Archivo "dxscoreboard_client.lua" y "dxscoreboard_clientsettings.lua".
  16. Te aconsejo que uses el dxscoreboard y lo decores a tu gusto, porque este esta compilado.
  17. Xperia

    Meca tío

    Debe estar descansando de la Pollen Week Party, jaja.
  18. Xperia

    Weapons ammo

    It's fixed, thanks all!
  19. Xperia

    Weapons ammo

    Don't work, only give me 30 bullets.
  20. Xperia

    Weapons ammo

    I have this, weapon for weapon, and the problem it's that when i spawn, only i have one charger, who can i fix it? local ammo = { [1] = {1}, [4] = {1}, [22] = {100}, [24] = {100}, [27] = {60}, [30] = {150}, [31] = {150}, [34] = {50}, [17] = {5}, [44] = {1}, [29] = {300} } addEvent ( "onPlayerChooseWeapon" , true ) addEventHandler ( "onPlayerChooseWeapon" , root , function() local playerTeam = getPlayerTeam ( source ) if (playerTeam) then if ( getTeamName ( playerTeam ) == "Ruso") then giveWeapon(source,1,ammo[1],true) giveWeapon(source,4,ammo[2],true) giveWeapon(source,22,ammo[3],true) end if ( getTeamName ( playerTeam ) == "Soldado Ruso") then giveWeapon(source,24,ammo[4],true) giveWeapon(source,27,ammo[5],true) giveWeapon(source,30,ammo[6],true) giveWeapon(source,34,ammo[8],true) end if ( getTeamName ( playerTeam ) == "Escuadron Ruso") then giveWeapon(source,24,ammo[4],true) giveWeapon(source,27,ammo[5],true) giveWeapon(source,29,ammo[11],true) giveWeapon(source,30,ammo[6],true) giveWeapon(source,34,ammo[8],true) giveWeapon(source,17,ammo[9],true) giveWeapon(source,44,ammo[10],true) end if ( getTeamName ( playerTeam ) == "Ciudadano E.E.U.U") then giveWeapon(source,1,ammo[1],true) giveWeapon(source,4,ammo[2],true) giveWeapon(source,22,ammo[3],true) end if ( getTeamName ( playerTeam ) == "Ejercito E.E.U.U") then giveWeapon(source,24,ammo[4],true) giveWeapon(source,27,ammo[5],true) giveWeapon(source,30,ammo[6],true) giveWeapon(source,34,ammo[8],true) end if ( getTeamName ( playerTeam ) == "Escuadron E.E.U.U") then giveWeapon(source,24,ammo[4],true) giveWeapon(source,27,ammo[5],true) giveWeapon(source,29,ammo[11],true) giveWeapon(source,30,ammo[6],true) giveWeapon(source,34,ammo[8],true) giveWeapon(source,17,ammo[9],true) giveWeapon(source,44,ammo[10],true) end if ( getTeamName ( playerTeam ) == "Ciudadano Japones") then giveWeapon(source,1,ammo[1],true) giveWeapon(source,4,ammo[2],true) giveWeapon(source,22,ammo[3],true) end if ( getTeamName ( playerTeam ) == "Ejercito Japones") then giveWeapon(source,24,ammo[4],true) giveWeapon(source,27,ammo[5],true) giveWeapon(source,30,ammo[6],true) giveWeapon(source,34,ammo[8],true) end if ( getTeamName ( playerTeam ) == "Escuadron Japones") then giveWeapon(source,24,ammo[4],true) giveWeapon(source,27,ammo[5],true) giveWeapon(source,29,ammo[11],true) giveWeapon(source,30,ammo[6],true) giveWeapon(source,34,ammo[8],true) giveWeapon(source,17,ammo[9],true) giveWeapon(source,44,ammo[10],true) end end end )
  21. Prueba esto: function crearCuadrado() dxDrawRectangle(195.0,734.0,955.0,33.0,tocolor(0,0,0,150),false) end addEventHandler("onClientRender",root,crearCuadrado) function playerloc ( source ) local playername = getPlayerName(getLocalPlayer()) local location = getElementZoneName ( source ) outputChatBox ( "* " .. playername .. "'s Location: " .. location, getRootElement(), 0, 255, 255 ) end addCommandHandler ( "loc", playerloc )
  22. ¿Y estas seguro de que tu archivo de llama server?Si no es asi, cambialo, porque en el debugscript sale que se llama client.
  23. Pon el script en server, en el meta.
×
×
  • Create New...