-
Posts
54 -
Joined
-
Days Won
2
WWW last won the day on March 6 2024
WWW had the most liked content!
Details
-
Occupation
nrpwww.github.io
Recent Profile Visitors
5,032 profile views
WWW's Achievements

Snitch (10/54)
7
Reputation
-
I have one archived version: https://nrpwww.github.io/static/docs/4553729413.rar I use a Python script to archive on computer.
-
I used to have the same problem is caused by Steam 3.0 version. Some archives were removed on Steam 3.0 version. GTA 1.0 doesn't have problems as I remember. https://gtamods.com/wiki/San_Andreas_Versions
-
WWW changed their profile photo
-
Coloca uma permissão de ACL. general.tab_options
-
local spawn = createMarker(0, 0, 0, "cylinder", 1, 255, 255, 255, 255) addEventHandler("onMarkerHit", spawn, function(element) if getElementType(element) == "player" then if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(element)), aclGetGroup("SAMU")) then setElementModel(element, 274) end end end) addEventHandler("onMarkerHit", spawn, function(element) if getElementType(element) == "player" then if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(element)), aclGetGroup("PM")) then setElementModel(element, 280) end end end)
-
Coloque o código abaixo em servidor: local spawn = createMarker(0, 0, 0, "cylinder", 1, 255, 255, 255, 255) addEventHandler("onMarkerHit", spawn, function(element) if getElementType(element) == "player" then if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(element)), aclGetGroup("SAMU")) then if getPedOccupiedVehicle(element) == false then local x, y, z = getElementPosition(element) local v = createVehicle(551, x, y, z) warpPedIntoVehicle(element, v) end end end end) addEventHandler("onMarkerHit", spawn, function(element) if getElementType(element) == "player" then if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(element)), aclGetGroup("PM")) then if getPedOccupiedVehicle(element) == false then local x, y, z = getElementPosition(element) local v = createVehicle(551, x, y, z) warpPedIntoVehicle(element, v) end end end end)
-
You should use client instead of source in the addEventHandler.
-
Cliente: addEventHandler("onClientPlayerDamage", root, function() if bodypart == 9 then setElementHealth(source, getElementHealth(source) - 30) end end Meta: <meta> <script src="client.lua" type="client" /> </meta>
-
addEventHandler("onClientPlayerDamage", root, function(attacker, damage_causing, bodypart, loss) if bodypart == 9 then cancelEvent() setElementHealth(source, getElementHealth(source) - 30) end end
-
Client: addEventHandler("onClientChatMessage", root, function() if getElementData(source, "chat") == "local" then if source ~= getLocalPlayer() then cancelEvent() end end end) Server: setElementData(player, "chat", "local") setElementData(player, "chat", "everyone")
-
You have to select the message, then cancel the event.
-
We have this event on client. https://wiki.multitheftauto.com/wiki/OnClientChatMessage
-
You should reinstall the server, I use this link below. https://nightly.multitheftauto.com/mtasa_x64-1.6-rc-22410-20240301.exe
-
say Como remover o Chat Nativo do MTA para usar um chat local
WWW replied to leaodon's topic in Programação em Lua
Uma solução é desativar o console. addEventHandler("onClientKey", root, function(button, pressOrRelease) if button == "F8" then cancelEvent() end end -
say Como remover o Chat Nativo do MTA para usar um chat local
WWW replied to leaodon's topic in Programação em Lua
Conforme comentado no tópico abaixo, não tem como desativar um comando do cliente. https://forum.multitheftauto.com/topic/73065-question/ -
Add a larger column to the database: VARCHAR(64)
- 15 replies
-
- 1
-