Jump to content

Vic_RattleHead

Members
  • Posts

    63
  • Joined

  • Last visited

Everything posted by Vic_RattleHead

  1. Hello, I would like to know how to do it so that when a player enters your account appears in the chat that "gang" is depending on the clan in this example: Banking Balance: $ 1000 Your Currently gang: TPK login: You successfully logged in should be with [lua] (getElementData (source, "gang") == "TPK") [/ lua]? if they could help me I would be grateful: D
  2. Hola, quisiera saber como hago para que al momento de que un jugador se loguee aparezca en el chat de que "gang" es dependiendo del clan en que este ejemplo: Saldo Bancario: $ 1000 Your currently gang: TPK login: You successfully logged in debe ser con ( getElementData(source, "gang") == "TPK" ) ? si me pudieran ayudar estaría agradecido
  3. Claro yo entiendo perfectamente lo que sucede el problema es que no sé que podria usar para diferenciar "no eres parte de este grupo" en cada clan, tal vez poniendo el teamName o qué? gracias.
  4. si todo es con eso, pero no sé que debo usar para ese problema.
  5. Yeah, I know what the problem is, but I should use? I'm learning and I do not understand some things.thanks.
  6. oh si, de tantos clanes copie solo 1 , olvide copiar el evento de ese clan es: addEvent("onPlayerChooseTeam", true) addEventHandler("onPlayerChooseTeam", getRootElement(), spawnKEA)
  7. function spawnKEA( cityName, teamName, skinName ) if ( getElementData(source, "gang") == "KEA" ) and ( teamName == "KEA" and skinName == "KEA 1" ) then setPlayerTeam ( source, teamKEA) local x,y,z x = 731.79998779297 y = -1276.0999755859 z = 13.60000038147 spawnPlayer ( source, x,y,z ) outputChatBox("YOU HAVE JOINED TO: Kill 'Em All[KEA] CLAN!", source, 0, 255, 0) fadeCamera(source, true) giveWeapon ( source, 28, 2000 ) giveWeapon ( source, 31, 2000 ) giveWeapon ( source, 27, 2000 ) setElementHealth ( source, 100 ) setElementModel ( source,15 ) setPedArmor ( source, 0 ) else outputChatBox("You're not part of the clan KEA", thePlayer, 255, 0, 0) triggerClientEvent ( "onPlayerChooseTeam", getRootElement(), teamName ) end end
  8. function spawnKEA( cityName, teamName, skinName ) if ( getElementData(source, "gang") == "KEA" ) and ( teamName == "KEA" and skinName == "KEA 1" ) then setPlayerTeam ( source, teamKEA) local x,y,z x = 731.79998779297 y = -1276.0999755859 z = 13.60000038147 spawnPlayer ( source, x,y,z ) outputChatBox("YOU HAVE JOINED TO: Kill 'Em All[KEA] CLAN!", source, 0, 255, 0) fadeCamera(source, true) giveWeapon ( source, 28, 2000 ) giveWeapon ( source, 31, 2000 ) giveWeapon ( source, 27, 2000 ) setElementHealth ( source, 100 ) setElementModel ( source,15 ) setPedArmor ( source, 0 ) else outputChatBox("No eres parte del clan KEA", thePlayer, 255, 0, 0) triggerClientEvent ( "onPlayerChooseTeam", getRootElement(), teamName ) end end
  9. Hello i privatize some clans in my spawn, put a warning for those who are not part of Clan: outputChatBox ("You're not part of the clan KEA" theplayer, 255, 0, 0) Part of "KEA" is changed to the name of each clan. the problem is that the message of all clans example when I press the button "spawn" appears: You're not part of the clan KEA You're not part of the clan KEA You're part of iOS clan You're part of iOS clan You're part of iOS clan You're not part of the clan TPK You're not part of the clan TPK You're not part of the clan WZ You're not part of the clan ESP You're not part of the clan LC You're not part of the clan NOVA You're not part of the clan DF You're not part of the clan MK You're not part of the clan LN You're not part of the clan TKF You're not part of the clan PDT You're not part of the clan GOW You're not part of the clan DOF You're not part of the clan GpS You're not part of the clan Hunter You're not part of the clan HH You're Administrator. You're Moderator. and even if you are of the same clan when you appear out all that as an achievement to make that message only comes out depends on the clan bone KEA Clan: No clan are part of KEA and KEA only this message appears, and only those who are not clan
  10. Hola privatice unos clanes en mi spawn, puse un aviso para los que no son parte del clan: outputChatBox("No eres parte del clan KEA", thePlayer, 255, 0, 0) la parte de "KEA" la cambie por el nombre de cada clan. el problema es que cuando presiono el boton de "spawn" aparece el mensaje de todos los clanes ej: No eres parte del clan KEA No eres parte del clan KEA No eres parte del clan iOS No eres parte del clan iOS No eres parte del clan iOS No eres parte del clan TPK No eres parte del clan TPK No eres parte del clan WZ No eres parte del clan ESP No eres parte del clan LC No eres parte del clan NOVA No eres parte del clan DF No eres parte del clan MK No eres parte del clan LN No eres parte del clan TKF No eres parte del clan TFD No eres parte del clan GOW No eres parte del clan DOF No eres parte del clan GpS No eres parte del clan Hunter No eres parte del clan HH No eres Administrador. No eres Moderador. y aunque seas del clan igual cuando apareces sale todo eso como logro hacer que ese mensaje solo salga depende del clan osea clan KEA: No eres parte del clan KEA y solo aparezca este mensaje para KEA y solo a los que no son del clan
×
×
  • Create New...