Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 13/07/20 in all areas

  1. Hi everyone! I want to offer for sale a Advanced Medical System that can be the perfect DLC for your Roleplay server. Basic Informations - Includes the Hospital Interior. - Patient and Vehicle Panel with several options. - With <36 health, the Player get a Hurt Walkstyle and needs to go to the Hospital and look for a Medic to heal him. (Or set the Player HP to > 36) - With < 30 health, the Player get unconscious for 10 minutes, needing to call the ambulance with the '/medic' command. - Release the Stretcher on ground with '/release' command. - Pickup the stretcher with '/pickup' command. - To be able to revive the patient at the accident site, you will need to use the Defibrillator. You will have 5 chances to try to revive the patient. If not, the patient will die. - After placing the Patient in the ambulance and taking him to the hospital, you will take him to the ICU (Intensive Care Unit) room to have surgery. - After completing the surgery on the patient, you will be taken to the recovery room for final treatment and then released. - After the Patient has recovered, he will be given a wheelchair, in which he will stay for 2 minutes, not being able to jump and hit while in the chair. - '/debug id' command for Admin ACL to reset System variables for a doctor. - Command '/heal id' for Admin, SuperModerator or Moderator ACL for a fast player heal. - Debugscript CLEAR without Errors or Warnings (The vehicle skin is not included) These images are from the BETA version and may not represent the final version of the product. Requirements ID System (Included on the resource package) The resource is compiled Buy it The first 3 persons who use the Promotion Code NSCR will have 10% discount Payment with Paypal Buy it fast and safe here: https://payhip.com/b/vcW7 Contact Facebook: facebook.com/NickScripterMTA E-MAIL: [email protected]
    2 points
  2. Flawless system congratulations, great functions
    1 point
  3. 1 point
  4. Isso ocorre pois você precisa criar uma tabela para a tabela que indexa o jogador também. Dessa forma: local players = {} function startWork (source) print(getPlayerName(source)) -- Retorna o nick ou seja o source existe if not players[source] then players[source] = {} players[source]["rubble"] = 0 players[source]["rubbleRemoved"] = false players[source]["atWork"] = false end end Offtopic: percebo que você costuma não utilizar variáveis locais, o que deixa a desejar em questão de otimização (não é tanta diferença, mas boas práticas de programação devem estar em todos os códigos ?). No topo do seu código, defina todas as tabelas e variáveis como local. Ao decorrer do código, você poderá usar sem o local, pois uma vez definida dessa forma, sempre será local. Isso vale também para funções, laços de repetições e afins, sempre considere usar local para definir uma variável ou tabela dentro do escopo seja de função ou laço de repetição.
    1 point
  5. شغال بس نسيت اضيف else المهم جرب local Team = { ['police'] = true, ['police2'] = true, ['police3'] = true, --['police4'] = true, } function MarkerHit ( hitPlayer, matchingDimension ) if hitPlayer == localPlayer then local team = getPlayerTeam(hitPlayer) if team and Team[getTeamName(team)] then setElementHealth(hitPlayer,0) return outputChatBox( 'ممنوع دخول الشرطه' ,255,255,0) end if team and getTeamName(team) == 'No Team' then guiSetVisible (Farms.window[1],true) showCursor (true) return outputChatBox( 'مرحبا بك' ,0,255,0) end outputChatBox( 'يجب ان تكون من فريق No Team',255,0,0) end end addEventHandler ( "onClientMarkerHit",getJob, MarkerHit )
    1 point
  6. Parabéns por encontrar o erro sozinho. Sobre a deleção de tópicos, infelizmente não é possível realizar essa ação com uma conta normal, ou seja, apenas administradores podem. (geralmente eles não deletam, precisa ter um motivo claro)
    1 point
  7. Hi! I want to sell my container crane job. You can work with a DFT-30. Your job is picking up containers from pick up point and put down in the marked area. Contains: (script files) If you want to buy this script(s), please PM me or send an email: [email protected] or use this link: BUY HERE Share this resource on Facebook to get a 10% discount. Other scripts HERE Use autumn coupon code to get 25% off! Coupon will expire at 30/10/2020 Thanks for reading!
    1 point
  8. Hi! I want to sell my hotdog seller job Contains: Images Sounds Infobox script VIDEO: Use autumn coupon code to get 50% off! Coupon will expire at 30/10/2020 If you want to buy this script, please PM me or email: [email protected] or use this link: BUY HERE Other scripts HERE
    1 point
  9. Hi! I want to sell my drone system Contains: Model Images VIDEO: Use autumn coupon code to get 25% off! Coupon will expire at 30/10/2020 If you want to buy this script, please PM me or email: [email protected] or use this link: BUY HERE Other scripts HERE
    1 point
  10. addEventHandler("onPlayerChangeNick", root, function(_, new) if string.find(new, "#%x%x%x%x%x%x") then -- Checa se contém código de cor cancelEvent() -- Cancela a alteração do nickname outputChatBox("* Não é permitido o uso de código de cor no nickname.", source, 255, 0, 0) end end)
    1 point
  11. there was no bases on the first dayz servers . you just hide your loot on tents in the world . bases ruined the game for me
    1 point
×
×
  • Create New...