Jump to content

WASSIm.

Members
  • Posts

    1,412
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by WASSIm.

  1. tell me what your resolution !
  2. WASSIm.

    [Help]

    tell us what gamemode your server?
  3. WASSIm.

    spawn event

    hi guys, i have question, any event can chuck on ped or vehicle spawned ?
  4. he want get account from account name
  5. getPlayerTeam is return team element
  6. WASSIm.

    [Fixed][Ty]

    debug don't show anything ?
  7. WASSIm.

    [Fixed][Ty]

    put your function command "afk"
  8. WASSIm.

    AFK list

    You're Welcome
  9. WASSIm.

    AFK list

    EDIT try this function afkList (player) local afkplayers = { } for i,thePlayer in ipairs(getElementsByType("player")) do if (getElementData(thePlayer, "AFK")) then table.insert(afkplayers, thePlayer) end end if (#afkplayers > 0) then outputChatBox("List of AFK Players:", player, 50, 255, 50, true) outputChatBox("---------------------",player, 50,255, 50, true) for i,thePlayer in ipairs(afkplayers) do local name = getPlayerName(thePlayer) outputChatBox("*"..name, thePlayer, 55, 255,55, true) end outputChatBox("---------------------",player, 50,255, 50, true) else outputChatBox("There's no Players AFK", player, 55, 255,55, true) end end addCommandHandler("afklist", afkList)
  10. WASSIm.

    AFK list

    try this function afkList (player) local afkplayers = { } for i,thePlayer in ipairs(getElementsByType("player")) do if (getElementData(thePlayer, "AFK") > 0) then table.insert(afkplayers, thePlayer) end end if (#afkplayers > 0) then outputChatBox("List of AFK Players:", player, 50, 255, 50, true) outputChatBox("---------------------",player, 50,255, 50, true) for i,thePlayer in ipairs(afkplayers) do local name = getPlayerName(thePlayer) outputChatBox("*"..name, thePlayer, 55, 255,55, true) end outputChatBox("---------------------",player, 50,255, 50, true) else outputChatBox("There's no Players AFK", player, 55, 255,55, true) end end addCommandHandler("afklist", afkList)
  11. we don't know what gang system you're using
  12. remove "end" on line 16
  13. read this: https://wiki.multitheftauto.com/wiki/Meta.xml
  14. check this: viewtopic.php?f=91&t=48128&p=475863&hilit=Dx+Edit+Box#p475963
  15. you can create weapon with same command but problem if player joined server after create weapon will don't see him --> Client local weapons = { } function turret(thePlayer) if not (weapon[thePlayer]) then local x, y, z = getElementPosition(thePlayer) weapon[thePlayer] = createWeapon("m4", x, y, z) setWeaponState(weapon[thePlayer],"firing") attachElements(weapon[thePlayer], thePlayer, 0, 0, 1.5) else destroyElement (weapon[thePlayer]) weapon[thePlayer] = nil end end addEvent("turret", true) addEventHandler("turret", root, turret) --> Server function turret(thePlayer) triggerClientEvent(root, "turret", thePlayer) end addCommandHandler("turret", turret)
  16. ok thanks guys anyway i do what show me novo
  17. thank i was make like this, but why its show random keys ?
  18. this user upload stolen/same on community resources https://community.multitheftauto.com/ind ... &id=370174 DONE
  19. if use pairs its show me random. this what show me on chat
  20. hi guys i have problem if use pairs its working but if use ipairs don't working on loop premissons = { ["Founder"] = { ["info"] = true, ["mote"] = true, ["kick"] = true, ["warn"] = true, ["withdraw"] = true, ["deposit"] = true, ["color"] = true, ["logs"] = true, ["invite"] = true }, ["Leader"] = { ["info"] = true, ["mote"] = true, ["kick"] = true, ["warn"] = true, ["withdraw"] = false, ["deposit"] = true, ["color"] = true, ["logs"] = true, ["invite"] = true }, ["Senior"] = { ["info"] = false, ["mote"] = true, ["kick"] = true, ["warn"] = true, ["withdraw"] = false, ["deposit"] = true, ["color"] = false, ["logs"] = false, ["invite"] = true }, ["Regular"] = { ["info"] = false, ["mote"] = false, ["kick"] = false, ["warn"] = false, ["withdraw"] = false, ["deposit"] = true, ["color"] = false, ["logs"] = false, ["invite"] = false }, ["New"] = { ["info"] = false, ["mote"] = false, ["kick"] = false, ["warn"] = false, ["withdraw"] = false, ["deposit"] = true, ["color"] = false, ["logs"] = false, ["invite"] = false }, ["Trial"] = { ["info"] = false, ["mote"] = false, ["kick"] = false, ["warn"] = false, ["withdraw"] = false, ["deposit"] = true, ["color"] = false, ["logs"] = false, ["invite"] = false } } for rank, premisson in ipairs(premissons) do outputChatBox(rank) outputChatBox("aaa") end
  21. nice bump dude, you'r scripter you can edit it and removed it
  22. we don't help about leaked scripts
×
×
  • Create New...